Skip to main content

Module http_api

Module http_api 

Source
Expand description

Shared request and response types for Pax’s public HTTP service.

This module deliberately contains only the closed wire contract. HTTP clients, provider mappings, persistence, and policy belong at the respective edges.

Structs§

LatestReleaseResponse
Response returned by CLI_LATEST_RELEASE_PATH.
TelemetryRequest
One privacy-bounded CLI telemetry event.

Enums§

CommandFamily
Public top-level CLI command families eligible for telemetry.
CommandOutcome
Coarse command result. Error details never cross the HTTP boundary.
HostArch
Coarse host CPU architecture.
HostOs
Coarse host operating-system family.
Target
Supported Pax build or run targets.
TelemetryEvent
Closed set of telemetry events accepted by the launch API.

Constants§

CLI_LATEST_RELEASE_PATH
Path for querying the latest published pax-cli release.
CLI_TELEMETRY_PATH
Path for submitting a single CLI telemetry event.