Pobierz filtry statystyk
GET
/api/v1/statistics/filtersWartości filtrów dla ogłoszeń właściciela.
Wymagany zakres statistics:read
Odpowiedzi
200 Żądanie zakończone pomyślnie.application/jsonSchemat object
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
categories | string[] | Nie | — |
makes | string[] | Nie | — |
models | string[] | Nie | — |
generations | string[] | Nie | — |
fuelTypes | string[] | Nie | — |
gearboxes | string[] | Nie | — |
voivodeships | string[] | Nie | — |
packageTiers | string[] | Nie | — |
statuses | object[] | Nie | — |
JSON Schema
{
"type": "object",
"properties": {
"categories": {
"type": "array",
"items": {
"type": "string"
}
},
"makes": {
"type": "array",
"items": {
"type": "string"
}
},
"models": {
"type": "array",
"items": {
"type": "string"
}
},
"generations": {
"type": "array",
"items": {
"type": "string"
}
},
"fuelTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"gearboxes": {
"type": "array",
"items": {
"type": "string"
}
},
"voivodeships": {
"type": "array",
"items": {
"type": "string"
}
},
"packageTiers": {
"type": "array",
"items": {
"type": "string"
}
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
}
}
}403 Błąd przetwarzania żądania.application/jsonSchemat object
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
code | string | Tak | — |
message | string | Tak | — |
requestId | string | Tak | — |
issues | object[] | Nie | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}429 Błąd przetwarzania żądania.application/jsonSchemat object
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
code | string | Tak | — |
message | string | Tak | — |
requestId | string | Tak | — |
issues | object[] | Nie | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}Pozostałe błędy API Błąd przetwarzania żądania.application/jsonSchemat object
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
code | string | Tak | — |
message | string | Tak | — |
requestId | string | Tak | — |
issues | object[] | Nie | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}401 Brak prawidłowego klucza API.503 Dostęp jest zamknięty lub usługa jest chwilowo niedostępna. Sprawdź code.