Files

Upload and manage private files for resources

List uploaded files for the authenticated token

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of files

No content

get
/files
GET /files HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Upload a private file for later use as a content resource

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filestring · binaryOptional

File to upload (max 200MB)

Responses
200

File uploaded

No content

post
/files
POST /files HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}

No content

Delete an uploaded file by id

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

File id returned by the upload endpoint

Responses
200

File deleted

No content

delete
/files/{id}
DELETE /files/{id} HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated