Editor Data

📘

The platform object is available from the editor UI and within the site overview and site preview pages (if logged in).

Account

platform.data.account

Information about the account logged into the platform. This can be accessed within the editor and dashboard.

PropertyDescription
nameThe account that is using the editor/dashboard.
emailThe email associated with the account using the editor/dashboard.
typeThe type of account that is using the editor/dashboard. Will have a value of either STAFF or CLIENT.
last_loginThe datetime of the last login. Null if the user has not logged in before.
permissionGroupThe permissionGroup object containing the data regarding the STAFF member. Is null if the type parameter is CLIENT.
permissionsThe set of permissions associated with the client. See the Client Permissions Object for the full list of available permissions. Is null if the type parameter is STAFF.

permissionGroup

PropertyDescription
nameThe name of the permission group a STAFF member is assigned to.
titleThe title of the permission group a STAFF member is assigned to.
typeThe type of the STAFF member. Can be either DUDA or CUSTOM.
permissionsThe set of permissions associated with the STAFF member. See the Team Permissions Object for the full list of available permissions.

Site

platform.data.site

The site that is being edited. This can only be accessed within the editor.

PropertyDescription
nameThe site that is being edited.
externalUIDThe externalUID of the site (if assigned).
plan.idThe id of the plan for this site.
plan.nameThe name of the plan for this site.