Dolphin Storage logo

Storage API

Upload File

Upload API is used to upload one file into a store.

Endpoint

PUT

HEADER

x-api-key: API key generated in your account.

content-type: application/octet-stream

PATH PARAMETERS

storeSlug: slug of the target store.

path: file path inside the store including file name, for example /animal/dolphin.png.

BODY

Send raw request body as one file binary payload.

RESPONSE

path: string. File path in storage.

size: number. File size in bytes.

contentType: string. Stored file content type.