Cookbook

List comments on a community recipe (paginated)

get/api/cookbook/recipes/{id}/comments

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/recipes/{id}/comments
  • Auth
    HTTP bearer

Path parameters

idnumber required

Query parameters

pagenumber
limitnumber

Response

unknown required

Example response

{
  "success": true,
  "comments": [
    {
      "id": 10,
      "body": "Love this!",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "user": {
        "userId": 7,
        "firstName": "Tom",
        "lastName": "K.",
        "profileImageUrl": null
      },
      "replies": [
        {
          "id": 14,
          "body": "Agreed!",
          "createdAt": "2026-01-01T01:00:00.000Z",
          "parentId": 10,
          "user": {
            "userId": 9,
            "firstName": "Amy",
            "lastName": "S.",
            "profileImageUrl": null
          }
        }
      ]
    }
  ],
  "total": 1,
  "page": 1,
  "limit": 20
}

Changes

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