GET

Authorizations

x-api-key
string
header
required

Path Parameters

session_id
string
required

ID of the session (ses_ followed by 26 lowercase base32 characters). A session of another workspace, a deleted session and an unknown ID all answer 404 not_found_error without an error.code.

resource_id
string
required

ID of a file resource of the session (sesrsc_ followed by 26 lowercase base32 characters). Memory store resources have no ID. An ID the session does not have answers 404 resource_not_found.

Response

Success.

The requested session resource.

id
string
required

ID of the resource.

created_at
string
required

A timestamp in RFC 3339 format

mount_path
string
required

Where the repository is checked out.

type
string
required

Always github_repository.

Allowed value: "github_repository"
updated_at
string
required

A timestamp in RFC 3339 format

url
string
required

URL of the repository.

checkout
object

The branch or commit checked out.