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.ApiKeys

Cortex advanced-API key management — list configured keys.

type alias ApiKey =
{ id : Int
, creationTime : Maybe Int
, createdBy : Maybe String
, userName : Maybe String
, roles : List String
, securityLevel : Maybe String
, comment : Maybe String
, expiration : Maybe Int
}

A single advanced-API key record. Roles are role names, not IDs. Time fields are Unix epoch milliseconds.

type alias GetApiKeysResponse =
{ data : List ApiKey
, filterCount : Maybe Int
, totalCount : Maybe Int
}

Paginated envelope returned by getApiKeys: the configured ApiKey records plus the filter / total counts from the standard Cortex paginated reply.

getApiKeys : Request GetApiKeysResponse

POST /public_api/v1/api_keys/get_api_keys

List existing API keys. The API requires a filters field; an empty list fetches every key. Response uses the standard paginated envelope (DATA, FILTER_COUNT, TOTAL_COUNT) inside the reply wrapper.