POST
/api/v1/assetsFile library
Upload images, logos and fonts to the workspace library, list them and remove them.
The library holds the images, logos and fonts your concepts use. Through the API you use it, for example, to upload the images of a reference composition before creating the banner.
Upload a file
POST /api/v1/assets is multipart/form-data and requires the assets permission. It accepts PNG, JPG, WebP, SVG and WOFF2, up to 5 MB. It responds 201 with the file.
FieldRequirementDescription
fileRequired
The file.
licenseAckRequired
The app's rights checkbox:
true. Without it, it responds 400.kindstringOptional
image, logo or font.tagsstringOptional
Comma-separated tags.
namestringOptional
Name; if omitted, the file's.
List, read and remove
GET /api/v1/assetslists the library, withkind,tag,qand cursor pagination.GET /api/v1/assets/:idreturns a file:id,kind,name,mime,bytes,width,height,tags.DELETE /api/v1/assets/:idremoves it (requiresassets) and responds204. It is a soft delete: the file is kept for30days.
क्या यह पेज आपके काम का था?