Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

checkout

Edbergarn edited this page Sep 17, 2019 · 2 revisions

URL POST /api/checkout

Check out as client.

Request

{
    "token": "CB23C3395153D2414CE7FF22F925776DBF72BF309",   /* Login token */
}

Response success

{
    "success": true,        /* If the action was successful */
    "checked_in": false      /* If the user was checked in (otherwise checked out) */
}

Response fail

{
    "success": false,
    "reason": "Invalid token"
}
Clone this wiki locally