Skip to main content
POST
Create self-hosted files

Authorizations

Authorization
string
header
required

API key based authentication where 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. This parameter is only necessary when using multi-organization API keys.

Defaults to the organizationId associated with the API key.

Body

application/json
url
string<uri>

Publicly accessible direct URL to download the file. ManageXR will use this url to download the file to devices.

Example:

"https://my-bucket-name.s3.amazonaws.com/main_assets_all.bundle"

name
string

Name of the file, including extension

Example:

"main_assets_all.bundle"

size
number

Size of the file in bytes

Example:

1204975930

md5
string

MD5 hash of the file for integrity verification

Example:

"7ah69cMtXyaz5OfsCRtOjQ=="

description
string

Optional description of the file's contents or purpose

Example:

"Content bundle for training app"

libraryDirectoryPath
string

Path to the file in the Library > Files section of ManageXR. A libraryDirectoryPath of "/" indicates that it is at the root of the Files library.

Example:

"/"