Content-Type

don’t set content type for this api

Supported Formats

json

Errors

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.

Examples

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"

Params

Param name Description
_token
required

Validations:

  • Must be a String

filename
required

name of your file

Validations:

  • Must be a String

file
optional

content of your file

Validations:

  • Must be a String

namespace
required

The namespace where your file is declare

Validations:

  • Must be a String

version
optional

version of your file

Validations:

  • Must be a String

description
optional

description link to your file

Validations:

  • Must be a String