Hi folks,
I’m using
result = subprocess.run(['curl','http://localhost:41184/notes?token='+token], capture_output=True, text=True)
and it doesn’t contain the note body. What am I missing?
Hi folks,
I’m using
result = subprocess.run(['curl','http://localhost:41184/notes?token='+token], capture_output=True, text=True)
and it doesn’t contain the note body. What am I missing?
Looks like I need to explicitly return it with fields
.
Yes, this is correct. This was changed half a year ago.
@ plaindocs yes, Laurent changed that to avoid to have an heavy payload.
On my side I dealed with that https://github.com/foxmask/joplin-api/blob/master/joplin_api/core.py#L126-L143 and https://github.com/foxmask/joplin-api/blob/master/joplin_api/core.py#L32-L35