Skip to content

Get an ingriedient

Request

Get details about an ingredient.

Security
jwtToken
Path
idstring, (uuid)
curl -i -X GET \
  'https://innovario.apishowdown.com/_mock/catalog/api-showdown/api-hub/kitchen/openapi/ingredients/{id}' \
  -H 'authorization: YOUR_API_KEY_HERE'

Responses

Ok

Bodyapplication/json
idstring, (uuid)read-onlyrequired

Identifier of ingredient.

objectstringread-onlyrequired
Value:"ingredient"
kitchenIdstringrequired
Example:"altman-family"
namestringrequired

Name of ingredient.

Example:"broccoli"
quantitynumberrequired

Quantity of the ingredient.

Example:10
unitstringrequired

Unit of the ingredient.

Example:"cups"
useBeforestring, (date-time)required

Expiration date of the ingredient.

createdAtstring, (date-time)read-onlyrequired

Production date of the ingredient.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "ingredient", "kitchenId": "altman-family", "name": "broccoli", "quantity": 10, "unit": "cups", "useBefore": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }