GET /data.json{
"version" : "VERSION_HASH",
"tiles" : [
// Array of tiles
]
}Field tiles contains tile objects.
{
"id" : "UNIQUE_TILE_ID",
"source" : "PROVIDER_TYPE",
"updated" : "LAST_TILE_UPDATE_TIME",
"type" : "TILE_TYPE",
"size" : "TILE_SIZE",
"state" :"TILE_STATE",
"titleText" : "TILE_TITLE_TEXT",
"descrText" : "TILE_DESCRIPTION_TEXT",
"statusValue" : 100
}| Field | Type | Required | Decription |
|---|---|---|---|
id |
string |
Yes | Tile ID. It's is stable and should not change. |
source |
string |
Yes | Corresponding tile provider type. |
updated |
datetime |
Yes | Tile's last update time. |
type |
string (see below) |
Yes | Tile layout type. |
size |
string (see below) |
Yes | Tile size. |
state |
string (see below) |
Yes | Tile state. |
titleText |
string |
Yes | Tile title text. |
descrText |
string |
No | Tile description text. |
statusValue |
number? |
No | Tile's progress bar position. |
Note:
idis stable and should not change
Different tile types support different fields.
More specifically, fields titleText, descrText and statusValue might be supported or not supported by various tile layouts.
| Type | Supported fields | Providers | Description |
|---|---|---|---|
text |
titleText |
Tile with one line of text | |
text-status |
titleText, descrText |
check |
Tile with header and a line of text |
text-status-2 |
titleText, descrText |
1cloud |
Tile with small header and a large line of text |
text-status-bar |
titleText, descrText, statusValue |
sim, mongdb, teamcity |
Tile with header, a large line of text and a progress bar |
Valid values are:
1x- tile that takes 1x1 grid cell2x- tile that takes 2x1 grid cells (horizontally)4x- tile that takes 2x2 grid cells
Valid values are:
default- default gray tilesuccess- success green tileindeterminate- indeterminate cyan tilewarning- warning orange tileerror- default red tile