food

Get the ontologies for the food editor

get/food/ontologies/all

Request

  • Base URL
    https://api.rxfoodapp.com/api
  • URL
    https://api.rxfoodapp.com/api/food/ontologies/all
  • Auth
    HTTP bearer

Query parameters

include_archivedboolean

Response

successful operation

adult_serving_size_gnumber nullable
ghg_equivalent_kgnumber nullable
idinteger nullable
levelsstring[] required

Example response

[
  {
    "id": 42,
    "levels": [
      "food"
    ]
  }
]

Changes

No recorded changes to this operation across all 19 revisions of this API.