Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
document size query parameter on /api/v1/recipes/{id}/image
Signed-off-by: Nikolas Rimikis <[email protected]>
  • Loading branch information
Nikolas Rimikis authored and Christian Wolf committed Mar 17, 2023
commit c30cfc0945105d75def3ed571850e89520cd6350
14 changes: 14 additions & 0 deletions docs/dev/api/0.1.1/openapi-cookbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,20 @@ paths:
required: true
schema:
type: integer
- in: query
name: size
description: >
The size of the requested image

* `full` - Full resolution image (size full res)
* `thumb` - thumbnail of the image (size 250px)
* `thumb16` - icon of the image (size 16px)

by default the full size image will be returned
required: false
schema:
type: string
enum: [full, thumb, thumb16]
responses:
200:
description: Image was obtained and will be in response either as image/jpeg or image/svg+xml
Expand Down