Dashboard V2

Create or replace the dashboard layout for an owner. Requires edit access: personal dashboards by their owner, org dashboards by members with manage_org_details, shop dashboards by users who can manage the shop.

put/dashboard/layout

Request

  • Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/dashboard/layout
  • Auth: loggedin (a scheme the document does not define)

Request body

owner_type'user' | 'org' | 'shop' required

Wire types for the customizable dashboard. These are the single source of truth for the DashboardConfig shape: TSOA emits them into the OpenAPI spec, and the frontend client codegen turns them into matching TypeScript types — so the same structure is used for server persistence, the API contract, and the client with no casting.

owner_idstring required

Response

Ok

owner_type'user' | 'org' | 'shop' required

Wire types for the customizable dashboard. These are the single source of truth for the DashboardConfig shape: TSOA emits them into the OpenAPI spec, and the frontend client codegen turns them into matching TypeScript types — so the same structure is used for server persistence, the API contract, and the client with no casting.

owner_idstring required
updated_bystring required
updated_atstring required

Changes

    • ▲

      added the new required request property /

    • ▲

      added the new required request property /

    • ▲

      the response's body type changed from object to no type for status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ○

      endpoint added