{"openapi":"3.1.0","info":{"title":"Påmeldinger organiser integration API","version":"2.0.0","description":"Read-only organisation APIs. Public routes accept one publishable key via ?key=pk-…, X-API-Key or Bearer. Private routes accept secret keys only in X-API-Key or Bearer headers. Duplicate or mixed credentials are rejected. Origin requests revalidate their key before Redis reuse. Public event/category feeds may opt into 1–60 seconds of CDN caching using URL keys or X-API-Key with per-key isolation. Edge hits bypass origin rate/revocation checks until expiry. Private APIs, availability, errors and Bearer requests remain no-store. Participant exports, event writes and webhooks are outside this release."},"servers":[{"url":"/","description":"Use the configured API hostname, not the admin hostname or /public_api."}],"tags":[{"name":"Public catalogue"},{"name":"Private events"}],"paths":{"/v2/public/events":{"get":{"summary":"List published, visible organisation events","tags":["Public catalogue"],"security":[{"publishableApiKey":[]},{"publishableBearer":[]},{"publishableQuery":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"after","in":"query","required":false,"description":"Opaque public ID returned as pagination.nextCursor. Retain the original filters.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"category","in":"query","required":false,"description":"Public category ID, never a SQL primary key.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"starts_after","in":"query","required":false,"description":"Inclusive start boundary with an explicit RFC3339 timezone offset.","schema":{"type":"string","format":"date-time"}},{"name":"starts_before","in":"query","required":false,"description":"Inclusive end boundary with an explicit RFC3339 timezone offset.","schema":{"type":"string","format":"date-time"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/public/events/{eid}":{"get":{"summary":"Retrieve public event details","tags":["Public catalogue"],"security":[{"publishableApiKey":[]},{"publishableBearer":[]},{"publishableQuery":[]}],"parameters":[{"name":"eid","in":"path","required":true,"description":"Random public event ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Event"}},"required":["data"]}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/public/categories":{"get":{"summary":"List visible categories with public IDs","tags":["Public catalogue"],"security":[{"publishableApiKey":[]},{"publishableBearer":[]},{"publishableQuery":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"after","in":"query","required":false,"description":"Opaque public ID returned as pagination.nextCursor. Retain the original filters.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryPage"}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/public/events/availability":{"get":{"summary":"Retrieve up to 50 events' availability","tags":["Public catalogue"],"security":[{"publishableApiKey":[]},{"publishableBearer":[]},{"publishableQuery":[]}],"parameters":[{"name":"ids","in":"query","required":true,"description":"Comma-separated public event IDs. Unknown or hidden events return availability:null.","schema":{"type":"string","minLength":6,"maxLength":349,"pattern":"^[A-Za-z0-9]{6}(,[A-Za-z0-9]{6}){0,49}$","example":"Ab9xQ2,Cd3eF4"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/AvailabilityBatch"}},"required":["data"]}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/public/events/{eid}/availability":{"get":{"summary":"Retrieve one event's availability","tags":["Public catalogue"],"security":[{"publishableApiKey":[]},{"publishableBearer":[]},{"publishableQuery":[]}],"parameters":[{"name":"eid","in":"path","required":true,"description":"Random public event ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/AvailabilityBatch"}},"required":["data"]}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/public/events/{eid}/embed":{"get":{"summary":"Retrieve event ID, languages and iframe option names","tags":["Public catalogue"],"security":[{"publishableApiKey":[]},{"publishableBearer":[]},{"publishableQuery":[]}],"parameters":[{"name":"eid","in":"path","required":true,"description":"Random public event ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Embed"}},"required":["data"]}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/events":{"get":{"summary":"List organisation events, including permitted lifecycle states","tags":["Private events"],"security":[{"secretApiKey":[]},{"secretBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size.","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"after","in":"query","required":false,"description":"Opaque public ID returned as pagination.nextCursor. Retain the original filters.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"category","in":"query","required":false,"description":"Public category ID, never a SQL primary key.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"starts_after","in":"query","required":false,"description":"Inclusive start boundary with an explicit RFC3339 timezone offset.","schema":{"type":"string","format":"date-time"}},{"name":"starts_before","in":"query","required":false,"description":"Inclusive end boundary with an explicit RFC3339 timezone offset.","schema":{"type":"string","format":"date-time"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}},{"name":"status","in":"query","required":false,"description":"Lifecycle state. Draft means an incomplete event row, not a transient wizard draft.","schema":{"type":"string","enum":["published","inactive","archived","draft","all"],"default":"all"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/events/{eid}":{"get":{"summary":"Retrieve organisation-scoped event details","tags":["Private events"],"security":[{"secretApiKey":[]},{"secretBearer":[]}],"parameters":[{"name":"eid","in":"path","required":true,"description":"Random public event ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}},{"name":"locale","in":"query","required":false,"description":"Requested event language; falls back to an enabled event language.","schema":{"type":"string","maxLength":35,"example":"nb"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/Event"}},"required":["data"]}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v2/events/{eid}/stats":{"get":{"summary":"Retrieve aggregate event registrations and revenue","tags":["Private events"],"security":[{"secretApiKey":[]},{"secretBearer":[]}],"parameters":[{"name":"eid","in":"path","required":true,"description":"Random public event ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"}}],"responses":{"200":{"description":"Successful read. Browsers must not retain it. Public event/category feeds can opt into a short CDN TTL with X-API-Key or ?key=pk-…; private and availability responses remain no-store.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"data":{"$ref":"#/components/schemas/EventStats"}},"required":["data"]}}}},"400":{"description":"Invalid or unsupported parameters, duplicate/mixed credentials, or a URL key on a private endpoint.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, inactive, revoked or wrong-type API key, or unavailable owning organisation.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Cross-origin preflight is unsupported for this route or requested headers/method.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Event unavailable to this organisation and visibility; does not disclose event existence.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded. Wait for Retry-After seconds before retrying.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Protection or a required dependency is unavailable. Honour Retry-After.","headers":{"X-Request-ID":{"description":"Support request identifier.","schema":{"type":"string"}},"X-Cache":{"description":"Redis content cache result; never a Cloud CDN hit.","schema":{"type":"string","enum":["HIT","MISS"]}},"X-RateLimit-Limit":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Remaining":{"schema":{"type":"integer","minimum":0}},"X-RateLimit-Reset":{"description":"Unix epoch seconds.","schema":{"type":"integer","minimum":0}},"X-Public-Cache-TTL":{"description":"Present only for optional edge-cacheable public feeds. Origin request/rate headers are omitted on those responses.","schema":{"type":"integer","minimum":1,"maximum":60}},"Retry-After":{"schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"publishableApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Existing active pk- key. Safe for browser event reads only."},"publishableBearer":{"type":"http","scheme":"bearer","description":"Existing active pk- key, alternative to X-API-Key."},"publishableQuery":{"type":"apiKey","in":"query","name":"key","description":"Existing active pk- key for public endpoints only. Supports a simple browser GET without custom headers. Never use a secret sk- key in a URL; do not combine with header credentials."},"secretApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Existing active sk- key. Server-side only."},"secretBearer":{"type":"http","scheme":"bearer","description":"Existing active sk- key, alternative to X-API-Key. Server-side only."}},"schemas":{"Error":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"requestId":{"type":"string"}},"required":["error","requestId"]},"Category":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},"name":{"type":"string"},"description":{"type":"string"}},"required":["id","name","description"]},"CategoryPage":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Category"}},"pagination":{"type":"object","additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},{"type":"null"}]},"hasMore":{"type":"boolean"}},"required":["nextCursor","hasMore"]}},"required":["data","pagination"]},"EventPage":{"type":"object","additionalProperties":false,"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"pagination":{"type":"object","additionalProperties":false,"properties":{"nextCursor":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},{"type":"null"}]},"hasMore":{"type":"boolean"}},"required":["nextCursor","hasMore"]}},"required":["data","pagination"]},"Event":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},"title":{"type":"string"},"titleTranslations":{"type":"object","additionalProperties":{"type":"string"}},"languages":{"type":"array","items":{"type":"string"}},"locale":{"type":"string"},"description":{"type":"string"},"descriptionHtml":{"type":"string"},"descriptionHtmlTranslations":{"type":"object","additionalProperties":{"type":"string"}},"organizer":{"type":"string"},"status":{"type":"string","enum":["published","inactive","archived","draft"]},"category":{"anyOf":[{"$ref":"#/components/schemas/Category"},{"type":"null"}]},"image":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"url":{"type":"string","description":"Supported public uploads use the image CDN with w=1440. Photos preserve aspect ratio without enlargement; GIF/SVG pass through without resizing. Existing CDN and external image URLs are preserved.","example":"https://img.pameldinger.no/i?id=example.webp&w=1440"},"alt":{"type":"string"}},"required":["url","alt"]},{"type":"null"}]},"location":{"type":"object","additionalProperties":false,"properties":{"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"main":{"anyOf":[{"type":"string"},{"type":"null"}]},"secondary":{"anyOf":[{"type":"string"},{"type":"null"}]},"googlePlaceId":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["address","main","secondary","googlePlaceId","description"]},"schedule":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["single","multiple","undated"]},"timeZone":{"type":"string"},"startsAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"endsAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"label":{"type":"string"},"labelTranslations":{"type":"object","additionalProperties":{"type":"string"}},"occurrences":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"startsAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"endsAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"title":{"type":"string"},"titleTranslations":{"type":"object","additionalProperties":{"type":"string"}}},"required":["id","startsAt","endsAt","title","titleTranslations"]}}},"required":["mode","timeZone","startsAt","endsAt","label","labelTranslations","occurrences"]},"registration":{"type":"object","additionalProperties":false,"properties":{"opensAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"closesAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"enabled":{"type":"boolean"},"admissionMode":{"type":"string","enum":["manual_approval","first_come_first_served"]},"waitingListEnabled":{"type":"boolean"},"groupSignupEnabled":{"type":"boolean"},"maxGroupSize":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["opensAt","closesAt","enabled","admissionMode","waitingListEnabled","groupSignupEnabled","maxGroupSize"]},"ticketTypes":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{8}$","example":"Qx92Ab3F"},"title":{"type":"string"},"titleTranslations":{"type":"object","additionalProperties":{"type":"string"}},"description":{"type":"string"},"descriptionHtml":{"type":"string"},"descriptionHtmlTranslations":{"type":"object","additionalProperties":{"type":"string"}},"price":{"type":"object","additionalProperties":false,"properties":{"amount":{"type":"integer","minimum":0,"description":"Integer minor currency units."},"currency":{"type":"string","const":"NOK"}},"required":["amount","currency"]},"active":{"type":"boolean"},"visibility":{"type":"string","enum":["public","private"]}},"required":["id","title","titleTranslations","description","descriptionHtml","descriptionHtmlTranslations","price","active","visibility"]}},"links":{"type":"object","additionalProperties":false,"properties":{"signup":{"type":"string","format":"uri"}},"required":["signup"]}},"required":["id","title","titleTranslations","languages","locale","description","descriptionHtml","descriptionHtmlTranslations","organizer","status","category","image","location","schedule","registration","ticketTypes","links"]},"AvailabilityBatch":{"type":"object","additionalProperties":false,"properties":{"asOf":{"type":"string","format":"date-time","description":"Oldest included per-event snapshot time. V2 caches each event for five seconds and bypasses the canonical service's cache. A batch is not an atomic cross-event inventory snapshot and does not reserve places."},"events":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},"availability":{"anyOf":[{"$ref":"#/components/schemas/Availability"},{"type":"null"}]}},"required":["id","availability"]}}},"required":["asOf","events"]},"Availability":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","enum":["open","waiting_list_open","approval_required","not_started","closed","full","unavailable","unknown"]},"canRegister":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"admissionMode":{"type":"string","enum":["first_come_first_served","manual_approval"]},"capacity":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"remainingPlaces":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"countsVisible":{"type":"boolean"},"ticketTypes":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{8}$","example":"Qx92Ab3F"},"canRegister":{"type":"boolean"},"full":{"type":"boolean"},"waitingListOpen":{"type":"boolean"},"capacity":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"remainingPlaces":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["id","canRegister","full","waitingListOpen","capacity","remainingPlaces"]}}},"required":["status","canRegister","reason","admissionMode","capacity","remainingPlaces","countsVisible","ticketTypes"]},"Embed":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},"languages":{"type":"array","items":{"type":"string"}},"options":{"type":"object","additionalProperties":false,"properties":{"language":{"type":"string","const":"lang"},"showTitle":{"type":"string","const":"showTitle"},"showDescription":{"type":"string","const":"showDescription"},"showLanguageSwitcher":{"type":"string","const":"showLanguageSwitcher"},"hideIntroText":{"type":"string","const":"hideIntroText"},"flow":{"type":"array","items":{"type":"string","enum":["inline","new-tab"]},"minItems":2,"maxItems":2}},"required":["language","showTitle","showDescription","showLanguageSwitcher","hideIntroText","flow"],"description":"Build the iframe URL from the event ID: https://embed.pameldinger.no/embed/{id}. These are the URL parameter names and supported result flows. Boolean display parameters use true/false. The iframe still requires the organisation's exact-origin allowlist."}},"required":["id","languages","options"]},"EventStats":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9]{6}$","example":"Ab9xQ2"},"asOf":{"type":"string","format":"date-time"},"registrations":{"type":"object","additionalProperties":false,"properties":{"total":{"type":"integer","minimum":0},"active":{"type":"integer","minimum":0},"checkedIn":{"type":"integer","minimum":0},"paid":{"type":"integer","minimum":0},"pendingApproval":{"type":"integer","minimum":0},"approved":{"type":"integer","minimum":0},"rejected":{"type":"integer","minimum":0}},"required":["total","active","checkedIn","paid","pendingApproval","approved","rejected"]},"revenue":{"type":"object","additionalProperties":false,"properties":{"currency":{"type":"string","const":"NOK"},"grossMinor":{"type":"integer","minimum":0},"refundedMinor":{"type":"integer","minimum":0},"netMinor":{"type":"integer","description":"Recorded paid totals less recorded refunds, before fees; not a payout or settlement report."}},"required":["currency","grossMinor","refundedMinor","netMinor"]}},"required":["id","asOf","registrations","revenue"]}}}}