POST
Create a file

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Path Parameters

database
string
required

Project identifier (each project has its own database). Obtain it from GET /api/v2/data/projects.

Query Parameters

fileUrl
string<uri>
required

URL the server fetches the file content from.

uploadedName
string

Original file name including extension.

Body

application/json
fileName
string
required

The file's name in the library, including its extension.

Maximum string length: 250
fileGroupID
string

The file group to put it in.

tags
string[]

Response

Accepted for processing. Not a confirmation that the file will exist.

The request was accepted for background processing. Says nothing about the outcome.

code
integer
Example:

200

message
string
Example:

"OK"