- Shopping
- Authorization
- Flights
- Destination experiences
- Car and Transfers
- Market insights
- Hotels
- Itinerary management
- STARGAME
- Common errors
- InitialGetBalance
- InitialGetBalance
- GetBalanceBadHash
- GetBalanceBadHash
- InvalidCommand
- InvalidCommand
- InvalidUserName
- InvalidUserName
- PlayerBetMissingTransactionId
- PlayerBetMissingTransactionId
- PlayerWinEmptyTransactionId
- PlayerWinEmptyTransactionId
- PlayerBetNegativeAmount
- PlayerBetNegativeAmount
- PlayerWinNegativeAmount
- PlayerWinNegativeAmount
- PlayerBetInsufficientBalance
- PlayerBetInsufficientBalance
- CheckBalance
- CheckBalance
- Workflow
- OpenSession
- OpenSession
- OpenSessionAlreadyOpened
- OpenSessionAlreadyOpened
- GetBalance
- GetBalance
- PlayerBet #1 (-50)
- PlayerBet #1 (-50)
- PlayerWin (+150)
- PlayerWin (+150)
- PlayerBet #2 (-50)
- PlayerBet #2 (-50)
- PlayerWinZeroAmount (+0)
- PlayerWinZeroAmount (+0)
- PlayerBet #3 (-50)
- PlayerBet #3 (-50)
- PlayerWin (+200)
- PlayerWin (+200)
- PlayerWinTransactionAlreadyExist
- PlayerWinTransactionAlreadyExist
- PlayerBet #4 (-200)
- PlayerBet #4 (-200)
- PlayerBetTransactionAlreadyExist
- PlayerBetTransactionAlreadyExist
- PlayerBetBadHash
- PlayerBetBadHash
- PlayerWinBadHash
- PlayerWinBadHash
- CancelBet #4 (+200)
- CancelBet #4 (+200)
- CancelBetAlreadyCancelled
- CancelBetAlreadyCancelled
- CancelBetDoesNotExist
- CancelBetDoesNotExist
- PlayerBet #5 (-50)
- PlayerBet #5 (-50)
- CloseSession
- CloseSession
- PlayerBet #6 (-250)
- PlayerBet #6 (-250)
- PlayerWin (+50)
- PlayerWin (+50)
- CancelBet #5 (+50)
- CancelBet #5 (+50)
- PlayerBet #7 (-100)
- PlayerBet #7 (-100)
- PlayerBet #8 (-50)
- PlayerBet #8 (-50)
- PlayerBet #9 (-25)
- PlayerBet #9 (-25)
- PlayerBet #10 (-25)
- PlayerBet #10 (-25)
- PlayerBet #11 (-50)
- PlayerBet #11 (-50)
- CancelBet #7 (+100)
- CancelBet #7 (+100)
- CancelBet #9 (+25)
- CancelBet #9 (+25)
- CancelBet #11 (+50)
- CancelBet #11 (+50)
- PlayerWin (+75)
- PlayerWin (+75)
- CloseSessionAlreadyClosed
- CloseSessionAlreadyClosed
- FinalCheckBalance
- FinalCheckBalance
- RemoteSession
- Common errors
- IMEI
- GPK
- SUPERSET
- Menu
- Queries
- Annotation Layers
- /annotation_layer/
- /annotation_layer/
- /annotation_layer/
- /annotation_layer/_info
- /annotation_layer/related/{column_name}
- /annotation_layer/{pk}
- /annotation_layer/{pk}
- /annotation_layer/{pk}
- /annotation_layer/{pk}/annotation/
- /annotation_layer/{pk}/annotation/
- /annotation_layer/{pk}/annotation/
- /annotation_layer/{pk}/annotation/{annotation_id}
- /annotation_layer/{pk}/annotation/{annotation_id}
- /annotation_layer/{pk}/annotation/{annotation_id}
- AsyncEventsRestApi
- CacheRestApi
- Charts
- CSS Templates
- Dashboards
- Database
- /database/
- /database/
- /database/_info
- /database/export/
- /database/import/
- /database/test_connection
- /database/{pk}
- /database/{pk}
- /database/{pk}
- /database/{pk}/function_names/
- /database/{pk}/related_objects/
- /database/{pk}/schemas/
- /database/{pk}/select_star/{table_name}/
- /database/{pk}/select_star/{table_name}/{schema_name}/
- /database/{pk}/table/{table_name}/{schema_name}/
- Datasets
- LogRestApi
- OpenApi
- Security
- VEGAS
- BI
- vl
- Vegaslounge
- VL
- VegasloungeAPI
/chart/{pk}
PUT
/chart/{pk}
Charts
Request
Path Params
pk
integer
required
Body Params application/json
cache_timeout
integer <int32> | null
optional
dashboards
array[integer <int32>]
optional
datasource_id
integer <int32> | null
optional
datasouce_id
and datasource_type
.datasource_type
enum<string> | enum<null>
optional
datasource_id
.Allowed values:
druidtableview
description
string | null
optional
owners
array[integer <int32>]
optional
params
string | null
optional
slice_name
string | null
optional
>= 0 characters<= 250 characters
viz_type
string | null
optional
>= 0 characters<= 250 characters
Example:
["bar","line_multi","area","table"]
Example
{
"cache_timeout": 0,
"dashboards": [
0
],
"datasource_id": 0,
"datasource_type": "druid",
"description": "string",
"owners": [
0
],
"params": "string",
"slice_name": "string",
"viz_type": [
"bar",
"line_multi",
"area",
"table"
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/chart/' \
--header 'Content-Type: application/json' \
--data-raw '{
"cache_timeout": 0,
"dashboards": [
0
],
"datasource_id": 0,
"datasource_type": "druid",
"description": "string",
"owners": [
0
],
"params": "string",
"slice_name": "string",
"viz_type": [
"bar",
"line_multi",
"area",
"table"
]
}'
Responses
🟢200OK
application/json
Body
id
number
optional
result
object (ChartRestApi.put)
optional
cache_timeout
integer <int32> | null
optional
dashboards
array[integer <int32>]
optional
datasource_id
integer <int32> | null
optional
datasouce_id
and datasource_type
.datasource_type
enum<string> | enum<null>
optional
datasource_id
.Allowed values:
druidtableview
description
string | null
optional
owners
array[integer <int32>]
optional
params
string | null
optional
slice_name
string | null
optional
>= 0 characters<= 250 characters
viz_type
string | null
optional
>= 0 characters<= 250 characters
Example:
["bar","line_multi","area","table"]
Example
{
"id": 0,
"result": {
"cache_timeout": 0,
"dashboards": [
0
],
"datasource_id": 0,
"datasource_type": "druid",
"description": "string",
"owners": [
0
],
"params": "string",
"slice_name": "string",
"viz_type": [
"bar",
"line_multi",
"area",
"table"
]
}
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
🔴500Server Error