Resource ia:colors

Overview

The ia:colors resource represents the list of colors defined in MediaCentral Newsroom Management system.

Properties

The ia:colors resource has the following properties:

colors

An array of JSON objects where each object represents one color. Each object has the following sub properties:

  • index: index of the color

  • value: hex representation of RGB color

The ia:colors resource has no link relations.

Description

The ia:colors resource represents the list of colors defined in MediaCentral Newsroom Management system.

Examples

Example: ia:colors
 
{
  "colors": [
    {
      "index": 1,
      "value": "#9fb290"
    },
    {
      "index": 2,
      "value": "#6f8d6b"
    },
    {
      "index": 3,
      "value": "#1a8b7d"
    },
    {
      "index": 4,
      "value": "#edaf08"
    },
    {
      "index": 5,
      "value": "#e5cf6d"
    },
    {
      "index": 6,
      "value": "#a54df7"
    },
    {
      "index": 7,
      "value": "#ca4bff"
    },
    {
      "index": 8,
      "value": "#a0a5da"
    },
    {
      "index": 9,
      "value": "#c8c8c8"
    },
    {
      "index": 10,
      "value": "#33ccff"
    }
  ],
  "_links": {
    "self": {
      "href": "http://host/…​"
    }
  }
}