Skip to main content

ReleaseFacetsResponse

Response shape for GET /api/v1/releases/facets.

Each list reflects the distinct values present in the ledger under the other active filters (Solr-style facet exclusion), so dropdowns never offer combinations that would yield zero results. The frontend uses these to populate cascading filter Select inputs without forcing the user to type UUIDs.

languages object[]required
  • Array [
  • countinteger<int64>required

    Possible values: >= 0

    languagestringrequired
  • ]
  • libraries object[]required
  • Array [
  • countinteger<int64>required

    Possible values: >= 0

    libraryIdstring<uuid>required
    libraryNamestringrequired
  • ]
  • series object[]required
  • Array [
  • countinteger<int64>required

    Number of ledger rows matching the active filter for this series.

    Possible values: >= 0

    libraryIdstring<uuid>required
    libraryNamestringrequired
    seriesIdstring<uuid>required
    seriesTitlestringrequired
  • ]
  • ReleaseFacetsResponse
    {
    "languages": [
    {
    "count": 0,
    "language": "string"
    }
    ],
    "libraries": [
    {
    "count": 0,
    "libraryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "libraryName": "string"
    }
    ],
    "series": [
    {
    "count": 0,
    "libraryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "libraryName": "string",
    "seriesId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "seriesTitle": "string"
    }
    ]
    }