List of actions
Returns information about counter actions.
Request
GET
https://api-metrika.yandex.net/management/v1/counter/{counterId}/operations
Path parameters
|
Name |
Description |
|
counterId |
Type: integer ID of the counter for which you want to get action information. |
Query parameters
|
Name |
Description |
|
callback |
Type: string Callback function that processes the API response. Example: `` |
Responses
200 OK
OK
Body
application/json
{
"operations": [
{
"id": 0,
"action": "example",
"attr": "example",
"value": "example",
"status": "example"
}
]
}
|
Name |
Description |
|
operations |
Type: OperationE[] 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.
Was the article helpful?
Previous