Files
Upload and manage private files for resources
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
List of files
No content
401
Unauthorized
get
/filesGET /files HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filestring · binaryOptional
File to upload (max 200MB)
Responses
200
File uploaded
No content
400
Validation error
401
Unauthorized
post
/filesPOST /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
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
401
Unauthorized
404
File not found
delete
/files/{id}DELETE /files/{id} HTTP/1.1
Host: api.autocontentapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated