Information about types of system attributes

Returns information about the types of system attributes for customers and orders.

Request

GET

https://api-metrika.yandex.net/cdp/api/v1/counter/{counterId}/schema/types

Path parameters

Name

Description

counterId

Type: integer

Counter ID.

Responses

200 OK

OK

Body

application/json
{
  "types": [
    {
      "name": "example",
      "group": "example",
      "humanized": "example"
    }
  ]
}

Name

Description

types

Type: AttributeType[]

Attribute types.

Example
[
  {
    "name": "example",
    "group": "example",
    "humanized": "example"
  }
]

AttributeType

Name

Description

name

Type: string

Attribute type ID.

Example: example

group

Type: string

Attribute type group. Possible values:

  • PREDEFINED: Scalar attribute type. Examples of type_name values: numeric, date, datetime, email, and text.
  • CUSTOM_LIST: Arbitrary attribute type.
  • SYSTEM_LIST: Product list, type_name: product.

Example: example

humanized

Type: string

Attribute type name.

Example: example

Example
{
  "name": "example",
  "group": "example",
  "humanized": "example"
}

No longer supported, please use an alternative and newer version.