Uploading parameters
Uploads parameters.
Request
POST
https://api-metrica.yandex.net/management/v1/counter/{counterId}/user_params/uploadings/upload
Path parameters
Name |
Description |
counterId* |
Type: integer<int32> ID of the counter for which you want to upload parameters. |
Query parameters
Name |
Description |
action* |
Type: string Type of action you want to perform.
|
Body
multipart/form-data
{
"file": null
}
Name |
Description |
file |
Type: string<binary> Parameters to upload, which are passed as multipart/form-data. |
Responses
200 OK
OK
Body
application/json
{
"uploading": {
"id": 0,
"create_time": "2022-12-29T18:02:01Z",
"line_quantity": 0,
"comment": "string",
"content_id_type": "string",
"action": "string",
"status": "string"
}
}
Name |
Description |
uploading* |
Type: UserParamsUploading Information about the uploaded user parameters. |
UserParamsUploading
Information about the uploaded user parameters.
Name |
Description |
action |
Type: string Action to be performed:
|
comment |
Type: string Arbitrary comment. The maximum number of characters is 255. Min length: Max length: |
content_id_type |
Type: string Type of user IDs:
|
create_time |
Type: string<date-time> Upload time. |
id |
Type: integer<int64> Upload ID. |
line_quantity |
Type: integer<int32> Number of rows that passed validation during upload. |
status |
Type: string Upload status:
|
No longer supported, please use an alternative and newer version.