put http://gooru.org/api/nucleus/v2/resources/
Update an existing Resource with data provided in JSON payload. There are fields that are part of resource by virtue of resource being present in a container (collection). To edit these attributes, Resource should be updated in context of Collection.
Update a Resource with JSON payload
Header name | Value |
---|---|
Authorization | Token {{authorization access token}} |
Content-Type | application/json |
Note
Any attributes that are non modifiable and are sent by client & extraneous information will be ignored silently, and won’t contribute towards failure of operation. For the image/thumbnail part, client first needs to call the Media API to upload the image, and then send out the image URL in the payload
Two resources shouldn't have the same URL