Referencja API

Dostęp produkcyjny zamknięty · 37 operacji

Pobierz filtry statystyk

GET/api/v1/statistics/filters

Wartości filtrów dla ogłoszeń właściciela.

Wymagany zakres statistics:read

Przejdź do przykładu

Odpowiedzi

200 Żądanie zakończone pomyślnie.
application/json
Schemat object
NazwaTypWymaganyOpis
categoriesstring[]Nie—
makesstring[]Nie—
modelsstring[]Nie—
generationsstring[]Nie—
fuelTypesstring[]Nie—
gearboxesstring[]Nie—
voivodeshipsstring[]Nie—
packageTiersstring[]Nie—
statusesobject[]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/json
Schemat object
NazwaTypWymaganyOpis
codestringTak—
messagestringTak—
requestIdstringTak—
issuesobject[]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/json
Schemat object
NazwaTypWymaganyOpis
codestringTak—
messagestringTak—
requestIdstringTak—
issuesobject[]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/json
Schemat object
NazwaTypWymaganyOpis
codestringTak—
messagestringTak—
requestIdstringTak—
issuesobject[]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.

Obsługa błędów i limitów ↗