Use the provided username and password to retrieve an access token for further requests.
POST https://www.t3versions.com/api/auth/login/
{ "username": "my-user", "password": "a-secure-password" }
If the credentials were valid, the API returns a token as shown in the example response:
{"expiry":"2020-07-26T00:31:15.983436+02:00","token":"a-token-64-chars-in-length"}
The token must be used as authorization header for all requests to API routes that require authentication (tagged with "auth" in this documentation).
Authorization: Token a-token-64-chars-in-length