Skip to content

Latest commit

 

History

History
65 lines (59 loc) · 1.45 KB

post-tags.md

File metadata and controls

65 lines (59 loc) · 1.45 KB

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

  • HTTP method: POST
  • 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
category required Category of the tag String "event","location", "person" or "freetext"
label required Name of the tag String "Emily", "Mom's and Dad's House", "Asia vacation"
images optional Array with obj's with image id's Array
[
  {
    "id":"6833c3002cbd11e281c10800200c9a66"
  }, 
  {
    "id":"7a19abc02cbd11e281c10800200c9a66"
  }, 
  {
    "id":"8072bb602cbd11e281c10800200c9a66"
  }
]

Response fields

Array of created tag object.

Example

todo