Dashboard

Update a dashboard

Changed on

Edits a dashboard. Omitted fields keep their current value. widgets, when sent, replaces the list: widgets are matched by name, so a widget that keeps its name keeps its id; a new name adds a widget and a name no longer listed removes it. To change one widget, PUT /v1/dashboard/{dashboardId}/widget/{widgetId}.

put/v1/dashboard/{dashboardId}

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/dashboard/{dashboardId}
  • Auth
    HTTP bearer

Path parameters

dashboardIdstring uuid required

The dashboard ID

Request body

namestring
descriptionstring
isDefaultboolean

Example request

{
  "timeRange": {
    "type": "CALENDAR_ALIGNED",
    "period": "THIS_MONTH"
  }
}

Response

The updated dashboard

Changes

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property /////// became optional for the status

    • breaking

      the response property ///// became optional for the status

    • breaking

      the response property /////// became optional for the status

    • warning

      added the new IS_NOT_SET enum value to the /// response property for the response status

    • warning

      added the new IS_NOT_SET enum value to the /////// response property for the response status

    • warning

      added the new IS_NOT_SET enum value to the ///// response property for the response status

    • warning

      added the new IS_NOT_SET enum value to the /////// response property for the response status

    • warning

      added the new IS_NOT_SET enum value to the ///// response property for the response status

    • warning

      added the new IS_SET enum value to the /// response property for the response status

    • warning

      added the new IS_SET enum value to the /////// response property for the response status

    • warning

      added the new IS_SET enum value to the ///// response property for the response status

    • warning

      added the new IS_SET enum value to the /////// response property for the response status

    • warning

      added the new IS_SET enum value to the ///// response property for the response status

    • info

      the request property // became optional

    • info

      the request property ////// became optional

    • info

      the request property //// became optional

    • info

      the request property ////// became optional

    • info

      added the new IS_NOT_SET enum value to the request property //

    • info

      added the new IS_NOT_SET enum value to the request property //////

    • info

      added the new IS_NOT_SET enum value to the request property ////

    • info

      added the new IS_NOT_SET enum value to the request property //////

    • info

      added the new IS_NOT_SET enum value to the request property ////

    • info

      added the new IS_SET enum value to the request property //

    • info

      added the new IS_SET enum value to the request property //////

    • info

      added the new IS_SET enum value to the request property ////

    • info

      added the new IS_SET enum value to the request property //////

    • info

      added the new IS_SET enum value to the request property ////

    • info

      endpoint added