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

checkin

Olle Kaiser edited this page Sep 16, 2019 · 3 revisions

URL POST /api/checkin

Check in as client. With or without a project.

Request

{
    "token": "CB23C3395153D2414CE7FF22F925776DBF72BF309",   /* Login token */
    "project": "Time Rest"            /* Name of the project, can be empty */
}

Response success

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

Response fail

{
    "success": false,
    "reason": "Invalid token"
}

Clone this wiki locally