Skip to main content
GET
/
io.pocketenv.service.getServices
cURL
curl --request GET \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.service.getServices \
  --header 'Authorization: Bearer <token>'
{
  "services": [
    {
      "id": "<string>",
      "name": "<string>",
      "command": "<string>",
      "description": "<string>",
      "ports": [
        123
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

sandboxId
string
required

The ID of the sandbox for which to retrieve services.

Response

OK

services
object[]