Cookbook

List recipes (own, community, or favorites)

get/api/cookbook

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

Query parameters

view'my' | 'community' | 'favorites'
mealTypestring
sort'newest' | 'top_rated' | 'trending'

Sort order. newest=by created_at desc (default), top_rated=by average rating desc, trending=by recent engagement (7 days) desc. Only meaningful for community and favorites views.

pagenumber
limitnumber
userIdnumber

Filter community view to a specific user's public recipes. Only valid with view=community.

Changes

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