dashboards

Ensure Default Dashboard

Idempotent: return the default dashboard, creating one if none exists.

Uses SELECT FOR UPDATE to prevent a race between two simultaneous tab loads.

post/api/v1/dashboards/ensure-default

Response

Successful Response

idstring uuid required
namestring required
is_defaultboolean required
kindstring nullable
category_idstring uuid nullable
sort_orderinteger
is_category_system_dashboardboolean
is_category_defaultboolean
default_date_rangestring nullable required
created_by_user_idstring uuid nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.