vanhecke/celmex/3.0.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vanhecke/celmex is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with the same repo name found; no cached copy. Use another version.

Details

Cortex.Api.Distributions

Cortex agent installer distributions and available versions.

type alias Distribution =
{ distributionId : Maybe String
, name : Maybe String
, description : Maybe String
, packageType : Maybe String
, platform : Maybe String
, agentVersion : Maybe String
, status : Maybe String
, tags : List String
, eolTime : Maybe Int
, createdBy : Maybe String
, creationTime : Maybe Int
, modificationTime : Maybe Int
, supportedPackages : List String
}

A single agent installer distribution.

{ data : List Distribution
, filterCount : Maybe Int
, totalCount : Maybe Int
}

Paginated envelope returned by getDistributions.

type alias Versions =
{ windows : List String
, linux : List String
, macos : List String
, container : List String
, serverless : List String
}

The OpenAPI spec only documents windows, linux, and macos, but the live tenant also returns container and serverless arrays. Per CLAUDE.md we capture every field the API returns.

type alias DistributionStatus =
{ status : Maybe String }

Build status of a distribution package, returned by getStatus.

type alias DistributionUrl =
{ distributionUrl : Maybe String }

Signed download URL for a distribution package, returned by getDistUrl.

getDistributions : Request DistributionsResponse

POST /public_api/v1/distributions/get_distributions

getVersions : Request Versions

POST /public_api/v1/distributions/get_versions

getStatus : String -> Request DistributionStatus

POST /public_api/v1/distributions/get_status

{ distributionId : String
, packageType : String
}
-> Request DistributionUrl

POST /public_api/v1/distributions/get_dist_url

packageType must match the platform of the distribution. Valid values include pkg (macOS), x86/x64/arm (Windows), and sh/rpm/deb (Linux). The Distribution record's supportedPackages field lists the valid choices for a given distribution.