Skip to main content

Command Reference

This page documents every operation exposed by airborne-core-cli, grouped by resource. Each entry includes a usage example and a parameter table marking required and optional fields.

Conventions used throughout:

  • Every authenticated operation requires --token <access-token> (obtained via PostLogin — see Authentication). It is listed in each table for completeness.
  • All operations support the three input methods: individual flags, a @params.json file, or a mix of the two.
  • Run airborne-core-cli configure --base-url <url> once before using any operation.
note

When you invoke these same operations through the React Native CLI (npx airborne-devkit <Command>), omit --tokenairborne-devkit injects your stored token automatically.

Organisation

CreateOrganisation

Create a new organisation.

airborne-core-cli CreateOrganisation --name <name> --token <access-token>
ParameterTypeRequiredDescription
--namestringYesName of the organisation.
--tokenstringYesBearer token for authentication.

ListOrganisations

List all organisations available to the authenticated user.

airborne-core-cli ListOrganisations --token <access-token>
ParameterTypeRequiredDescription
--tokenstringYesBearer token for authentication.

RequestOrganisation

Submit a request to create an organisation (for review/approval).

airborne-core-cli RequestOrganisation \
--organisation_name <organisation_name> \
--name <name> \
--email <email> \
--phone <phone> \
--app_store_link <app_store_link> \
--play_store_link <play_store_link> \
--token <access-token>
ParameterTypeRequiredDescription
--organisation_namestringYesName of the organisation.
--namestringYesName of the requester.
--emailstringYesEmail of the requester.
--phonestringYesPhone number of the requester.
--app_store_linkstringYesApp Store link.
--play_store_linkstringYesPlay Store link.
--tokenstringYesBearer token for authentication.

Application

CreateApplication

Create a new application under an organisation.

airborne-core-cli CreateApplication \
--application <application> \
--organisation <organisation> \
--token <access-token>
ParameterTypeRequiredDescription
--applicationstringYesName of the application.
--organisationstringYesName of the organisation.
--tokenstringYesBearer token for authentication.

GetUser

Retrieve information about the currently authenticated user.

airborne-core-cli GetUser --token <access-token>
ParameterTypeRequiredDescription
--tokenstringYesBearer token for authentication.

Dimension

CreateDimension

Create a new dimension used for targeting releases.

airborne-core-cli CreateDimension \
--dimension <dimension> \
--description <description> \
--dimension_type <standard|cohort> \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--depends_on <depends_on>]
ParameterTypeRequiredDescription
--dimensionstringYesName of the dimension.
--descriptionstringYesDescription of the dimension.
--dimension_typestandard or cohortYesType of the dimension.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--depends_onstringNoIdentifier of the parent dimension. Required for cohort dimensions; ignored for standard dimensions.
--tokenstringYesBearer token for authentication.

UpdateDimension

Update the position of an existing dimension.

airborne-core-cli UpdateDimension \
--dimension <dimension> \
--change_reason <change_reason> \
--position <position> \
--organisation <organisation> \
--application <application> \
--token <access-token>
ParameterTypeRequiredDescription
--dimensionstringYesName of the dimension.
--change_reasonstringYesReason for the change.
--positionintegerYesNew position of the dimension.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tokenstringYesBearer token for authentication.

DeleteDimension

Delete an existing dimension.

airborne-core-cli DeleteDimension \
--dimension <dimension> \
--organisation <organisation> \
--application <application> \
--token <access-token>
ParameterTypeRequiredDescription
--dimensionstringYesName of the dimension.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tokenstringYesBearer token for authentication.

ListDimensions

List all dimensions for an application.

airborne-core-cli ListDimensions \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--page <page>]
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--pageintegerNoPage number for pagination.
--countintegerNoNumber of results per page.
--tokenstringYesBearer token for authentication.

File

CreateFile

Register a remote file record by URL (Airborne does not host the bytes; you do).

airborne-core-cli CreateFile \
--file_path <file_path> \
--url <url> \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--tag <tag>]
ParameterTypeRequiredDescription
--file_pathstringYesPath where the file will be stored on the SDK.
--urlstringYesURL from where the file can be downloaded.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tagstringNoTag to identify the file.
--metadatadocumentNoMetadata as a stringified JSON value or a @file.json attachment.
--tokenstringYesBearer token for authentication.

UploadFile

Upload a local file to Airborne storage.

