StarSling
APIDisks

List StarSling Disks presets

The presets a StarSling Disks step may name in preset:: each one's directory, default size cap and change test, and the limits every disk is held to. A preset mounts the tool's own default directory, so the tool needs no setting. Identical for every caller; requires no resource scope.

View Markdown
GET/api/disks/presets

Authorization

bearerAuth
AuthorizationBearer <token>

Session token from sling login.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/disks/presets"
{  "presets": [    {      "name": "pnpm-store",      "base": "home",      "path": ".local/share/pnpm/store",      "size_cap_bytes": 20000000000,      "change_test": "content-only"    }  ],  "limits": {    "default_size_cap_bytes": 10000000000,    "max_size_cap_bytes": 200000000000,    "max_disks_per_repository": 32  }}