Color Palettes

List custom color palettes

Changed on

Lists the custom chart color palettes defined for the organization. Built-in palettes are not included.

get/api/v1/color-palettes

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/color-palettes
  • Auth
    HTTP bearer

Response

Custom color palettes in the organization

Example response

{
  "color_palettes": [
    {
      "colors": [
        "#1f77b4",
        "#ff7f0e",
        "#2ca02c"
      ],
      "name": "Brand colors",
      "type": "discrete"
    }
  ]
}

Changes