This commit is contained in:
seb
2026-10-02 03:45:02 +02:00
parent 3f84ff2be8
commit a162feefbb
11 changed files with 169 additions and 18 deletions

View File

@@ -144,8 +144,9 @@
* type: integer
* photos:
* type: array
* description: Attached article photos
* items:
* type: object
* $ref: '#/components/schemas/ArticlePhoto'
* eans:
* type: array
* items:
@@ -159,6 +160,35 @@
* type: array
* items:
* $ref: '#/components/schemas/ArticleSupplier'
* ArticlePhoto:
* type: object
* description: Article photo metadata
* required: [sort, fullHash, fullW, fullH, fullSize, thumbW, thumbH, thumbHash]
* properties:
* sort:
* type: integer
* description: Display sort order
* fullHash:
* type: string
* description: SHA-256 hex hash of the full AVIF image
* fullW:
* type: integer
* description: Width in pixels of the full image
* fullH:
* type: integer
* description: Height in pixels of the full image
* fullSize:
* type: integer
* description: Byte length of full AVIF
* thumbW:
* type: integer
* description: Width in pixels of the thumbnail image
* thumbH:
* type: integer
* description: Height in pixels of the thumbnail image
* thumbHash:
* type: string
* description: Base64 thumbhash preview
* ArticlePriceEntry:
* type: object
* description: Article selling price tier for a customer group (note price field is net, not price)