Created.
Kitchen API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/
https://{tenant}/
- Mock server
https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/ingredients
https://creativara--add-kitchen-api.wysiwyg.cloud.redocly.com/_mock/apis/kitchen/ingredients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/ingredients \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"kitchenId": "altman-family",
"name": "broccoli",
"quantity": 1.5,
"unit": "cups",
"useBefore": "2019-08-24T14:15:22Z"
}'
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "ingredient", "kitchenId": "altman-family", "name": "broccoli", "quantity": 1.5, "unit": "cups", "useBefore": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }
- Mock server
https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/ingredients
https://creativara--add-kitchen-api.wysiwyg.cloud.redocly.com/_mock/apis/kitchen/ingredients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/ingredients \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response
application/json
{ "object": "list", "page": { "endCursor": "ZG9uJ3QgZGVjb2RlIG1l", "startCursor": "ZG9uJ3QgZGVjb2RlIG1l", "hasNextPage": false, "hasPrevPage": false, "limit": 10, "total": 0 }, "items": [ { … } ], "total": 1 }
- Mock server
https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/ingredients/{ingredientId}
https://creativara--add-kitchen-api.wysiwyg.cloud.redocly.com/_mock/apis/kitchen/ingredients/{ingredientId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://phronesis-creativara.redocly.app/_mock/products/api-hub/kitchen/ingredients/{ingredientId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "ingredient", "kitchenId": "altman-family", "name": "broccoli", "quantity": 1.5, "unit": "cups", "useBefore": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }