Management API Documentation

Create item

Description

Create a new item

Url

Parameters optional

  • name: string that describes the item
  • collection: resource uri like /api/v0/collection/UUID/
  • tags: list of resource URIs like ["/api/v0/tag/UUID1/", "/api/v0/tag/UUID2/"]
  • url: URL related to the item's content
  • content: a valid JSON object
  • custom: any type of custom data attached to the item.
  • trackable: true for creating an AR item (default: false)

Example

Create a Item with a url

Request

Response

HTTP Status code: 201 Created

Create a trackable Item with content

Request

Response

HTTP Status code: 201 Created

Errors

HTTP Status code: 400 Bad Request

Invalid JSON

Content not in JSON

Collection not found

Empty item name