dbmdz / iiif-server-hymir

Hymir is a Java based IIIF Server. It is based on "IIIF Image API Java Libraries" and "IIIF Presentation API Java Libraries" projects (see https://github.com/dbmdz)
MIT License
27 stars 7 forks source link

Use standard semantic versioning #13

Closed VonUniGE closed 5 years ago

VonUniGE commented 6 years ago

In the IIIF specification we can read:

Starting with the 2.0.0 releases of the IIIF Image API and Presentation API, all future specifications will follow Semantic Versioning with version numbers of the form “MAJOR.MINOR.PATCH”

Now Hymir takes url such as: image/v2/1072035/2048,4096,1869,1078/468,/0/default.jpg it should be image/2/1072035/2048,4096,1869,1078/468,/0/default.jpg

datazuul commented 5 years ago

The specification is talking about the semantic versioning of the specification itself, not how servers should be implemented. The specification indeed specifies valid URLs like this: https://iiif.io/api/image/2.1/#image-request-uri-syntax. The "prefix" part of the url has no restrictions. We chose "/image/v2" as default. However, if you want to change the prefix, this can be done with upcoming release 4.0.0. See README

datazuul commented 5 years ago

duplicate to #26