don’t set content type for this api
Code | Description |
---|---|
400 | Various errors: the specific error is provided in the message field of the response |
401 | Token is invalid |
401 | You must authenticate to perform this request. |
404 | The requested resource was not found. |
curl -X "POST" "http://manager.integration.cloudconnect.io/api/v2/services/remote_files" \ -H "Authorization: Basic YOURTOKEN" \ -H "Accept: application/json" \ -F "filename=my_file.json" \ -F "namespace=APP_NAMESPACE" \ -F "file=yourfile" \ -F "description=a little description" \ -F "version=1.0"
Param name | Description |
---|---|
_token required |
Validations:
|
filename required |
name of your file Validations:
|
file optional |
content of your file Validations:
|
namespace required |
The namespace where your file is declare Validations:
|
version optional |
version of your file Validations:
|
description optional |
description link to your file Validations:
|