Pobierz statystyki ogłoszenia
GET
/api/v1/statistics/listings/{id}Szczegóły statystyk ogłoszenia właściciela.
Wymagany zakres statistics:read
Parametry
| Nazwa | Miejsce | Typ | Wymagany | Opis |
|---|---|---|---|---|
id | path | string | Tak | min. znaków 1 · maks. znaków 120 |
preset | query | "7" | "30" | "90" | "365" | "custom" | Nie | "7" | "30" | "90" | "365" | "custom" |
from | query | string | Nie | format date |
to | query | string | Nie | format date |
Odpowiedzi
200 Żądanie zakończone pomyślnie.application/jsonSchemat StatisticsListingDetail
| Nazwa | Typ | Wymagany | Opis |
|---|---|---|---|
range | object | Nie | — |
listing | object | Nie | — |
funnel | object | Nie | — |
market | object | Nie | — |
quality | object | Nie | — |
recommendation | object | Nie | — |
history | object | Nie | — |
generatedAt | string | Nie | format date-time |
daily | object[] | Nie | — |
priceHistory | object[] | Nie | — |
JSON Schema
{
"$ref": "#/components/schemas/StatisticsListingDetail"
}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"
}
}
}
}404 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.Powiązane schematy
StatisticsListingDetail
{
"type": "object",
"properties": {
"range": {
"type": "object"
},
"listing": {
"type": "object"
},
"funnel": {
"type": "object"
},
"market": {
"type": "object"
},
"quality": {
"type": "object"
},
"recommendation": {
"type": "object"
},
"history": {
"type": "object"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"daily": {
"type": "array",
"items": {
"type": "object"
}
},
"priceHistory": {
"type": "array",
"items": {
"type": "object"
}
}
}
}