Cookbook

Submit or update a rating (1–5) for a community recipe

post/api/cookbook/recipes/{id}/ratings

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}/ratings
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

ratingnumber required

Rating value between 1 and 5

Response

unknown required

Example response

{
  "success": true,
  "message": "Rating saved",
  "averageRating": 4.2,
  "ratingCount": 12
}

Changes

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