Skip to content

Producties

Een productie bevat alle metadata van een voorstelling: titel, beschrijving, credits, duur, en koppelingen naar venues, companies en mediafiles.

Producties zoeken

http
POST /entities/filter
Content-Type: application/json

De requestbody is een JSON-array van filterobjecten. Filters worden gecombineerd met AND.

Alle producties

json
[
  { "type": "type", "value": "production" }
]

Zoeken op titel

Ondersteunt * als wildcard.

json
[
  { "type": "type", "value": "production" },
  { "type": "text", "key": ["podiumnet:1|properties.title.value"], "value": "Hamlet*" }
]

Filteren op venue

json
[
  { "type": "type", "value": "production" },
  { "type": "selection", "key": ["podiumnet:1|properties.ref_venues.value"], "value": "{venue_id}", "match_exact": true }
]

Titel + venue combineren

json
[
  { "type": "type", "value": "production" },
  { "type": "text", "key": ["podiumnet:1|properties.title.value"], "value": "Hamlet*" },
  { "type": "selection", "key": ["podiumnet:1|properties.ref_venues.value"], "value": "{venue_id}", "match_exact": true }
]

Paginering

POST __API_BASE_URL__/entities/filter?skip=0&limit=20

Responsformaat

json
{
  "count": 42,
  "results": [
    { "id": "PR-ABC123", "type": "production", "metadata": [...], "relations": [...] }
  ],
  "skip": 0,
  "limit": 20
}

Het veld next verschijnt alleen als er nog meer pagina's zijn.


Productie ophalen

http
GET /entities/{id}

{id} is het leesbaar ID (bv. PR-ABC123) of het UUID.


Responsstructuur

json
{
  "id": "PR-ABC123",
  "_id": "43e99478-04db-42df-8d0e-11be73252344",
  "type": "production",
  "metadata": [
    { "key": "title", "value": "Hamlet" },
    { "key": "subtitle", "value": "Een klassieker hertaald" },
    { "key": "description", "value": "<p>Volledige beschrijving...</p>" },
    { "key": "description_short", "value": "<p>Korte beschrijving...</p>" },
    { "key": "credits", "value": "<p><strong>regie</strong> Jan Janssen</p>" },
    { "key": "status", "value": "published" },
    { "key": "duration", "value": 90 },
    { "key": "premiere_date", "value": "2026-09-01" },
    { "key": "age_category", "value": "12+" },
    { "key": "posters_status", "value": "complete" },
    { "key": "scene_images_status", "value": "partially" },
    { "key": "trailer_status", "value": "status_to_be_determined" }
  ],
  "relations": [
    { "key": "VE-XYZ789", "type": "refVenues" },
    { "key": "CO-DEF456", "type": "refCompanies" },
    { "key": "BA-GHI012", "type": "refBookingAgency" }
  ],
  "identifiers": ["43e99478-04db-42df-8d0e-11be73252344", "PR-ABC123"],
  "audit": {
    "created": { "at": "2026-05-20T16:35:24Z", "by": "user@example.com" },
    "updated": { "at": "2026-05-21T09:40:32Z", "by": "user@example.com" }
  }
}

Metadatavelden

keyTypeBeschrijving
titlestringTitel
subtitlestringOndertitel
descriptionstring (HTML)Volledige beschrijving
description_shortstring (HTML)Korte beschrijving (max. 500 tekens)
creditsstring (HTML)Credits
statusenumconcept / published / archived
durationnumberSpeelduur in minuten
premiere_dateISO-datumPremièredatum
age_categoryenumLeeftijdscategorie (bv. 12+)
language_iconstringPad naar taalpictogram

HTML-velden

De velden description, description_short en credits bevatten HTML. Strip de tags of render ze rechtstreeks.


Beschikbaarheidsstatus van mediafiles

Elke mediacategorie heeft een statusveld in metadata.

keyCategorie
posters_statusAffiche
scene_images_statusScenebeelden
trailer_statusTrailer
review_statusRecensies
rider_statusTechnische info
framing_statusOmkadering
music_fragments_statusMuziekfragmenten
social_media_statusSocial media posts

Mogelijke waarden:

WaardeBetekenis
status_to_be_determinedNog niet bepaald
not_applicableNiet van toepassing
follows_laterVolgt later
partiallyGedeeltelijk beschikbaar
completeVolledig beschikbaar

Relatievelden

typeBeschrijving
refVenuesGekoppeld(e) venue(s)
refCompaniesGekoppeld(e) gezelschap/gezelschappen
refBookingAgencyBoekingskantoor
refGenresGenre(s)
refSeasonsSeizoen(en)

De key in een relatieobject is het ID van de gerelateerde entiteit (bv. VE-XYZ789). Gebruik GET /entities/{key} om de volledige gegevens op te halen.

Powered by Elody - Open Source Semantic Data Platform