Skip to main content

GET /api/recipes

Returns a paginated, filterable list of recipes.

Query Parameters

ParameterDefaultDescription
page1Page number
limit20Items per page
filmSimulationFilter by film simulation
cameraModelFilter by camera model
searchSearch title/description
sortrecentrecent or popular

Response (200)

{
  "data": [
    {
      "id": "uuid",
      "title": "Classic Chrome Street",
      "description": "Moody street photography look",
      "coverImageUrl": "https://...",
      "filmSimulation": "Classic Chrome",
      "cameraModel": "X-T5",
      "favoriteCount": 42,
      "isFavorited": false,
      "author": {
        "id": "uuid",
        "username": "johndoe",
        "avatarUrl": "https://..."
      },
      "createdAt": "2024-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 150,
    "totalPages": 8
  }
}