List of filters
Returns information about tag filters.
Request syntax
counterId
: ID of the tag that you want to get filter information for.
GET https://api-metrika.yandex.net/management/v1/counter/{counterId}/filters
? [callback=<string>]
callback | Callback function that processes the API response. |
callback | Callback function that processes the API response. |
Response format
{
"filters" : [ {
"id" : < int > ,
"attr" : < filter_attribute > ,
"type" : < filter_type > ,
"value" : < string > ,
"action" : < filter_action > ,
"status" : < filter_status > ,
"start_ip" : < string > ,
"end_ip" : < string > ,
"with_subdomains" : < boolean >
}, ... ]
}
Parameters | Description |
---|---|
filters | Tag filters. |
filters | |
id | Filter ID. Specify this parameter when changing a tag filter |
attr | Type of data to apply the filter to. Possible values:
|
type | Filter type or action for filter. Possible values:
|
value | Filter value. |
action | Filter type. Possible values:
|
status | Filter status. Possible values:
|
start_ip | First IP address in the range. |
end_ip | Last IP address in the range. |
with_subdomains | Filter by subdomains. |
Parameters | Description |
---|---|
filters | Tag filters. |
filters | |
id | Filter ID. Specify this parameter when changing a tag filter |
attr | Type of data to apply the filter to. Possible values:
|
type | Filter type or action for filter. Possible values:
|
value | Filter value. |
action | Filter type. Possible values:
|
status | Filter status. Possible values:
|
start_ip | First IP address in the range. |
end_ip | Last IP address in the range. |
with_subdomains | Filter by subdomains. |