Pular para o conteúdo principal

Portal

O site do portal — rascunho, publicação e versões das páginas, e a biblioteca de arquivos que ele mostra — e a configuração dele: marca, domínio, domínios próprios e provedores de login.

Famílias nesta página​

FamíliaToolsreadwritedestructive
portal-builder — Construtor do portal3110147
assets — Arquivos12552
portal-settings — Configurações do portal7232
portal-custom-domains — Domínios próprios5212
portal-oauth-providers — Provedores de login5122

portal-builder​

ToolTipoEscopoPermissãoEndpointO que faz
dashboards_builder_getreadreadportal-config.viewGET /v1/builderRead the portal builder of the workspace: portal identity, the draft (pages with their badge against the live version, revision, dirty), the live version number, the published versions, the theme and the SEO defaults.
dashboards_builder_draft_savewrite · confirmação (conforme os argumentos)writeportal-config.updatePUT /v1/builder/draftSave the whole portal draft (pages in menu order, editor state, optional theme and SEO defaults), guarded by revision.
dashboards_builder_publishdestructivewriteportal-config.updatePOST /v1/builder/publishSave the draft as sent and publish it as the next portal version — visitors see it immediately.
dashboards_builder_versions_getreadreadportal-config.viewGET /v1/builder/versions/:numberFetch one published portal version by number, with the pages it froze.
dashboards_builder_versions_rollbackdestructivewriteportal-config.updatePOST /v1/builder/versions/:number/rollbackPut a published version back on the air as the next version number — visitors see it immediately.
dashboards_builder_encrypt_secretwritewriteportal-config.updatePOST /v1/builder/encrypt_secretEncrypt a value a block keeps in the page JSON (e.g.
dashboards_builder_upload_og_imagewritewriteportal-config.updatePOST /v1/builder/upload_og_imageUpload an og:image (PNG, JPEG or WebP, base64, at most ~1.5 MB) for a page or the portal defaults.
dashboards_builder_test_formdestructivewriteportal-config.updatePOST /v1/builder/test_formTest a form block from your draft: really sends the configured e-mail (or fires the chosen webhook), marked as a preview.
dashboards_builder_test_actiondestructivewriteportal-config.updatePOST /v1/builder/test_actionTest an action-button block from your draft: really sends its webhook request (POST/PUT/PATCH to an https URL), marked as a preview.
dashboards_builder_versions_restoredestructivewriteportal-config.updatePOST /v1/builder/versions/:number/restoreCopy a published portal version into the DRAFT, replacing the draft pages (to keep editing from an older version).
dashboards_builder_theme_updatewritewriteportal-config.updatePATCH /v1/builder/themeChange colors of the portal pages' theme (the builder's Visual tab) on the draft, per mode, in hex: primary, primary_foreground, accent, background, foreground, card, muted, muted_foreground, border.
dashboards_builder_list_block_typesreadreadportal-config.viewGET /v1/builder/tools/:nameLists the block catalog: every block type the portal can render, with what it is for.
dashboards_builder_describe_block_typereadreadportal-config.viewGET /v1/builder/tools/:nameThe props of one block type: JSON Schema, defaults and slots.
dashboards_builder_list_actionsreadreadportal-config.viewGET /v1/builder/tools/:nameWhat an ActionButton can do (its actionType): open a link (a portal page or a URL) or fire a webhook, and the {{variables}} its webhook URL, headers and body may use.
dashboards_builder_get_themereadreadportal-config.viewGET /v1/builder/tools/:nameThe colors of the portal pages (the Visual tab of the draft), in hex, for light and dark mode: what each color is for and its current value.
dashboards_builder_list_pagesreadreadportal-config.viewGET /v1/builder/tools/:nameLists the pages of the draft in menu order: id, name, path, title and block count.
dashboards_builder_get_pagereadreadportal-config.viewGET /v1/builder/tools/:nameOne page of the draft: its settings (name, path, title, SEO) and its block tree, each block with id, type, props and slots.
dashboards_builder_read_assetreadreadportal-config.viewGET /v1/builder/tools/:nameOpens a file of the Assets library to look at its content: an image or a PDF is shown to you, a text file (txt, csv, json, md, xml) or an .xlsx spreadsheet comes as text.
dashboards_builder_preview_portal_user_mappingreadreadportal-config.viewGET /v1/builder/tools/:nameChecks a portal user mapping before saving it with dashboards_portal_user_mappings_update: the entity whose records would become the portal users, its tenant ID, e-mail and name fields, how many users that is, and how the tenant IDs match the owners of the other entities' records.
dashboards_builder_create_pagewritewriteportal-config.updatePOST /v1/builder/tools/:nameCreates a page in the draft and adds it to the portal menu.
dashboards_builder_update_pagewritewriteportal-config.updatePOST /v1/builder/tools/:nameChanges the settings of a page: menu name, route, browser title, whether it is listed in the portal menu, and SEO / Open Graph tags.
dashboards_builder_delete_pagedestructivewriteportal-config.updatePOST /v1/builder/tools/:nameRemoves a page (and its blocks) from the draft and from the menu.
dashboards_builder_move_pagewritewriteportal-config.updatePOST /v1/builder/tools/:nameMoves a page to another place in the portal menu.
dashboards_builder_insert_blockwrite · confirmação (conforme os argumentos)writeportal-config.updatePOST /v1/builder/tools/:nameInserts a block of the catalog in a page: at the page root, or inside a slot of a Columns/Tabs block (parent_block_id + slot).
dashboards_builder_update_blockwrite · confirmação (conforme os argumentos)writeportal-config.updatePOST /v1/builder/tools/:nameChanges props of a block.
dashboards_builder_move_blockwritewriteportal-config.updatePOST /v1/builder/tools/:nameMoves a block inside its page: to another position at the root (parent_block_id null) or into a slot of a Columns/Tabs block.
dashboards_builder_remove_blockdestructivewriteportal-config.updatePOST /v1/builder/tools/:nameRemoves a block (and the blocks inside it) from its page.
dashboards_builder_duplicate_blockwritewriteportal-config.updatePOST /v1/builder/tools/:nameCopies a block (with the blocks inside it) right after itself, with new ids.
dashboards_builder_register_entitywritewriteportal-config.updatePOST /v1/builder/tools/:nameRegisters an entity (data blocks bind to it) from an operation of a connected data source (describe_data_source), with the fields inferred from a sample of its records, and starts its first sync.
dashboards_builder_rename_entity_fieldswritewriteportal-config.updatePOST /v1/builder/tools/:nameChanges an existing entity: renames its fields — the labels the blocks show (table headers, card labels) — and, optionally, the entity itself, and can set its owner field (the titular: whose record it is).
dashboards_builder_save_computed_fieldwritewriteportal-config.updatePOST /v1/builder/tools/:nameAdds a computed field to an entity — a value derived from the other fields by an expression (n8n style) — or changes the expression of a computed field it already has (same key).

