VNG-Realisatie / ODS-Open-Raadsinformatie

Project repository tbv de ontwikkeling van de Open Raads- en Stateninformatie API specificatie
https://vng-realisatie.github.io/ODS-Open-Raadsinformatie/
9 stars 2 forks source link

Add support for various content type / HTTP content negotiation #19

Open joepio opened 4 years ago

joepio commented 4 years ago

HTTP Content Negotiation uses HTTP headers in both request and response to enable negotiation of serialization formats. Including this in an API specification greatly enhances its compatibility.

Since this API aims to comply to RDF constraints (IDs are URLs, keys are URLs, Resources have Classes which are URLs), it makes sense to allow other RDF serialization options, such as N-Triples and Turtle.