Action information
Returns information about the specified action of a counter.
Request
GET
https://api-metrika.yandex.net/management/v1/counter/{counterId}/operation/{operationId}
Path parameters
|
Name |
Description |
|
counterId |
Type: integer ID of the counter for which you want to get action information. |
|
operationId |
Type: integer ID of the action you want to get information about. |
Query parameters
|
Name |
Description |
|
callback |
Type: string Callback function that processes the API response. Example: `` |
Responses
200 OK
OK
Body
application/json
{
"operation": {
"id": 0,
"action": "example",
"attr": "example",
"value": "example",
"status": "example"
}
}
|
Name |
Description |
|
operation |
Type: OperationE List of structures with information on counter actions. Example
|
OperationE
List of structures with information on counter actions.
|
Name |
Description |
|
action |
Type: string Action type:
Example: |
|
attr |
Type: string Field for filtering:
Example: |
|
status |
Type: string Action status:
Example: |
|
id |
Type: integer Action ID (needs to be specified while changing a counter action). |
|
value |
Type: string Value for replacement. Example: |
Example
{
"id": 0,
"action": "example",
"attr": "example",
"value": "example",
"status": "example"
}
No longer supported, please use an alternative and newer version.