Message6746
I think the last thing that needs to be added to the rest doc is how to post
messages and files.
Metadata (everything but content) can be done in json.
For msgs, if the message text can be represented as utf8, it can be all posted at
the same time. Also it could be two posts: metadata post to get a url for the
message. Then post to the url: message_url/content.
Files however are not the same. We support creation of the metadata using json, but
I am not sure how we can post the metadata and then set the content separately.
Would we use a multipart/form-data posted to /rest/data/file to include the metadata
and content?
Comments? |
|
Date |
User |
Action |
Args |
2019-10-15 02:22:22 | rouilj | set | recipients:
+ rouilj |
2019-10-15 02:22:21 | rouilj | set | messageid: <1571106141.96.0.315807198914.issue2551067@roundup.psfhosted.org> |
2019-10-15 02:22:21 | rouilj | link | issue2551067 messages |
2019-10-15 02:22:21 | rouilj | create | |
|