Versioning
To set the API version on a specific request, send a Knot-Version
header:
curl -X POST 'https://development.knotapi.com/session/create' \
-u 'bd271e95-14e6-47ab-9f4f-225898f69183:cf819749c0574616ba93b5935b8cf108' \
-H 'Content-Type: application/json' \
-H 'Knot-Version: 2.0'
By default, it uses 1.0
, and you can use any version in the requests. However, it's important to communicate with Knot if you plan to use a different version.
Updated 3 months ago