Versioning
The version is in the address
Section titled “The version is in the address”https://api.gocamping.dk/channel/v1/…Within v1 the API only grows. We never remove or rename a field, endpoint or event, and we never change the meaning
of an existing field.
Changes that can come in v1 without advance notice
Section titled “Changes that can come in v1 without advance notice”- New endpoints.
- New optional fields in requests.
- New fields in responses.
- New values in lists, for example a new
category, facility code, event type or error code. - New optional headers.
- Higher limits.
Your code must therefore ignore fields it does not know, and handle unknown values in lists (for example by treating
an unknown category as other).
We announce such changes in the change log (CHANGELOG) and by email to the technical contact of each partner.
Breaking changes come as a new version
Section titled “Breaking changes come as a new version”A breaking change (removing or renaming something, a new required field, a changed meaning) comes only in a new
version, for example v2.
v1andv2run side by side for at least 12 months.- We announce the end date at least 6 months ahead.
- Responses from a version that is being retired carry the headers
Deprecation: @<unix time>(RFC 9745) andSunset: <date>(RFC 8594).
Exceptions
Section titled “Exceptions”If security or the law requires it (for example a security flaw or a data protection ruling), we may have to change something faster. We will then tell you as early as we can and help with the change.
Draft versions
Section titled “Draft versions”Until the first release the documentation has draft numbers (0.1, 0.2 …), and everything may change. Version 1.0 of
the documentation is released together with v1 of the API.