StarSling
APIDisks

List an org's StarSling Disks

Every disk the organization's repositories keep: where steps mount it, the settings its last default-branch publisher stored (preset, size cap, change test, auto-mount), what its current contents hold and when they were published. repository_id narrows it to one repository. The caller must be a member of the org.

View Markdown
GET/api/disks

Authorization

bearerAuth
AuthorizationBearer <token>

Session token from sling login.

In: header

Query Parameters

org*string

GitHub organization login. The caller must be a member.

Length1 <= length
repository_id?string

Only this GitHub repository's disks.

Match^[0-9]+$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/disks?org=acme"
{  "disks": [    {      "repository_id": "892174354",      "name": "pnpm-store",      "platform": "ubuntu-24.04/x64",      "path": "/home/runner/.local/share/pnpm/store",      "preset": "pnpm-store",      "size_cap_bytes": 20000000000,      "change_test": "content-only",      "auto_mount": true,      "size_bytes": 6400000000,      "published_at": "2026-10-27T12:00:00.000Z",      "disabled": false    }  ]}