Skip to main content

Create arch

Create a deployment architecture for applications.

warning

After creating the first architecture, the arch field becomes required for all subsequent operations.

Endpoint

POST /arch/create

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Request Body

The request uses application/json format with the following fields:

FieldTypeRequiredDescription
archstringArchitecture of the application (e.g., amd64, arm64)

Example Request

curl --location 'http://localhost:9000/arch/create' \
--header 'Authorization: Bearer <jwt_token>' \
--header 'Content-Type: application/json' \
--data '{
"arch": "amd64"
}'

Response

Success Response (200 OK)

{
"createArchResult.Created": "641459ffb8360d74164e7e3c"
}

Response Fields

FieldTypeDescription
createArchResult.CreatedstringThe unique identifier (ID) of the created architecture

Notes

  • Once created, architectures can be used when uploading application artifacts