Skip to main content

Assets API (1.0)

Download OpenAPI specification:Download

The API to manage assets that are available from https://assets.newstore.net

Upload

Upload endpoint

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:
  • filename=logo.png -
  • filename=fonts/fontA.otf -

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

Content type
application/json
"string"

ListAssets

Lists the assets from a tenant

Lists the assets from a tenant available at https://assets.newstore.net.

Responses

Response samples

Content type
application/json
[
  • "string"
]