tessera

Every configured backend, with what it is holding.

GET
/api/v1/admin/storage/backends

Errors

401 when nothing was signed in, 403 when the caller may not read settings, 404 when this instance has no administration.

session
cookietessera_session<token>

Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.

Response Body

What is configured, without the credentials

application/json
  1. response
[index: integer]?

One backend, as the panel draws it.

Four booleans for four unrelated questions: where new uploads go, whether this one still accepts them, whether the process can reach it, and whether browsers may be redirected to it. Merging any pair into an enum would invent a state that does not exist, since a read-only backend can be the default and an unreachable one can be either.

curl -X GET 'https://example.com/api/v1/admin/storage/backends'
[  {    "access_key": "string",    "capacity_bytes": 0,    "config": {      "account": "string",      "allow_http": true,      "endpoint": "string",      "region": "string"    },    "direct_access": true,    "is_default": true,    "last_checked_at": "2019-08-24T14:15:22Z",    "last_error": "string",    "name": "string",    "reachable": true,    "read_only": true,    "url": "string",    "used_bytes": 0  }]