Download a published blob
const url = 'https://api.ebitex.io/content/delivery/v1/blobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ebitex.io/content/delivery/v1/blobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Streams the bytes of a blob that published content references, with its stored content type.
This is not what a media field’s url points at. That URL is public and needs no key; use it in pages. This route is for a server that already holds a key and needs the original bytes, such as a build step that transforms images.
Key: a delivery key (content.delivery.read).
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Responses
Section titled “ Responses ”OK
missing_api_key or invalid_api_key: no key was sent, or it is unknown, revoked or expired.
scope_denied: the key lacks this route’s scope. origin_denied or ip_denied: a browser-safe key was used from an origin or address outside its restrictions. app_not_available: Content is not enabled for the organization.
Quota exceeded; Retry-After says how long to wait. too_many_failed_authentications: too many bad keys from this address.