u
This commit is contained in:
@@ -4,7 +4,7 @@ Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
List brands
|
||||
|
||||
Lists brands for the authenticated user's selected company, sorted by name. Paged; `total` is the unpaged count. Small-thumbnail fields are omitted by default. Set `includeSmallThumbs=true` to include each picture's `smallThumbW`, `smallThumbH`, and `smallThumbBinary` (base64-encoded AVIF bytes, resized with a 40px maximum edge).
|
||||
Lists brands for the authenticated user's selected company, sorted by name. Paged; `total` is the unpaged count. Small-thumbnail fields are omitted by default. Set `includeSmallThumbs=true` to include each picture's `smallThumbW`, `smallThumbH`, and `smallThumbBinary` (base64-encoded AVIF bytes, resized with a 32px maximum edge).
|
||||
|
||||
## Query parameters
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
Small thumb image by hash
|
||||
|
||||
Returns the small thumb AVIF (40px max edge) for `pic.hash` (fullHash — not thumbhash).
|
||||
Returns the small thumb AVIF (32px max edge) for `pic.hash` (fullHash — not thumbhash).
|
||||
Auth via article category access. Browser-cacheable (`private`, `immutable`, `ETag`).
|
||||
|
||||
|
||||
|
||||
@@ -407,7 +407,7 @@
|
||||
* nullable: true
|
||||
* pics:
|
||||
* type: array
|
||||
* description: Brand pictures sorted by sort, including the 40px-edge small thumbnail
|
||||
* description: Brand pictures sorted by sort, including the 32px-edge small thumbnail
|
||||
* items:
|
||||
* $ref: '#/components/schemas/BrandListPic'
|
||||
* ArticleBrand:
|
||||
|
||||
@@ -51,7 +51,7 @@ export function register(app, basePath = '') {
|
||||
* get:
|
||||
* tags: [Brand]
|
||||
* summary: List brands
|
||||
* description: Lists brands for the authenticated user's selected company, sorted by name. Paged; `total` is the unpaged count. Small-thumbnail fields are omitted by default. Set `includeSmallThumbs=true` to include each picture's `smallThumbW`, `smallThumbH`, and `smallThumbBinary` (base64-encoded AVIF bytes, resized with a 40px maximum edge).
|
||||
* description: Lists brands for the authenticated user's selected company, sorted by name. Paged; `total` is the unpaged count. Small-thumbnail fields are omitted by default. Set `includeSmallThumbs=true` to include each picture's `smallThumbW`, `smallThumbH`, and `smallThumbBinary` (base64-encoded AVIF bytes, resized with a 32px maximum edge).
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* parameters:
|
||||
|
||||
@@ -229,7 +229,7 @@ export function register(app, basePath = '') {
|
||||
* tags: [Image]
|
||||
* summary: Small thumb image by hash
|
||||
* description: |
|
||||
* Returns the small thumb AVIF (40px max edge) for `pic.hash` (fullHash — not thumbhash).
|
||||
* Returns the small thumb AVIF (32px max edge) for `pic.hash` (fullHash — not thumbhash).
|
||||
* Auth via article category access. Browser-cacheable (`private`, `immutable`, `ETag`).
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
|
||||
Reference in New Issue
Block a user