Principles
Base URL and versioning
One base URL; v1 only gains fields.
Text
https://dev.siteswap.pro/api/v1All endpoints live under /api/v1, over HTTPS only.
What can change in v1
- Added: new endpoints, new fields in an answer, new optional parameters and new values in a status. Write clients that ignore fields they do not know.
- Never in v1: a field renamed or removed, a type changed, or a parameter made required.
Anything that would break a client ships as v2, announced in the changelog ahead of time, with v1 kept running alongside.
Which version is live
The spec's info.version and every answer's meta.api_version say v1. Each change within v1 is dated in the changelog.
SiteSwap API v1Support