Upload image
Uploads an image and returns its public URL (imageUrl). Put the URL in a display image of a credential definition (display.logo.uri or display.backgroundImage.uri) when you create or update the definition. Anybody can read the image at the URL with Read image, and the image stays: there is no delete. The image must be PNG, JPEG, GIF or WebP, at most 5 MiB and 4096 x 4096 pixels (the default limits). To set the logo or cover image of a stored credential definition in one call, use Update credential definition logo image.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
files:create
Body
A multipart form with the image file in the field image.
imagefilerequiredThe image file: PNG, JPEG, GIF or WebP.
Response
The image is stored.
imageUrl string<uri>The public URL of the image:
<API host>/v4/config/ows/wallet/images/<imageId>.