client
Create a client.
Changed onpost/client
Request
- Base URLhttp://localhost
- Auth
- API key in header Authorization
- or API key in header X-Gotify-Key
- or API key in query parameter token
- or HTTP basic
Request body
Example request
{
"expiresAfterInactivitySeconds": 2592000,
"name": "My Client"
}Response
Ok
Example response
{
"createdAt": "2019-01-01T00:00:00Z",
"expiresAfterInactivitySeconds": 2592000,
"expiresAt": "2019-01-01T00:00:00Z",
"id": 5,
"lastUsed": "2019-01-01T00:00:00Z",
"name": "Android Phone",
"token": "CWH0wZ5r0Mbac.r"
}Changes
- info
the endpoint scheme security
clientTokenAuthorizationHeaderwas added to the API
- info
- info
added the non-success response with the status
- info