apiome catalog
Global options such as --base-url, --tenant and --json go before the command — see CLI reference. Exit codes are listed in Exit codes.
apiome catalog
Catalog items: keep an item fresh from its live source and watch its drift.
apiome catalog [OPTIONS] COMMAND [ARGS]...
Subcommands: drift, drift-alerts, refresh, refresh-policy.
apiome catalog drift
What a live refresh changed in an item: classified drift and its badge.
apiome catalog drift [OPTIONS] COMMAND [ARGS]...
apiome catalog drift dismiss
Clear a drift event's badge and banner (POST …/drift/{event}/dismiss; projects:edit).
The event and its changes are kept. Dismissing twice changes nothing.
apiome catalog drift dismiss [OPTIONS] ITEM_ID EVENT_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
ITEM_ID | text | yes | Catalog item id. |
EVENT_ID | text | yes | Drift event id (from apiome catalog drift list). |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog drift list
List an item's drift events, newest first (GET …/drift).
Each event is a version a live refresh added, graded by its worst change: safe, dangerous or breaking.
apiome catalog drift list [OPTIONS] ITEM_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
ITEM_ID | text | yes | Catalog item id. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--changes | flag | Also list the newest event's classified changes. | ||
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog drift-alerts
Who hears about catalog drift, and when: the workspace's drift alert settings.
apiome catalog drift-alerts [OPTIONS] COMMAND [ARGS]...
apiome catalog drift-alerts set
Change the workspace's drift alert settings (PUT …/drift-notifications; imports:edit).
Options left out keep their current value. Announcements go to the workspace's webhooks and the item's owner team; a version made by apiome catalog refresh check is never announced.
apiome catalog drift-alerts set [OPTIONS]
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--breaking / --no-breaking | flag | --no-breaking | Announce breaking drift. | |
--dangerous / --no-dangerous | flag | --no-dangerous | Announce dangerous drift. | |
--safe / --no-safe | flag | --no-safe | Announce safe drift (off: badge only). | |
--delivery | text | How to send: immediate, daily_digest (one webhook a day listing it all). | ||
--breaking-immediate / --breaking-in-digest | flag | --breaking-in-digest | With daily_digest: send breaking drift right away, or hold it for the digest too. | |
--email / --no-email | flag | --no-email | Also email drift to the item's owner team (needs a mailer on the server). | |
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog drift-alerts show
Show the workspace's drift alert settings (GET …/drift-notifications).
apiome catalog drift-alerts show [OPTIONS]
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog refresh
Re-check a catalog item against its live GraphQL or gRPC endpoint on a cadence.
apiome catalog refresh [OPTIONS] COMMAND [ARGS]...
Subcommands: check, off, set, show.
apiome catalog refresh check
Run one live check now (POST …/refresh/check) and print the outcome.
Exit codes: 0 the check ran (unchanged or changed), 7 the check failed (the reason is printed; the item is unchanged), 1 unreachable, 2 rejected (no setting, cadence off, refresh switched off for the workspace).
apiome catalog refresh check [OPTIONS] ITEM_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
ITEM_ID | text | yes | Catalog item id. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog refresh off
Remove an item's refresh setting and its stored credential (DELETE …/refresh).
To pause checks but keep the setting, use set --cadence off instead. Asks first unless --yes is passed (required when not interactive).
apiome catalog refresh off [OPTIONS] ITEM_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
ITEM_ID | text | yes | Catalog item id. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--yes, -y | flag | Do not ask for confirmation. |
apiome catalog refresh set
Create or replace an item's refresh setting (PUT …/refresh).
Changing the adapter or endpoint resets the check history. Exit codes: 0 saved, 1 unreachable, 2 rejected (unknown item, adapter that cannot be refreshed, unsafe URL, bad credential).
apiome catalog refresh set [OPTIONS] ITEM_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
ITEM_ID | text | yes | Catalog item id. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--endpoint | text | yes | The live endpoint: an http(s) URL for GraphQL, host:port for gRPC. | |
--adapter | text | graphql | How to discover it: graphql or grpc. | |
--cadence | text | daily | How often: off, manual, hourly, daily, weekly (off keeps the setting, checks nothing). | |
--tls / --no-tls | flag | --no-tls | gRPC only: open a TLS channel. | |
--auth-type | text | Credential type: none, bearer, header, oauth2. Omit to keep the stored credential; none clears it. | ||
--credentials-file | text | JSON file with the credential fields (- for stdin), e.g. {"token": "…"}. | ||
--keep-versions | integer range | Keep the last N versions a refresh creates (1-1000; default 50). Tagged, breaking-drift and conversion-source versions are always kept. Omit to keep the stored value. | ||
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog refresh show
Show an item's refresh setting and last check (GET …/refresh); never its credential.
apiome catalog refresh show [OPTIONS] ITEM_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
ITEM_ID | text | yes | Catalog item id. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog refresh-policy
The workspace switch for catalog item refresh.
apiome catalog refresh-policy [OPTIONS] COMMAND [ARGS]...
apiome catalog refresh-policy set
Turn catalog item refresh on or off for the workspace (PUT …/refresh-policy; imports:edit).
Off stops scheduled and manual checks for every item; each item's setting is kept.
apiome catalog refresh-policy set [OPTIONS]
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--enabled / --disabled | flag | --disabled | yes | Turn catalog item refresh on or off for the whole workspace. |
--format | text | table | Output: table (default) or json (the API response). |
apiome catalog refresh-policy show
Show whether catalog item refresh is on for the workspace (GET …/refresh-policy).
apiome catalog refresh-policy show [OPTIONS]
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--format | text | table | Output: table (default) or json (the API response). |