-
Notifications
You must be signed in to change notification settings - Fork 17
/
dimension_labels.json
42 lines (42 loc) · 1.19 KB
/
dimension_labels.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"id": "dimension_labels",
"summary": "Get the dimension labels",
"description": "Gives all labels for a dimension in the data cube. The labels have the same order as in the data cube.\n\nIf a dimension with the specified name does not exist, the process fails with a `DimensionNotAvailable` exception.",
"categories": [
"cubes"
],
"parameters": [
{
"name": "data",
"description": "The data cube.",
"schema": {
"type": "object",
"subtype": "datacube"
}
},
{
"name": "dimension",
"description": "The name of the dimension to get the labels for.",
"schema": {
"type": "string"
}
}
],
"returns": {
"description": "The labels as an array.",
"schema": {
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
},
"exceptions": {
"DimensionNotAvailable": {
"message": "A dimension with the specified name does not exist."
}
}
}