Information about the latest uploads

Information about the latest uploads.

Request

GET

https://api-metrica.yandex.net/cdp/api/v1/counter/{counterId}/last_uploadings

Path parameters

Name

Description

counterId*

Type: integer<int32>

Counter ID.
Example: 2215573

Query parameters

Name

Description

datetime_offset

Type: string<date-time>

Time offset. Any returned upload will be strictly before the specified time.
Example: 2020-02-10T10:00:00.000Z

limit

Type: integer<int64>

Number of returned uploads. Values from 1 to 1000 are accepted.

Default: 10
Example: 10

source

Type: string

Upload source. Any returned upload will have the specified source.
Upload source. Possible values: API
Example: API

Responses

200 OK

OK

Body

application/json
{
    "uploadings": [
        {
            "uploading_id": "string",
            "datetime": "2022-12-29T18:02:01Z",
            "api_validation_status": "string",
            "elements_count": 0,
            "entity_type": "string",
            "uploading_format": "string",
            "uploading_source": "string"
        }
    ]
}

Name

Description

uploadings

Type: UploadingMetaExternal[]

Information about uploads.
Description of the UploadingMetaExternal object.

UploadingMetaExternal

Description of the UploadingMetaExternal object.

Name

Description

api_validation_status

Type: string

Upload validation status:

  • PASSED: Validation passed.
  • FAILED: Validation failed.

datetime

Type: string<date-time>

Upload time.

elements_count

Type: integer<int32>

Number of elements in the upload.

entity_type

Type: string

Entity type:

  • SYSTEM: System entity, such as contacts or orders.
  • CUSTOM_LIST: Custom list.
  • SYSTEM_LIST: System list, such as products.

uploading_format

Type: string

Upload format. Possible values:

  • JSON.
  • CSV.

uploading_id

Type: string

Upload ID.

uploading_source

Type: string

Upload source. Possible values: API