Skip to content

Annotating (2.0.0)

The 'Annotating' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Customercolumnvalue

Operations

Tag

Operations

Customercolumntype

Operations

Note

Operations

Tagusage

Operations

Create 'Tagusage'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/json
object_idstring(uuid)required
tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
curl -i -X POST \
  https://dev.api.pigello.io/annotating/tagusage/ \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "custom_id": "string",
    "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "tag": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "start_date": "2019-08-24",
    "end_date": "2019-08-24",
    "content_type": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "value": "string"
  }'

Responses

Successful creation

Bodyapplication/json
object_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
created_atstring(date-time)read-only
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
Response
application/json
{ "custom_id": "string", "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb", "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tag": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "start_date": "2019-08-24", "end_date": "2019-08-24", "content_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "value": "string" }

Delete 'Tagusage'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
curl -i -X DELETE \
  'https://dev.api.pigello.io/annotating/tagusage/{pk}/' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful deletion

Response
No content

Get 'Tagusage'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
curl -i -X GET \
  'https://dev.api.pigello.io/annotating/tagusage/{pk}/' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful selection

Bodyapplication/json
object_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
created_atstring(date-time)read-only
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
Response
application/json
{ "custom_id": "string", "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb", "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tag": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "start_date": "2019-08-24", "end_date": "2019-08-24", "content_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "value": "string" }

Update 'Tagusage'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
Bodyapplication/json
object_idstring(uuid)required
tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
curl -i -X PATCH \
  'https://dev.api.pigello.io/annotating/tagusage/{pk}/' \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "custom_id": "string",
    "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "tag": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "start_date": "2019-08-24",
    "end_date": "2019-08-24",
    "content_type": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "value": "string"
  }'

Responses

Successful update

Bodyapplication/json
object_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
created_atstring(date-time)read-only
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
Response
application/json
{ "custom_id": "string", "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb", "created_at": "2019-08-24T14:15:22Z", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tag": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "start_date": "2019-08-24", "end_date": "2019-08-24", "content_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "value": "string" }

Bulk write 'Tagusage'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/jsonArray [
object_idstring(uuid)required
tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
]
curl -i -X POST \
  https://dev.api.pigello.io/annotating/tagusage/list/ \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '[
    {
      "custom_id": "string",
      "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb",
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "tag": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "start_date": "2019-08-24",
      "end_date": "2019-08-24",
      "content_type": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "value": "string"
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
object_idstring(uuid)required
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tagobject(Tag)required
tag.​idstring(uuid)
content_typeobject(Contenttype)required
content_type.​idstring(uuid)
custom_idstring or null<= 128 characters
created_atstring(date-time)read-only
organizationobject or null(Organization)
start_datestring or null(date)
end_datestring or null(date)
valuestring or null<= 255 characters
]
Response
application/json
[ { "custom_id": "string", "object_id": "463a83d0-a816-4902-abba-2486e0c0a0bb", "created_at": "2019-08-24T14:15:22Z", "organization": {}, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tag": {}, "start_date": "2019-08-24", "end_date": "2019-08-24", "content_type": {}, "value": "string" } ]