hmis-tools / hmis-api-server

Version 2 of OpenHMIS
Mozilla Public License 2.0
15 stars 11 forks source link

Version the API in the API itself -- e.g., serve it from /api/v3/. #35

Closed kfogel closed 8 years ago

kfogel commented 8 years ago

Instead of serving the API from "/services/", serve it from "/api/v3/". That way all API call URLs make clear that this is an API, and the major version number is built in. We start with version 3 because versions 1 and 2 already happened, as explained in the "Historical Background" section of https://github.com/PCNI/OpenHMIS/blob/feature-compass_schema/docs/API.md.