Skip to main content
POST
/
api
/
app
/
{app_id}
/
versions
Create a new App Version
curl --request POST \
  --url https://api.example.com/api/app/{app_id}/versions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "version_name": "<string>",
  "status": "inactive"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version_name": "<string>",
  "status": "<string>",
  "created_by": "<string>",
  "created_date": "<unknown>",
  "updated_by": "<string>",
  "updated_date": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

app_id
string<uuid>
required

Body

application/json

Request model for creating an app version.

version_name
string
required

Name of the version.

status
enum<string>
default:inactive

Status of the version: 'active' or 'inactive'.

Available options:
active,
inactive

Response

Version created successfully

Response model for app version details.

id
string<uuid>
required

Unique ID of the app version.

app_id
string<uuid>
required

ID of the parent app.

version_name
string
required

Name of the version.

status
string
required

Status of the version: 'active' or 'inactive'.

created_by
string | null

Username of the creator.

created_date
any | null

Timestamp when the version was created.

updated_by
string | null

Username of the last updater.

updated_date
any | null

Timestamp when the version was last updated.