authentication
Create a new authentication token
Changed onCreates a new authentication token that is returned via the 'renterd_auth' cookie which is set by the server and the json response body. The token can be used as a cookie or as the 'apikey' query parameter for authentication.
post/api/auth
Request
- The document declares no server URL.
- Authnone declared
Query parameters
validityinteger required
A duration in milliseconds
Example:30000
The duration in milliseconds for which the token will be valid
Response
Successfully created a new token
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
endpoint added
- info