Public Files
Public files are files that are available at the root location of your Appmixer Tenant API endpoint. For example, uploading verify.html will make the file available at API_URL/verify.html.
Was this helpful?
Public files are files that are available at the root location of your Appmixer Tenant API endpoint. For example, uploading verify.html will make the file available at API_URL/verify.html.
GET https://api.YOUR_TENANT.appmixer.cloud/public-files
The list returned does not contain the contents of the files.
[
{
"filename": "test.txt"
}
]POST https://api.YOUR_TENANT.appmixer.cloud/public-files
curl --location 'https://acme.com/public-files' --header 'Authorization: bearer [the-admin-token]' --form 'file=@"/tmp/icon.png"' --form 'filename="icon.png"'
filename*
String
The name for the file
file*
File
The file to be uploaded
{ "ok": true }DELETE https://api.YOUR_TENANT.appmixer.cloud/public-files/:filename
filename*
String
The name of the file you want to remove
Was this helpful?
Was this helpful?
{ "ok": true }