Get provisioning
Endpoint allows to get provisioning data
Get provision data
GET
https://api.whisk.com/provision/v2/dictionaries
Method developed to get provision data for user. For example get list of all tags for review.
Query Parameters
Name
Type
Description
language
String
defaults to user's language
response_mask.paths
Enum
The set of field mask paths. possible values: recipe_languages, cooking_devices, recipe_tags
Headers
Name
Type
Description
Authorization*
String
User Access token to authorize the API usage. For more information, see Authentication
{
"recipe_languages": [
{
"code": "string",
"display_name": "string"
}
],
"cooking_devices": [
{
"name": {
"name": "string",
"display_name": "string"
},
"image_url": "string",
"modes": [
{
"name": {
"name": "string",
"display_name": "string"
},
"attributes": [
{
"name": {
"name": "string",
"display_name": "string"
},
"type": "COOKING_INTENT_ATTRIBUTE_TYPE_INVALID",
"selection_values": [
{
"value_type": "COOKING_INTENT_ATTRIBUTE_VALUE_TYPE_INVALID",
"value_format": "string",
"double_values": {
"bounded": {
"min": 0,
"max": 0,
"step": 0
},
"list": {
"values": [
0
]
},
"default": 0,
"unit": {
"name": "string",
"display_name": "string"
}
},
"int_values": {
"bounded": {
"min": 0,
"max": 0,
"step": 0
},
"list": {
"values": [
0
]
},
"default": 0,
"unit": {
"name": "string",
"display_name": "string"
}
},
"string_values": {
"values": [
{
"name": "string",
"display_name": "string"
}
],
"unit": {
"name": "string",
"display_name": "string"
},
"default": "string"
}
}
],
"is_optional": true
}
],
"integration_status": "COOKING_DEVICE_MODE_INTEGRATION_STATUS_INVALID"
}
]
}
],
"recipe_tags": [
{
"group_display_name": "string",
"tags": [
{
"name": "string",
"display_name": "string"
}
]
}
]
}
Request body
Sample request and response
curl -X GET "https://api.b2c.whisk-dev.com/provision/v2/dictionaries?response_mask.paths=recipe_tags&response_mask.paths=recipe_languages" -H "accept: application/json" -H "Authorization: {beare_token}"
Last updated
Was this helpful?