{"title":"Høringer public consultation API","namespace":"horinger","read_only":true,"based_on":"Utdanningsdirektoratet’s Høring publishing API","upstream_specification":"https://hss.udir.no/swagger/api/swagger.json","upstream_verified_at":"2026-11-12","endpoints":{"catalogue":"http://horinger.maskinistene.no/api/horinger/publisert/hoering","detail":"http://horinger.maskinistene.no/api/horinger/publisert/hoering/{id}","sources":"http://horinger.maskinistene.no/api/sources","openapi":"http://horinger.maskinistene.no/openapi.json","documentation":"http://horinger.maskinistene.no/docs#/Public%20consultations"},"deviations":[{"id":"namespace","description":"Our API is served under /api/horinger, independently of the upstream /api/1 contract. The descriptor identifies the horinger namespace and does not claim to be Høring v1 or its successor."},{"id":"metadata-extension","description":"Adds a horinger object for publisher identity, original status, issuers, document kinds, outcomes, recipients, official action URLs and observation timestamps, plus optional localized feed presentation labels. The upstream schema disallows additional properties; strict validation against it will fail."},{"id":"local-identifiers","description":"id is a persistent local 64-bit database identifier, not the upstream 32-bit hearing ID. Preserve source plus source_id for portable identity. Use url for the official page and horinger.api_url for our API detail; do not reconstruct source URLs from id."},{"id":"date-precision","description":"publisert and frist are nullable ISO calendar dates (YYYY-MM-DD), not timestamp-shaped strings. Missing dates stay null; presentation estimates are never exported as official dates."},{"id":"lifecycle-states","description":"Adds Ukjent (unknown), Fjernet (removed) and Erstattet (superseded). Official deadlines update open/closed status; horinger.recorded_status retains the persisted lifecycle. Publication mode remains PublisertÅpen independently of lifecycle."},{"id":"unavailable-fields","description":"Response counts, last-response time, questionnaires, language, export URL, attachment IDs and MIME types are null when uncollected. Null does not mean zero or no responses. No response or document bodies are served."},{"id":"description-and-documents","description":"beskrivelse is an escaped HTML paragraph made from our normalized summary. Source HTML and letter bodies are omitted. vedlegg contains non-result document links; horinger.documents preserves all kinds and horinger.result_documents identifies outcomes."},{"id":"archive-reference","description":"arkivDisplayNummer maps our case reference. Other archive metadata, including arkivert, stays null; an archive state or archive URL is not inferred."},{"id":"catalogue-scope","description":"Aggregates registered public sources. Defaults to all recorded lifecycle states. Hidden and unpublished selections are empty. Retained aliases and confirmed non-consultations are omitted from lists but remain individually addressable by numeric ID."},{"id":"filters-and-pages","description":"Adds source, source_id and exact issuer-name filters. Topic labels are exact comma-separated OR matches. frist compares the supplied calendar date. Pages are ordered by ID with pageSize 1–200; out-of-range pages return 404. Empty catalogues have totalPages=0 and page 1 remains valid. An optional feed path preserves HTML selection and ordering, including issuer slugs, jurisdiction, classifier filters and labelled estimates."},{"id":"read-only-subset","description":"Implements the public hearing catalogue and metadata detail only, with GET. Administrative, response, attachment-download and export endpoints are not implemented. There is no authentication or Tenant-Api-Key requirement."},{"id":"observation-and-caching","description":"GET uses the same published metadata snapshot as HTML/RSS, with content ETags and no database reads while warm. UTC first_seen_at and last_seen_at describe observations as of that snapshot, not content update times. Unchanged imports do not refresh it. X-Horinger-Snapshot can be sent as snapshot on subsequent pages; a changed publication returns 409. It is a consistency check, not a retained snapshot or updated-since feed."}]}