assets​

ToolTipoEscopoPermissãoEndpointO que faz
dashboards_assets_listreadreadportal-config.viewGET /v1/assetsList the files of the workspace library (images and documents), newest first by default.
dashboards_assets_getreadreadportal-config.viewGET /v1/assets/:idFetch one file of the library: name, link, visibility, type, size and alternative text.
dashboards_assets_downloadreadreadportal-config.viewGET /v1/assets/:id/downloadGet the bytes of a file, whatever its visibility.
dashboards_assets_presignwritewriteportal-config.updatePOST /v1/assets/presignGet a short-lived signed URL to PUT a file straight to storage (for files over ~1.5 MB).
dashboards_assets_createwrite · confirmação (conforme os argumentos)writeportal-config.updatePOST /v1/assetsAdd a file to the library: either the key of a file sent through dashboards_assets_presign, or the file itself in content_base64 (small files).
dashboards_assets_updatewrite · confirmação (conforme os argumentos)writeportal-config.updatePATCH /v1/assets/:idRename a file, change its alternative text, its visibility (making it public opens its storage URL to anyone; private or restricted closes it), its tenant, type or tags.
dashboards_assets_deletedestructivedeleteportal-config.updateDELETE /v1/assets/:idRemove a file from the library.
dashboards_asset_types_listreadreadportal-config.viewGET /v1/asset_typesList the file types of the workspace (Propostas, Contratos…), by name, with how many files each has.
dashboards_asset_types_getreadreadportal-config.viewGET /v1/asset_types/:idFetch one file type of the workspace: its name and dates.
dashboards_asset_types_createwritewriteportal-config.updatePOST /v1/asset_typesCreate a file type (unique name in the workspace, ignoring case).
dashboards_asset_types_updatewritewriteportal-config.updatePATCH /v1/asset_types/:idRename a file type; the files keep it under the new name.
dashboards_asset_types_deletedestructivedeleteportal-config.updateDELETE /v1/asset_types/:idRemove a file type.

