[Patchew-devel] [PATCH v3] rest: add support for series DELETE in the REST API, and a corresponding unit test
Shubham Jain
shubhamjain7495 at gmail.com
Wed Apr 11 09:50:40 UTC 2018
> Use the commit message to write information about your decisions
> regarding the patch. This includes decisions that you think are wrong,
> but you had to make anyway because you were stuck!
Noted. Will keep in mind in the future.
>
> > As a next step, perhaps you can implement POST for /api/v1/messages?
> > That should accept a text/plain object; can you find the
> corresponding
> > legacy API endpoint?
>
It would be a JSON object right? The elements we are extracting from the
mbox in add_message_from_mbox() would be provided as JSON?
For example, instead of msgid = m.get_message_id() it should be
something like this msgid = request.data['message_id']?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/patchew-devel/attachments/20180411/d9162453/attachment.htm>
More information about the Patchew-devel
mailing list