Access filter information
Returns information about the specified access filter. To learn more about access filters, see the article.
Request
GET
https://api-metrica.yandex.net/management/v1/counter/{counterId}/access_filter/{accessFilterId}
Path parameters
Name |
Description |
accessFilterId* |
Type: integer<int32> ID of the filter whose details you want to get. |
counterId* |
Type: integer<int32> Counter ID. |
Responses
200 OK
OK
Body
application/json
{
"access_filter": {
"id": 0,
"counter_id": 0,
"name": "string",
"expression": "string",
"create_time": "2022-12-29T18:02:01Z"
}
}
Name |
Description |
access_filter* |
Type: AccessFilterDto Access filter. |
AccessFilterDto
Access filter.
Name |
Description |
counter_id |
Type: integer<int32> Counter ID. |
create_time |
Type: string<date-time> Time of access filter creation in yyyy-MM-dd'T'HH:mm:ssXXX format. |
expression |
Type: string An expression that matches the value of the "filters" parameter. Min length: Max length: |
id |
Type: integer<int32> Access filter ID. |
name |
Type: string Access filter name. Min length: Max length: |
No longer supported, please use an alternative and newer version.