Core GraphQL APIReferenceQueries
Identity__my Dashboard Layout
Current user's saved dashboard layout for the given scope (null = use defaults). Requires a signed-in staff user.
QUERY
identity__myDashboardLayout(scope: DashboardLayoutScope!): DashboardLayoutCurrent user's saved dashboard layout for the given scope (null = use defaults). Requires a signed-in staff user.
Arguments
scope*DashboardLayoutScope!Which console dashboard the layout belongs to
Value in
ADMINMERCHANTReturns
- identity__myDashboardLayout
_id*ID!createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
scope*DashboardLayoutScope!Which console dashboard the layout belongs to
Value in
ADMINMERCHANTtenant?StringupdatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
userId*String!widgets*Example Request
query Identity__myDashboardLayout($scope: DashboardLayoutScope!) { identity__myDashboardLayout(scope: $scope) { _id createdAt scope tenant updatedAt userId widgets { id span visible } }}{ "scope": "ADMIN"}{ "data": { "identity__myDashboardLayout": { "_id": "1", "createdAt": "<DateTime>", "scope": "ADMIN", "tenant": "string", "updatedAt": "<DateTime>", "userId": "string", "widgets": [ { "id": "string", "span": "FULL", "visible": true } ] } }}