Skip to main content

Get All Architectures

Retrieve a list of all available architectures in the system.

Endpoint

GET /arch/list

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Example Request

curl -X GET http://localhost:9000/arch/list \
-H "Authorization: Bearer <jwt_token>"

Response

Success Response (200 OK)

{
"archs": [
{
"ID": "653a52611ff613bed613df59",
"ArchID": "amd64",
"Updated_at": "2023-10-26T14:49:53.815+03:00"
},
{
"ID": "653a52691ff613bed613df5a",
"ArchID": "arm64",
"Updated_at": "2023-10-26T14:50:01.413+03:00"
}
]
}

Response Fields

FieldTypeDescription
archsarrayArray of architecture objects

Architecture Object Fields

FieldTypeDescription
IDstringUnique identifier of the architecture
ArchIDstringArchitecture identifier (e.g., amd64, arm64)
Updated_atstringLast update timestamp

Notes

  • This endpoint returns all architectures available for application deployment
  • The ArchID field contains the standard architecture name used in uploads
  • Results are typically sorted by creation date (newest first)
  • Empty results array is returned if no architectures are configured