Mint a new client.
POST/client
Creates a brand new client and returns its id. This endpoint is useful
for server-side processes that want to create a new feed client id, but
aren't going to immediately use it for music playback. Generally,
clients should use POST /session to create new client ids.
This endpoint always mints a new client. There is no way to use this
call to look up, reuse or adopt an existing id; send the client_id on
POST /session for that.
Request
Responses
- 200
- 401
- default
A new client was created. client_id is the new id.
Credentials were missing or invalid. The response carries
WWW-Authenticate: Basic realm="Feed.fm".
Response Headers
WWW-Authenticate
The authentication challenge. Always Basic realm="Feed.fm".
Example:
Basic realm="Feed.fm"An error occurred.