basic
Create a new session
post/sessions
Request
- Base URL/api/v0 (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
valid_forinteger
Validity in seconds
Response
Information of the new session and corresponding token
Example response
{
"created": "2000-01-23T04:56:07.000+00:00",
"id": 0,
"token": "UJF9e8jwjfsf"
}Changes
No recorded changes to this operation across all 1 revision of this API.