Storage — API reference
Where the account's files are stored (Burmeel or the account's own S3 bucket), usage, quota and moving files. Changes need `storage:manage`; secrets are never answered.
← All groups
GET
/api/v1/account/storage
The account's storage settings and usage
Scope: account
· storage.show
Responses 200 · 401 · 403 · 429
200 Success
storage *
StorageSettings
fields
StorageSettings
can_manage
boolean
The person may change storage
current_ref
string
The backend new files go to
last_test
object | null
fields
at
string (date-time)
message
string | null
ok
boolean
moves
[StorageMove]
The latest 5 moves
fields
StorageMove
bytes_moved
integer
delete_source
boolean
errors
[any]
failed
integer
finished_at
string | null
id *
string (uuid)
inserted_at
string (date-time)
moved
integer
skipped
integer
started_at
string | null
status
string
target_ref
string
to
string
burmeel or s3
total
integer
pending_move
integer
Files not yet where new files go
provider
"burmeel" | "s3"
quota
object
fields
free_bytes
integer | null
limit_bytes
integer | null
plan
string
used_bytes
integer
s3
object
fields
access_key_id_hint
string
The access key id, masked
bucket
string
configured *
boolean
endpoint
string | null
id
string (uuid)
path_prefix
string | null
region
string
secret_access_key
string | null
"saved" when one is stored; never the secret
usage
object
fields
by_provider
object
Backend → usage
bytes
integer
objects
integer
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
PUT
/api/v1/account/storage
Choose where new files are stored
`provider: burmeel`, or `provider: s3` with the bucket's settings (tested live before saving). Needs `storage:manage`.
Scope: account
· storage.update
Request body application/json
provider *
"burmeel" | "s3"
s3
object
fields
access_key_id
string
bucket
string
endpoint
string | null
For S3-compatible services
path_prefix
string | null
region
string
secret_access_key
string
Write-only
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429 · 503
200 Success
storage *
StorageSettings
fields
StorageSettings
can_manage
boolean
The person may change storage
current_ref
string
The backend new files go to
last_test
object | null
fields
at
string (date-time)
message
string | null
ok
boolean
moves
[StorageMove]
The latest 5 moves
fields
StorageMove
bytes_moved
integer
delete_source
boolean
errors
[any]
failed
integer
finished_at
string | null
id *
string (uuid)
inserted_at
string (date-time)
moved
integer
skipped
integer
started_at
string | null
status
string
target_ref
string
to
string
burmeel or s3
total
integer
pending_move
integer
Files not yet where new files go
provider
"burmeel" | "s3"
quota
object
fields
free_bytes
integer | null
limit_bytes
integer | null
plan
string
used_bytes
integer
s3
object
fields
access_key_id_hint
string
The access key id, masked
bucket
string
configured *
boolean
endpoint
string | null
id
string (uuid)
path_prefix
string | null
region
string
secret_access_key
string | null
"saved" when one is stored; never the secret
usage
object
fields
by_provider
object
Backend → usage
bytes
integer
objects
integer
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
409 A move is already running, or nothing to move
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
503 Storage not configured
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
Example
POST
/api/v1/account/storage/move
Move existing files to where new files go
Starts a background move (202). `delete_source` deletes each original once copied.
Scope: account
· Idempotency-Key
· storage.move
Request body application/json
delete_source
boolean
Default false
Responses 202 · 401 · 402 · 403 · 409 · 422 · 429 · 503
202 Success
move *
StorageMove
fields
StorageMove
bytes_moved
integer
delete_source
boolean
errors
[any]
failed
integer
finished_at
string | null
id *
string (uuid)
inserted_at
string (date-time)
moved
integer
skipped
integer
started_at
string | null
status
string
target_ref
string
to
string
burmeel or s3
total
integer
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
409 A move is already running, or nothing to move
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
503 Storage not configured
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
Example
POST
/api/v1/account/storage/test
Test S3 settings (or the saved bucket)
Writes, reads back and deletes a test file. Without `s3` tests the saved bucket.
Scope: account
· Idempotency-Key
· storage.test
Request body application/json
s3
object
fields
access_key_id
string
bucket
string
endpoint
string | null
For S3-compatible services
path_prefix
string | null
region
string
secret_access_key
string
Write-only
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429 · 503
200 Success
message
string
ok *
boolean
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
409 A move is already running, or nothing to move
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
503 Storage not configured
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
Example