Skip to main content

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

Subcommands: dismiss, list.

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

ArgumentTypeRequiredDescription
ITEM_IDtextyesCatalog item id.
EVENT_IDtextyesDrift event id (from apiome catalog drift list).

Options

OptionTypeDefaultRequiredDescription
--formattexttableOutput: 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

ArgumentTypeRequiredDescription
ITEM_IDtextyesCatalog item id.

Options

OptionTypeDefaultRequiredDescription
--changesflagAlso list the newest event's classified changes.
--formattexttableOutput: 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]...

Subcommands: set, show.

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

OptionTypeDefaultRequiredDescription
--breaking / --no-breakingflag--no-breakingAnnounce breaking drift.
--dangerous / --no-dangerousflag--no-dangerousAnnounce dangerous drift.
--safe / --no-safeflag--no-safeAnnounce safe drift (off: badge only).
--deliverytextHow to send: immediate, daily_digest (one webhook a day listing it all).
--breaking-immediate / --breaking-in-digestflag--breaking-in-digestWith daily_digest: send breaking drift right away, or hold it for the digest too.
--email / --no-emailflag--no-emailAlso email drift to the item's owner team (needs a mailer on the server).
--formattexttableOutput: 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

OptionTypeDefaultRequiredDescription
--formattexttableOutput: 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

ArgumentTypeRequiredDescription
ITEM_IDtextyesCatalog item id.

Options

OptionTypeDefaultRequiredDescription
--formattexttableOutput: 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

ArgumentTypeRequiredDescription
ITEM_IDtextyesCatalog item id.

Options

OptionTypeDefaultRequiredDescription
--yes, -yflagDo 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

ArgumentTypeRequiredDescription
ITEM_IDtextyesCatalog item id.

Options

OptionTypeDefaultRequiredDescription
--endpointtextyesThe live endpoint: an http(s) URL for GraphQL, host:port for gRPC.
--adaptertextgraphqlHow to discover it: graphql or grpc.
--cadencetextdailyHow often: off, manual, hourly, daily, weekly (off keeps the setting, checks nothing).
--tls / --no-tlsflag--no-tlsgRPC only: open a TLS channel.
--auth-typetextCredential type: none, bearer, header, oauth2. Omit to keep the stored credential; none clears it.
--credentials-filetextJSON file with the credential fields (- for stdin), e.g. {"token": "…"}.
--keep-versionsinteger rangeKeep 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.
--formattexttableOutput: 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

ArgumentTypeRequiredDescription
ITEM_IDtextyesCatalog item id.

Options

OptionTypeDefaultRequiredDescription
--formattexttableOutput: 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]...

Subcommands: set, show.

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

OptionTypeDefaultRequiredDescription
--enabled / --disabledflag--disabledyesTurn catalog item refresh on or off for the whole workspace.
--formattexttableOutput: 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

OptionTypeDefaultRequiredDescription
--formattexttableOutput: table (default) or json (the API response).