Checking whether a request can be created
Checks whether a log request can be created based on the size.
Request
GET
https://api-metrica.yandex.net/management/v1/counter/{counterId}/logrequests/evaluate
Path parameters
|
Name |
Description |
|
counterId* |
Type: integer<int32> Tag ID. |
Query parameters
|
Name |
Description |
|
date1* |
Type: string First day. |
|
date2* |
Type: string Last day (can't be the current day). |
|
fields* |
Type: string List of fields separated by commas. |
|
source* |
Type: string[] Log source.
|
Responses
200 OK
OK
Body
application/json
{
"log_request_evaluation": {
"possible": false,
"max_possible_day_quantity": 0
}
}
|
Name |
Description |
|
log_request_evaluation |
Type: LogRequestEvaluation Checks whether a log request can be created. |
LogRequestEvaluation
Checks whether a log request can be created.
|
Name |
Description |
|
max_possible_day_quantity |
Type: integer<int64> The maximum number of days in the time period that can be specified in log requests accounting for to the current quota. |
|
possible |
Type: boolean Whether logs can be requested for the specified period. |
No longer supported, please use an alternative and newer version.