[Patchew-devel] [PATCH v2] rest: add api/v1/messages endpoint (POST support)

Shubham Jain shubhamjain7495 at gmail.com
Wed May 16 15:45:06 UTC 2018


- create() does json->MboxMessage and uses the MboxMessage to do
> p.recognizes(m)
>
How to create MboxMessage from json?

Also, while writing tests for authentication, I found out that
api/v1/messages/ is exposed only to importer and superuser. So if a user
who is just a maintainer of project, how will he POST/create a message?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/patchew-devel/attachments/20180516/e4ea1710/attachment.htm>


More information about the Patchew-devel mailing list