Skip to main content
PUT
Find or create the chat of a terminal session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

computerID
string<uuid>
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
sessionID
string<uuid>
required
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Body

application/json
branch
string | null
required

The branch the checkout is on; null on a detached HEAD.

Required string length: 1 - 255
Pattern: ^[^\0- \x7f-\xa0  - 

   ]+$
folder
string
required

The checkout's folder: the top of the git checkout the session runs in.

Required string length: 1 - 4096
Pattern: ^/
observed_at
string<date-time>
required

When the machine bridge saw the session, on the computer's clock.

remote
string
required

The checkout's origin remote, as a github.com repository URL.

Required string length: 1 - 2048
project_id
string<uuid>

Response

OK

chat
object
required

A terminal chat as its computer's machine bridge reads it: its id, its task, its status and whether its session's file is gone.

kind
enum<string>
required
Available options:
chat