List of ingredients
Kitchen Ingredients API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi
Development server
https://dev.api.example.com
Staging server
https://stg.api.example.com
Production server
https://phronesis-inspironix.redocly.app/{{OUR_SERVER}}
- Mock serverhttps://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients
- Development serverhttps://dev.api.example.com/ingredients
- Staging serverhttps://stg.api.example.com/ingredients
- Production serverhttps://phronesis-inspironix.redocly.app/{{OUR_SERVER}}/ingredients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "object": "string", "page": { "endCursor": "string", "startCursor": "string", "hasNextPage": true, "hasPrevPage": true, "limit": 0, "total": 0 }, "items": [ { … } ], "total": 0 }
- Mock serverhttps://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients
- Development serverhttps://dev.api.example.com/ingredients
- Staging serverhttps://stg.api.example.com/ingredients
- Production serverhttps://phronesis-inspironix.redocly.app/{{OUR_SERVER}}/ingredients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"quantity": 0,
"unit": "string",
"useBefore": "2019-08-24T14:15:22Z"
}'Response
application/json
{ "id": "string", "object": "string", "kitchenId": "string", "name": "string", "quantity": 0, "unit": "string", "useBefore": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }
- Mock serverhttps://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients/{id}
- Development serverhttps://dev.api.example.com/ingredients/{id}
- Staging serverhttps://stg.api.example.com/ingredients/{id}
- Production serverhttps://phronesis-inspironix.redocly.app/{{OUR_SERVER}}/ingredients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock serverhttps://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients/{id}
- Development serverhttps://dev.api.example.com/ingredients/{id}
- Staging serverhttps://stg.api.example.com/ingredients/{id}
- Production serverhttps://phronesis-inspironix.redocly.app/{{OUR_SERVER}}/ingredients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://phronesis-inspironix.redocly.app/_mock/apis/kitchen-api/openapi/ingredients/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "id": "string", "object": "string", "kitchenId": "string", "name": "string", "quantity": 0, "unit": "string", "useBefore": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }