Media
Was this helpful?
Was this helpful?
Manage brands media
Deletes a specified public image from a brand. This endpoint is deprecated
. Please use media-service
instead.
Required scopes
brand.brand_delete
Unique identifier of a media file.
DELETE /media/{mediaId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Creates a public image for a brand. This endpoint is deprecated
. Please use media-service
instead.
Required scopes
brand.brand_manage
Actual file content.
The metadata for the image as string encoded json - only simple strings are supported.
Image metadata json
POST /media HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 52
{
"file": "Ynl0ZXM=",
"metadata": "Image metadata json"
}
{
"link": "https://res.cloudinary.com/saas-ag/image/upload/tenant/brands/imageName.jpg",
"id": "tenant/brands/d05f14d8-4fab-4c51-98f9-05a93d8ec822"
}