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

Create 'Customercolumntype'

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
namestring<= 255 charactersrequired
kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
curl -i -X POST \
  https://dev.api.pigello.io/annotating/customercolumntype/ \
  -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 '{
    "kind": 0,
    "regex_validation": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "name": "string",
    "only_allowed_for": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "options": [
      "string"
    ],
    "custom_id": "string",
    "color_code": "string"
  }'

Responses

Successful creation

Bodyapplication/json
namestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
Response
application/json
{ "kind": 0, "regex_validation": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "only_allowed_for": [ {} ], "options": [ "string" ], "custom_id": "string", "color_code": "string" }

Get 'Customercolumntype'

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/customercolumntype/{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
namestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
Response
application/json
{ "kind": 0, "regex_validation": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "only_allowed_for": [ {} ], "options": [ "string" ], "custom_id": "string", "color_code": "string" }

Delete 'Customercolumntype'

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/customercolumntype/{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

Update 'Customercolumntype'

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
namestring<= 255 charactersrequired
kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
curl -i -X PATCH \
  'https://dev.api.pigello.io/annotating/customercolumntype/{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 '{
    "kind": 0,
    "regex_validation": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "name": "string",
    "only_allowed_for": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ],
    "options": [
      "string"
    ],
    "custom_id": "string",
    "color_code": "string"
  }'

Responses

Successful update

Bodyapplication/json
namestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
Response
application/json
{ "kind": 0, "regex_validation": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "only_allowed_for": [ {} ], "options": [ "string" ], "custom_id": "string", "color_code": "string" }

List 'Customercolumntype'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Query
_jsonlboolean
_order_byArray of strings
Example: _order_by=field_a,-field_b
_pageinteger(int32)>= 1

Additional Validation Information:

This value must be set together with the following fields: _page_size

_page_sizeinteger(int32)

Additional Validation Information:

This value must be set together with the following fields: _page

_searchstring
_slimboolean
_statisticsboolean
global_realestatesArray of objects
global_segmentsArray of objects
color_codeany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

created_atany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

custom_idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

kindany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

nameany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

only_allowed_forany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

optionsany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: empty, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

organizationany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

regex_validationany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

curl -i -X GET \
  'https://dev.api.pigello.io/annotating/customercolumntype/list/?_jsonl=true&_order_by=field_a%2C-field_b&_page=1&_page_size=0&_search=string&_slim=true&_statistics=true' \
  -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 query

Bodyapplication/jsonArray [
namestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
]
Response
application/json
[ { "kind": 0, "regex_validation": "string", "organization": {}, "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "only_allowed_for": [], "options": [], "custom_id": "string", "color_code": "string" } ]

Bulk write 'Customercolumntype'

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 [
namestring<= 255 charactersrequired
kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
]
curl -i -X POST \
  https://dev.api.pigello.io/annotating/customercolumntype/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 '[
    {
      "kind": 0,
      "regex_validation": "string",
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "name": "string",
      "only_allowed_for": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "options": [
        "string"
      ],
      "custom_id": "string",
      "color_code": "string"
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
namestring<= 255 charactersrequired
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

kindinteger(int32)[ -2147483648 .. 2147483647 ]
Enum012345678
regex_validationstring or null<= 255 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
only_allowed_forArray of objects(Contenttype)
optionsArray of strings or nullunique
custom_idstring or null<= 128 characters
color_codestring or null<= 7 characters'^(?:[0-9a-fA-F]{3}){1,2}$'
]
Response
application/json
[ { "kind": 0, "regex_validation": "string", "organization": {}, "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "only_allowed_for": [], "options": [], "custom_id": "string", "color_code": "string" } ]

Note

Operations

Tagusage

Operations