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