Confirmed users
920
edits
LesOrchard (talk | contribs) No edit summary |
LesOrchard (talk | contribs) No edit summary |
||
| Line 140: | Line 140: | ||
* Response | * Response | ||
** Status: <tt>201 Created</tt> | ** Status: <tt>201 Created</tt> | ||
** Content-Type: | ** Content-Type: [[#Addon Collection]] | ||
** Response body will | ** Response body will contain the data for the freshly created collection. | ||
** Location header points to the URL of new collection. | ** Location header points to the URL of new collection. | ||
| Line 165: | Line 165: | ||
* Response (on success) | * Response (on success) | ||
** Status: <tt>303 See Other</tt> | ** Status: <tt>303 See Other</tt> | ||
** Content-Type: | ** Content-Type: [[#Addon Collection]] | ||
** Response body will | ** Response body will reflect the change to the collection with addon added or updated. | ||
** Location header points to the URL of collection, which will reflect the addition or update of the addon. | ** Location header points to the URL of collection, which will reflect the addition or update of the addon. | ||
===== DELETE - Delete a collection ===== | ===== DELETE - Delete a collection ===== | ||
| Line 189: | Line 188: | ||
* Response (on success) | * Response (on success) | ||
** Status: <tt> | ** Status: <tt>303 See Other</tt> | ||
** Content-Type: [[#Addon Collection]] | |||
** Response body will reflect the change to the collection with addon added or updated. | |||
** Location header points to the URL of collection, which will reflect the addition or update of the addon. | |||
==== /api/sharing/email ==== | ==== /api/sharing/email ==== | ||