portal-settings​

ToolTipoEscopoPermissãoEndpointO que faz
dashboards_portal_settings_getreadreadportal-config.viewGET /v1/portal_settingsRead the workspace portal's configuration: branding (company name, title, logos, theme colors), languages, address (signup_slug, portal_slug/portal_domain), login and SSO options, notification settings and sender identity, and site settings (security headers, SEO, tracking/chat integrations, custom code).
dashboards_portal_settings_updatewrite · confirmaçãowriteportal-config.updatePATCH /v1/portal_settingsUpdate the workspace portal's configuration.
dashboards_portal_settings_logo_uploadwritewriteportal-config.updatePOST /v1/portal_settings/logoUpload a portal image — the logo, the dark-background logo or the favicon — sent inline as base64.
dashboards_portal_settings_logo_deletedestructivedeleteportal-config.updateDELETE /v1/portal_settings/logoRemove a portal image (logo, dark-background logo or favicon); the portal falls back to its default.
dashboards_portal_settings_domain_updatewritewriteportal-config.updatePATCH /v1/portal_settings/domainSet the portal's platform address https://{slug}.{domain} (domain must be one of available_domains from dashboards_portal_settings_get), or clear it with both null.
dashboards_portal_settings_check_slugreadreadportal-config.viewGET /v1/portal_settings/domain/check_slugCheck whether a portal address slug.domain is free for this workspace.
dashboards_portal_settings_verify_senderdestructivewriteportal-config.updatePOST /v1/portal_settings/verify_senderRequest or re-check the AWS SES verification of the notification sender e-mail.

portal-custom-domains​

ToolTipoEscopoPermissãoEndpointO que faz
dashboards_portal_custom_domains_listreadreadportal-config.viewGET /v1/portal_custom_domainsList the custom domains of the workspace's portal, each with its status, certificate dates and the dns_records the customer must publish.
dashboards_portal_custom_domains_createwritewriteportal-config.updatePOST /v1/portal_custom_domainsRegister a custom domain (e.g.
dashboards_portal_custom_domains_deletedestructivedeleteportal-config.updateDELETE /v1/portal_custom_domains/:idRemove a custom domain from the portal, tearing down its CloudFront tenant and certificate when provisioned.
dashboards_portal_custom_domains_verifydestructivewriteportal-config.updatePOST /v1/portal_custom_domains/:id/verifyCheck the DNS of a custom domain and provision it on AWS (certificate + CloudFront tenant) while pending, or refresh its status once provisioned.
dashboards_portal_custom_domains_dns_statusreadreadportal-config.viewGET /v1/portal_custom_domains/:id/dns_statusRead-only DNS probe of a custom domain: whether the ownership TXT (_dashmagico-verify.{hostname}, ownership_ok) and the routing and certificate-validation CNAMEs (routing_ok, validation_ok) are in place, and what is wrong when not.

portal-oauth-providers​

ToolTipoEscopoPermissãoEndpointO que faz
dashboards_portal_oauth_providers_listreadreadportal-config.viewGET /v1/portal_oauth_providersList the portal's OpenID Connect login providers (name, issuer, client id, scopes, enabled).
dashboards_portal_oauth_providers_createwrite · confirmaçãowriteportal-config.updatePOST /v1/portal_oauth_providersAdd an OpenID Connect login provider to the portal.
dashboards_portal_oauth_providers_updatewrite · confirmaçãowriteportal-config.updatePATCH /v1/portal_oauth_providers/:idUpdate an OpenID Connect login provider.
dashboards_portal_oauth_providers_deletedestructivedeleteportal-config.updateDELETE /v1/portal_oauth_providers/:idRemove an OpenID Connect login provider from the portal; its login button disappears and its users can no longer sign in through it.
dashboards_portal_oauth_providers_testdestructivewriteportal-config.updatePOST /v1/portal_oauth_providers/testPre-flight check of an OIDC issuer URL: fetches its discovery document from the third-party issuer and returns its endpoints (ok: true) or why it failed (ok: false).

Os campos de cada recurso estão na Referência da API e em dashboards_schemas_get.

Uma tool que você não pode rodar não aparece em tools/list. Se uma daqui não está lá, veja Autenticação.