Confirm a signed pack / collectible asset upload
Changed onTeam managers only, except a global template at templates/ which requires an admin. Revalidates the stored object: path prefix, size equals expectedSize, and magic. kind glb-template downloads the object (max 10MB), rejects text/html, Draco, and KTX2, accepts EXT_meshopt_compression, and returns glbTemplateVersion, glbIdleClip, glbMinScene (3 for meshopt, else null) and material slots. Version 0 is pack FRONT/BACK and requires KHR_texture_transform on both (UV window on a 1024x1536 canvas). Version 1 is the card case (TeamArt/CardBack). Version 2 is the combined opening (FRONT, BACK, TeamArt, CardBack) with a full-bleed 1104x1536 pack-face canvas and no texture transform. Declaring version 0 for a file that satisfies version 2 is rejected. Pack art kinds contain into the version-0 window or the version-2 1104x1536 canvas. Card-case art kinds cover a 1200x1680 canvas. glbTemplateVersion is never defaulted. glbIdleClip is null unless it is CaseIdle on version 2.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Request body
Response
{ path, kind, size, publicUrl, bucket, confirmed, glbTemplateVersion?, glbIdleClip?, glbMinScene?, templateKind?, slots? }
Changes
- info
endpoint added
- info