Skip to main content

Signin

Signin the user authenticated with the access token

info

This operation requires authentication.

HTTP Request

POST /api/v2/sso/signin/

Example Request

const inputBody = '{}';
const headers = {
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/sso/signin/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» idintegertruenoneA unique internal id identifying the authenticated user
» ext_idinteger¦nulltruenoneA unique external id identifying the authenticated user
» usernamestringtruenoneUsername of the authenticated user
» rolestring¦nullfalsenoneRole of the user; it can be: admin, moderator, editor
» tagslist(integer)¦nullfalsenoneList of tag ids

Example responses

{
"id": "integer",
"ext_id": "integer",
"username": "string",
"role": "string",
"tags": ["integer"]
}