Skip to main content
POST
/
api
/
app
/
versions
/
{version_id}
/
components
Add an App Component
curl --request POST \
  --url https://api.example.com/api/app/versions/{version_id}/components \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'filename=<string>' \
  --form 'file=<string>' \
  --form 'properties_json=<string>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "app_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "component_type": "<string>",
  "properties_json": "<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

version_id
string<uuid>
required

Body

multipart/form-data
component_type
enum<string>
required
Available options:
dag,
artifact,
notebook,
serving_config
filename
string
file
string
properties_json
string

Response

Component added successfully

Response model for app component details.

id
string<uuid>
required

Unique ID of the app component.

app_version_id
string<uuid>
required

ID of the parent app version.

component_type
string
required

Type of component.

properties_json
string | null

JSON string with component metadata.

created_by
string | null

Username of the creator.

created_date
any | null

Timestamp when the component was created.

updated_by
string | null

Username of the last updater.

updated_date
any | null

Timestamp when the component was last updated.