Leap0

Get sandbox workdir

Returns the configured working directory used for the sandbox init command.

GET
/v1/sandbox/{sandboxID}/system/workdir

Returns the configured working directory used for the sandbox init command.

Authorization

BearerAuth
AuthorizationBearer <token>

API key passed as a Bearer token in the Authorization header. Alternatively, use the leap0-authorization header.

In: header

Path Parameters

sandboxID*string

Unique sandbox identifier.

Response Body

application/json

application/json

application/json

curl -X GET "https://api.leap0.dev/v1/sandbox/string/system/workdir"
{  "workdir": "/workspace"}
{  "message": "string"}
{  "message": "string"}