Skip to content

Register an item

Request

Security
bearerAuth
Bodyapplication/jsonrequired
descriptionstring

Description of the item

Example:"Tesla's Blueprint"
curl -i -X POST \
  https://aywa-ops-setup.ailytics.ai/_mock/apis/items \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "description": "Tesla'\''s Blueprint"
  }'

Responses

Item registered successfully

Bodyapplication/json
idstringread-only

Unique identifier for the item

Example:"itm_tsla_blueprint"
descriptionstring

Description of the item

Example:"Tesla's Blueprint"
Response
{ "id": "itm_tsla_blueprint", "description": "Tesla's Blueprint" }