Skip to the content.

Usage of version headers in OneGround

Many applications built by Roxit and other vendors use the Api-version header. This might result in problems. The question is which version numbers may be used in the version header and when.

What are the rules of the standard?

Rules for versioning and the header itself are described in the Api Strategy. This Api Strategy does not say if or when an Api-version header should be used. It does say that if a client uses the version header, it should be at most one version above or one version below the current version in (pre)production.

The role of version headers in transition between major versions is described by VNG but this is not relevant for the present article.

Example of versions (DRC)

Below a part of the list of published DRC versions

Version Start date
1.5.0 14-03-2024
1.4.3 27-10-2023
1.4.2 26-09-2023
1.3.2 26-09-2023
1.2.5 26-09-2023
1.4.1 29-08-2023
1.3.1 29-08-2023
1.2.4 29-08-2023

According to the Api Strategy, since 1.5.0 is released, the Api-version header may contain 1.4.3 but not lower. Since some Client applications do have lower version numbers in it, our headers are not valid according to AS.

Considerations

Recommendations

Only specify the Api-version header in API-calls to OneGround or other ZGW’s in exceptional cases.