Dashboard metrics

Получить доступные показатели

Changed on

Каталог серверных показателей для снимков и подписных сводок, объявленных модулями-владельцами. Нужны dashboard:read, включённый модуль-владелец и актуальное право сотрудника читать его данные. Показатели считают службы владельцев; клиент и модель не создают свои формулы. Пока этот каталог не перечисляет все настраиваемые карточки веб-дашборда; для остальных сценариев используются API модулей-владельцев. Каталог не содержит учётных фактов.

get/api/v1/dashboard/metrics

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Каталог доступных показателей

object required
count, integer required
results, DashboardMetricDefinition[] required

Changes

    • info

      added the required property results/items/explainable to the response with the status

    • info

      added the required property results/items/rules to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision