Roundup Tracker - Issues

Message6746

Author rouilj
Recipients rouilj
Date 2019-10-15.02:22:21
Message-id <1571106141.96.0.315807198914.issue2551067@roundup.psfhosted.org>
In-reply-to
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?
History
Date User Action Args
2019-10-15 02:22:22rouiljsetrecipients: + rouilj
2019-10-15 02:22:21rouiljsetmessageid: <1571106141.96.0.315807198914.issue2551067@roundup.psfhosted.org>
2019-10-15 02:22:21rouiljlinkissue2551067 messages
2019-10-15 02:22:21rouiljcreate