POST
/
v1
/
apps
/
{appId}
/
upload
cURL
curl --request POST \
  --url https://api.camposcloud.com/v1/apps/{appId}/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "message": "<string>"
}
This endpoint has a rate limit of 1 request every 3 seconds.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appId
string
required

ID of the application to upload the file to

Query Parameters

path
string

The path within the application where the file will be uploaded. If not provided, the file will be uploaded to the root directory of the application.

Body

multipart/form-data

File to upload

The body is of type object.

Response

200
application/json

File uploaded successfully

The response is of type object.