Baack

Client Context

Browse the docs

Endpoints

  • ReadGET/n/v1/clientcontext

    Client context provides state information for the request context which can be useful for directing interactions

    Responses

    200 OK
    returns Client ContextREAD_SUCCESS
    404 Not found
    returns ErrorNOT_FOUND
    curl -H "Authorization: Bearer $BAACK_API_TOKEN" \
      https://api.baack.co/n/v1/clientcontext

Fields

Client Context fields
FieldTypeDescription
userIdentitiesarray of Company Identity

Ignored on update.

hasBearerboolean
identityIdentity
hasSessionboolean
clientAPI Client
companyCompany
loginIframeSrcstring (uri)
userUser

Company Identity

Representation used to capture the association between a company an an identity within that company scope

Fields

Company Identity fields
FieldTypeDescription
identityIdentity
companyCompany

Used by: Client Context

User

Representation of a session user returned in contexts like the API client context when user based authentication is being used

Fields

User fields
FieldTypeDescription
urnstring (uuid)
rolestring

One of: ANONYMOUS, DEFAULT, COMMENTER, EDITOR, PUBLISHER, ADMIN, SUPER

statusstring

One of: UNVERIFIED, VERIFIED, MODERATED

Used by: Client Context