Get application versions
const url = 'http://localhost:3000/api/v1/applications/550e8400-e29b-41d4-a716-446655440000/versions';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/applications/550e8400-e29b-41d4-a716-446655440000/versions \ --header 'X-API-Key: <X-API-Key>'Retrieves all versions for an application package.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Example
550e8400-e29b-41d4-a716-446655440000Application package UUID
Responses
Section titled “ Responses ”Application versions retrieved successfully
object
List of application versions
object
Unique identifier for the application description
ID of the parent application package
Name of the parent application package
Version string (semver)
Deployment profile type
Full deployment manifest
object
SHA-256 checksum of the package
Minimum Margo version required
List of compatible device types/constraints
object
Resource requirements (CPU, memory, etc.)
object
List of validation errors if any
object
True when the stored manifest still carries the retired packageLocation/keyLocation component-artifact fields instead of repository+revision (ADR-0010-1 / FM-1090). Such a description will not deploy until republished/resynced under the new schema.
Application availability status
Source repository links for this version
object
Registry type
Registry ID
Registry name
Registry URL
When the version was last seen in this registry
When this version was created
When this version was last updated
Total number of versions
Example
{ "data": [ { "id": "550e8400-e29b-41d4-a716-446655440001", "applicationPackageId": "550e8400-e29b-41d4-a716-446655440000", "applicationPackageName": "Eclipse Mosquitto", "version": "2.0.18", "deploymentProfile": "DOCKER_COMPOSE", "checksumSha256": "a1b2c3d4e5f6...", "minMargoVersion": "1.0.0", "usesDeprecatedSchema": false, "availability": "AVAILABLE", "sourceLinks": [ { "registryType": "git" } ], "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:30:00Z" } ], "total": 5}Forbidden — caller lacks required permission
Application not found