Cookbook

Get recipe categories with counts

get/api/cookbook/categories

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/cookbook/categories
  • Auth
    HTTP bearer

Response

unknown required

Example response

{
  "success": true,
  "categories": [
    {
      "name": "breakfast",
      "count": 3
    },
    {
      "name": "lunch",
      "count": 5
    },
    {
      "name": "dinner",
      "count": 4
    },
    {
      "name": "snack",
      "count": 2
    }
  ]
}

Changes

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