Skip to content
Select themeSelect language

PATCH /api/me/verbosity — set or clear the current user's default live-feed verbosity. Delegates label validation + persistence to the verbosity service.

PATCH
/api/me/verbosity
curl --request PATCH \
--url https://example.com/api/me/verbosity \
--header 'Content-Type: application/json' \
--data '{ "verbosity": "example" }'
Media typeapplication/json

Body of PATCH /api/me/verbosity: set (or clear) the current user’s default live-feed verbosity (#583 / ADR 0049). verbosity = null CLEARS the default so the feed falls back to the built-in reduced. A present-but-unrecognized label is rejected as a 400 by the service.

object
verbosity
required

The canonical verbosity label "reduced" | "chatty", or null to clear the default. Free-form/German labels are also accepted and normalized server-side.

string | null
Examplegenerated
{
"verbosity": "example"
}

Whether the default was updated

Media typeapplication/json

{"updated": <bool>} — an update acknowledgement; updated is false when the row was a no-op (e.g. an already-read notification).

object
updated
required

Whether a row was updated.

boolean
Examplegenerated
{
"updated": true
}

Unknown verbosity label

Media typeapplication/json

The canonical JSON body of every error response — the single source of truth the frontend binds to. Every AppError serializes as this exact shape, and the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is what the frontend error schema is generated from, so there is no hand-written error schema on either end.

object
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden bad_request unprocessable precondition_failed conflict method_not_allowed rate_limited quota_exceeded database_error docker_error vault_error internal_error
details
One of:
null
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
Example
{
"code": "not_found"
}

Authentication required

Media typeapplication/json

The canonical JSON body of every error response — the single source of truth the frontend binds to. Every AppError serializes as this exact shape, and the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is what the frontend error schema is generated from, so there is no hand-written error schema on either end.

object
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden bad_request unprocessable precondition_failed conflict method_not_allowed rate_limited quota_exceeded database_error docker_error vault_error internal_error
details
One of:
null
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
Example
{
"code": "not_found"
}

Structured server error

Media typeapplication/json

The canonical JSON body of every error response — the single source of truth the frontend binds to. Every AppError serializes as this exact shape, and the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is what the frontend error schema is generated from, so there is no hand-written error schema on either end.

object
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden bad_request unprocessable precondition_failed conflict method_not_allowed rate_limited quota_exceeded database_error docker_error vault_error internal_error
details
One of:
null
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
Example
{
"code": "not_found"
}