Skip to content

Latest commit

 

History

History
64 lines (55 loc) · 1.24 KB

put-tags.md

File metadata and controls

64 lines (55 loc) · 1.24 KB

http://api.molis.io/v1/tags

Batch update tags.

Note: Currently only changing the ```images`` property is allowed.

  • HTTP method: PUT
  • Token required: Yes

Parameters

All parameters are optional, unless otherwise indicated.

Name Description Example
token required OAuth token ?token=ABC123

Request fields

The endpoint expects an array of tag objects. The expected tag object looks like this:

Name Description Type Example / possible value
id required Id of the tag to update String "ABC123"
images required Image id's Array
[
  {
    "id":"8f0ef7602cbd11e281c10800200c9a66"
  }, 
  {
    "id":"94a3f3b02cbd11e281c10800200c9a66"
  }, 
  {
    "id":"99dffa902cbd11e281c10800200c9a66"
  }
]

Response fields

Array of tag object's.

Examples

todo