POST
/
v1
/
files
/
Create self-hosted files
curl --request POST \
  --url https://managexrapi.com/v1/files/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "url": "https://my-bucket-name.s3.amazonaws.com/main_assets_all.bundle",
    "name": "main_assets_all.bundle",
    "size": 1204975930,
    "md5": "7ah69cMtXyaz5OfsCRtOjQ==",
    "description": "Content bundle for training app",
    "libraryDirectoryPath": "/com.managexr.demoTrainingApp/"
  },
  {
    "url": "https://my-bucket-name.s3.amazonaws.com/module2-assets.bundle",
    "name": "module2-assets.bundle",
    "size": 1204975930,
    "md5": "7ah69cMtXyaz5OfsCRtOjQ==",
    "description": "Assets for module 2 of training app",
    "libraryDirectoryPath": "/com.managexr.demoTrainingApp/"
  }
]'

Authorizations

Authorization
string
header
required

API key based authentication where <encoded-value> is the Base64 encoding of API_KEY_ID:API_KEY_SECRET

  • Username: The API Key ID.
  • Password: The API Key Secret.

Query Parameters

organizationId
string

Unique identifier of the organization. Defaults to the organization associated with the API key if no id supplied.

Body

application/json · object[]

Array of self-hosted files to create.