airborne-core-cli UploadFile \
--file <file-path> \
--file_path <file_path> \
--checksum <checksum> \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--tag <tag>]
ParameterTypeRequiredDescription
--filefile-pathYesLocal file path to upload (streamed).
--file_pathstringYesDestination path on the SDK.
--checksumstringYesSHA-256 digest of the file, Base64-encoded, used by the server to verify integrity.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tagstringNoTag to identify the file.
--tokenstringYesBearer token for authentication.

ListFiles

List all files for an application.

airborne-core-cli ListFiles \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--page <page>]
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--pageintegerNoPage number for pagination.
--per_pageintegerNoNumber of files per page.
--searchstringNoSearch query to filter files.
--tagsstringNoComma-separated tags to filter by (e.g. prod,dev).
--tokenstringYesBearer token for authentication.

ListFileGroups

List grouped file records for an application.

airborne-core-cli ListFileGroups \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--page <page>]
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--pageintegerNoPage number for pagination.
--countintegerNoNumber of groups per page.
--searchstringNoSearch query to filter files by path.
--tagsstringNoComma-separated tags to filter by.
--tokenstringYesBearer token for authentication.

Package

CreatePackage

Create a deployable package from a set of files.

airborne-core-cli CreatePackage \
--index <index> \
--files <file-id-1> <file-id-2> \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--tag <tag>]
ParameterTypeRequiredDescription
--indexstringYesIndex file ID.
--filesstring[]YesSpace-separated file IDs to include in the package.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tagstringNoTag for the package.
--tokenstringYesBearer token for authentication.

ListPackages

List all packages for an application.

airborne-core-cli ListPackages \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--page <page>]
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--pageintegerNoOffset for pagination (default: 1).
--countintegerNoLimit for pagination (default: 50).
--searchstringNoFilter packages by index file path.
--allbooleanNoFetch all packages without pagination.
--tokenstringYesBearer token for authentication.

Release

CreateRelease

Create a new release from a config, with an optional package and dimensions. The --config parameter is a structured value; supply it most easily through a @params.json file.

airborne-core-cli CreateRelease @params.json --token <access-token>

Example params.json:

{
"config": {
"release_config_timeout": 60,
"boot_timeout": 30,
"properties": "{\"tenant_info\":{}}"
},
"package_id": "42",
"dimensions": { "appVersion": "1.2.0" },
"organisation": "myorg",
"application": "myapp"
}
ParameterTypeRequiredDescription
--configstructureYesRelease configuration (see nested fields below).
--config.release_config_timeoutintegerYesTimeout for the release config, in seconds.
--config.boot_timeoutintegerYesTimeout for the package, in seconds.
--config.propertiesdocumentYesConfig properties as stringified JSON.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--package_idstringNoPackage ID for the release.
--package.propertiesdocumentNoPackage properties as stringified JSON or an attachment.
--package.importantstring[]NoImportant files in the package.
--package.lazystring[]NoLazy-loaded files in the package.
--dimensionskey-valueNoDimensions for targeting, as key=value pairs.
--resourcesstring[]NoResources for the release.
--tokenstringYesBearer token for authentication.

GetRelease

Retrieve details for a specific release.

airborne-core-cli GetRelease \
--releaseId <releaseId> \
--organisation <organisation> \
--application <application> \
--token <access-token>
ParameterTypeRequiredDescription
--releaseIdstringYesID of the release.
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tokenstringYesBearer token for authentication.

ListReleases

List all releases for an application.

airborne-core-cli ListReleases \
--organisation <organisation> \
--application <application> \
--token <access-token> \
[--dimension <dimension>]
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--dimensionstringNoFilter by dimension, formatted as key1=value1;key2=value2.
--pageintegerNoPage number (default: 1).
--countintegerNoReleases per page (default: 50).
--allbooleanNoFetch all releases without pagination.
--statusstringNoFilter by status.
--tokenstringYesBearer token for authentication.

ServeRelease

Get the active release for an application (the release config the SDK consumes).

airborne-core-cli ServeRelease \
--organisation <organisation> \
--application <application> \
--token <access-token>
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tokenstringYesBearer token for authentication.

ServeReleaseV2

Get the active release for an application using the v2 endpoint.

airborne-core-cli ServeReleaseV2 \
--organisation <organisation> \
--application <application> \
--token <access-token>
ParameterTypeRequiredDescription
--organisationstringYesName of the organisation.
--applicationstringYesName of the application.
--tokenstringYesBearer token for authentication.

See also