u
This commit is contained in:
@@ -396,12 +396,15 @@
|
||||
* description: Base64-encoded small AVIF thumbnail bytes
|
||||
* BrandList:
|
||||
* type: object
|
||||
* required: [id, name, pics]
|
||||
* required: [id, name, articleCount, pics]
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* name:
|
||||
* type: string
|
||||
* articleCount:
|
||||
* type: integer
|
||||
* description: Number of articles assigned to this brand (excluding father articles, including child articles inheriting the brand)
|
||||
* gsprpinfo:
|
||||
* type: string
|
||||
* nullable: true
|
||||
|
||||
@@ -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 32px maximum edge).
|
||||
* description: Lists brands for the authenticated user's selected company, sorted by name. Paged; `total` is the unpaged count. Each brand includes `articleCount` (child articles inherit the brand from their father article; father articles are not counted). 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:
|
||||
|
||||
Reference in New Issue
Block a user