NationalMuseumAustralia / Collection-API

The public web API of the National Museum of Australia
11 stars 0 forks source link

API versioning plan #63

Open staplegun opened 6 years ago

staplegun commented 6 years ago

Define and implement the API release versioning strategy.

staplegun commented 6 years ago

Versioning strategy

Follow Semantic Versioning with 'two dots': major.minor.patch

API version development and release

Aim: Reduce the number of different versions to be maintained in parallel.

Example: An API call requesting v2.4.3 will return the most recent version 2, which might actually be a later minor release v2.5.1

Versioning implementation

Code changes

staplegun commented 6 years ago

API content negotiation for version

JSON-LD

JSON

The API response should include the version being delivered