Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

Dashboard

Dashboard

One of your dashboards on the plnnrly start page: rows of widgets, each with a place and a width on a grid of 12 columns.

View as Markdown
Summary view
DashboardList, 11 fields. What a list returns by default.
Detail view
Dashboard, 11 fields. The default for a single read and for every write.

Every user has exactly one standard dashboard (is_default), which cannot be deleted; any others carry a name and an icon and show as tabs. The collection is hard-scoped to the authenticated caller with no escape: nobody reads or writes another user's dashboards. A standard dashboard with layout: null was never changed by its user and shows the dashboard template the organization set up for them (/api/v2/dashboard-templates).

Used by

GETRead a dashboard/dashboards/{dashboard}Dashboard
PATCHUpdate a dashboard/dashboards/{dashboard}Dashboard

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

user_idintegerServer-assigned

The user the dashboard belongs to. Always the authenticated caller.

namestring or null≤ 60

The name on the dashboard's tab. Null on the standard dashboard, which plnnrly calls "Standard" in the user's language.

iconstring or null

The icon on the dashboard's tab. Null on the standard dashboard, which shows a house.

home
chart_bar
chart_pie
presentation_chart
briefcase
folder
clipboard
calendar
clock
users
team
euro
banknotes
document
inbox
star
flag
rocket
light_bulb
wrench
globe
map
heart
bolt
building

New values may be added.

is_defaultbooleanServer-assigned

Whether this is the user's standard dashboard, the one the start page opens on. Every user has exactly one, made when it is first needed; it is never created or deleted through the API.

positioninteger

The order of the tabs, lowest first, after the standard dashboard.

customizedbooleanServer-assigned

Whether the dashboard has a layout of its own. False only on a standard dashboard that follows the user's dashboard template.

layoutarray of object or null

The widgets, in the order they are stored. Null on a standard dashboard that follows the user's dashboard template; send null to put it back to the template. Entries that overlap are laid out again as the editor does: a widget moves right, narrows to fit, or goes to a row of its own below. A widget you may not see right now, because of a permission or a feature, is kept when you send a layout without it, so it comes back once you may see it again.

Show 7 child fields
layout.idstring

The entry's id; under names it. Generated when you leave it out.

layout.widgetstring

The widget, by key, such as worklog or recent-projects.

layout.rowinteger

The row, from 0 at the top.

layout.startinteger

The first of the 12 columns the widget takes, from 1.

layout.columnsinteger

How many of the 12 columns the widget takes, at least the widget's own minimum. Its maximum is only a recommendation: a widget may take all 12.

layout.settingsobject

The widget's own settings, such as the number of rows. A setting left out takes its default.

layout.understring or null

The id of the entry this one sits below, in its place and width: a stack. Null when it stands on its own.

created_attimestamp (YYYY-MM-DDThh:mm:ssZ)

Creation timestamp.

updated_attimestamp (YYYY-MM-DDThh:mm:ssZ)

Last-write timestamp; use for incremental sync.

Variants

DashboardList 11 fields

What a collection returns, and what ?view=summary returns on a single record.

The same fields as the detail object.