Referencja API

Dostęp produkcyjny zamknięty · 37 operacji

Pobierz statystyki ogłoszenia

GET/api/v1/statistics/listings/{id}

Szczegóły statystyk ogłoszenia właściciela.

Wymagany zakres statistics:read

Przejdź do przykładu

Parametry

NazwaMiejsceTypWymaganyOpis
idpathstringTakmin. znaków 1 · maks. znaków 120
presetquery"7" | "30" | "90" | "365" | "custom"Nie"7" | "30" | "90" | "365" | "custom"
fromquerystringNieformat date
toquerystringNieformat date

Odpowiedzi

200 Żądanie zakończone pomyślnie.
application/json
Schemat StatisticsListingDetail
NazwaTypWymaganyOpis
rangeobjectNie—
listingobjectNie—
funnelobjectNie—
marketobjectNie—
qualityobjectNie—
recommendationobjectNie—
historyobjectNie—
generatedAtstringNieformat date-time
dailyobject[]Nie—
priceHistoryobject[]Nie—
JSON Schema
{
  "$ref": "#/components/schemas/StatisticsListingDetail"
}
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"
      }
    }
  }
}
404 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 ↗

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"
      }
    }
  }
}