ReferenceRecipes
/api/v1/recipes
List and search recipes
GET
/api/v1/recipesrezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Query Parameters
q?string
Full-text search query
Length
length <= 100maxMinutes?integer
Only recipes whose total time is at most this many minutes
Format
int64Range
0 <= value <= 1440favorites?boolean
Restrict to the caller's own favorites
sort?string
Result order: tasty puts the most tasty marks first
Default
"updated"Value in
- "updated"
- "created"
- "title"
- "tasty"
page?integer
1-based page number
Format
int64Range
1 <= valueDefault
1limit?integer
Page size
Format
int64Range
1 <= value <= 100Default
24Response Body
application/json
application/problem+json
curl -X GET "https://example.com/api/v1/recipes"{ "$schema": "https://example.com/api/v1/schemas/Page.json", "items": [ { "coverImageId": "string", "createdBy": { "avatarId": "string", "color": "string", "displayName": "string", "id": "string", "username": "string" }, "favorite": true, "id": "string", "imageBytes": 0, "imageCount": 0, "newComments": true, "slug": "string", "tags": [ "string" ], "tasty": true, "tastyCount": 0, "title": "string", "totalMinutes": 0, "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": { "avatarId": "string", "color": "string", "displayName": "string", "id": "string", "username": "string" } } ], "limit": 0, "page": 0, "total": 0}