AplasAplas API Reference

Upload a file

Upload a file against an existing filespec

POST
/file/{fileId}

Authorization

BearerAuth
AuthorizationBearer <token>

API authentication via Authorization: Bearer <your-api-key>. Obtain your API key from Config → API in the Aplas web app.

In: header

Path Parameters

fileId*string

The id of the file (received from response of creating a filespec)

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

body*unknown

Response Body

*/*

*/*

curl -X POST "https://api.au.aplas.com/api/v2/file/string" \  -F fileData="string"
"/api/2/file/:fileId"
{
  "code": 500,
  "message": "Internal server error"
}