Infrastructure/OTA Versions & Policies
POSTOTASince 1.0SynchronousAuth Required
RegisterVersion
Register a new software version in the OTA version catalog
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
versionStringRequiredVersion string for the new OTA release being registered
Example: 1.3.0
releaseNotesStringRequiredRelease notes describing changes in this version
Example: Bug fixes and performance improvements
sha256ChecksumStringRequiredSHA256 checksum of the artifact for integrity verification
Example: abc123def456abc123def456abc123def456abc123def456abc123def456abc1
fileSizeStringRequiredFile size in bytes of the OTA artifact
Example: 52428800
minAgentVersionStringRequiredMinimum agent version required to apply this OTA package
Example: 1.2.0
Responses
Endpoint
POST/api/v1/ota/versions
/api/v1/ota/versions
Request Example
curl -X POST '{host}/api/v1/ota/versions' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"version":"1.3.0","releaseNotes":"Bug fixes and performance improvements","sha256Checksum":"abc123def456abc123def456abc123def456abc123def456abc123def456abc1","fileSize":52428800,"minAgentVersion":"1.2.0"}'
Response Example
200{"id": "ver-a1b2c3d4-e5f6-7890-abcd-ef1234567890", "version": "1.3.0", "releaseNotes": "Bug fixes and performance improvements", "sha256Checksum": "abc123def456abc123def456abc123def456abc123def456abc123def456abc1", "fileSize": 52428800, "minAgentVersion": "1.2.0", "status": "active", "deprecateReason": "Security vulnerability in v1.3.0; upgrade to v1.3.1"}Change History
This API has no change history records yet.
