Assets API (1.0)
Download OpenAPI specification:Download
The API to manage assets that are available from https://assets.newstore.net
Upload an asset
Upload an image, icon or font that will be available from https://assets.newstore.net . Permitted formats: jpeg, png, tiff, svg, otf, ttf
query Parameters
filename required | string Examples:
This parameter can either be the path and the file name (to be stored in a particular directory), e.g. "fonts/some_font.tiff", or just file name (to store it in the root directory of the tenant), e.g. "logo.png". |
header Parameters
Content-Type required | string Example: font/otf The Content-Type header has to match the type of the file. |
Request Body schema:
string <binary> (Asset)
The file in a binary format
Responses
Response samples
- 200
- 400
Content type
application/json
"string"
Lists the assets from a tenant
Lists the assets from a tenant available at https://assets.newstore.net.
Responses
Response samples
- 200
- 400
- 500
Content type
application/json
[- "string"
]