Skip to main content

apiome repository

Global options such as --base-url, --tenant and --json go before the command — see CLI reference. Exit codes are listed in Exit codes.

apiome repository​

Repository auto-refresh: trigger a refresh and inspect per-file state.

apiome repository [OPTIONS] COMMAND [ARGS]...

Subcommands: branch-rules, refresh.

apiome repository branch-rules​

Per-branch refresh rules: whether each branch refreshes, how often, and the version line its refreshes land in.

apiome repository branch-rules [OPTIONS] COMMAND [ARGS]...

Subcommands: clear, remove, set, show.

apiome repository branch-rules clear​

Remove every branch rule of a repository (RAR-6.4).

apiome repository branch-rules clear [OPTIONS] REPO

Arguments

ArgumentTypeRequiredDescription
REPOSITORYtextyesRepository UUID or name (for example acme/api, matched against the repository's full name and then its display name).

Options

OptionTypeDefaultRequiredDescription
--formattextOutput format: table (default) or json.

apiome repository branch-rules remove​

Remove one branch rule; its branches follow the repository settings again (RAR-6.4).

apiome repository branch-rules remove [OPTIONS] REPO BRANCH

Arguments

ArgumentTypeRequiredDescription
REPOSITORYtextyesRepository UUID or name (for example acme/api, matched against the repository's full name and then its display name).
PATTERNtextyesThe pattern of the rule to remove.

Options

OptionTypeDefaultRequiredDescription
--formattextOutput format: table (default) or json.

apiome repository branch-rules set​

Add a branch rule, or replace the rule with the same BRANCH pattern (RAR-6.4).

apiome repository branch-rules set [OPTIONS] REPO BRANCH

Arguments

ArgumentTypeRequiredDescription
REPOSITORYtextyesRepository UUID or name (for example acme/api, matched against the repository's full name and then its display name).
PATTERNtextyesA branch name (main) or a glob (release/*; ** crosses '/').

Options

OptionTypeDefaultRequiredDescription
--on / --offflag--onWhether matching branches refresh.
--intervalintegerCadence in seconds; omit to inherit the repository's.
--linetextVersion line refreshes land in (latest, 2.x); omit for the default naming.
--formattextOutput format: table (default) or json.

apiome repository branch-rules show​

Show a repository's branch rules and how each tracked branch refreshes (RAR-6.4).

apiome repository branch-rules show [OPTIONS] REPO

Arguments

ArgumentTypeRequiredDescription
REPOSITORYtextyesRepository UUID or name (for example acme/api, matched against the repository's full name and then its display name).

Options

OptionTypeDefaultRequiredDescription
--formattextOutput format: table (default) or json.

apiome repository refresh​

Trigger a spec-faithful repository refresh (refresh REPO) or list per-file refresh state (refresh status REPO).

apiome repository refresh [OPTIONS] COMMAND [ARGS]...

Subcommands: status.

apiome repository refresh status​

List per-file refresh state for a repository (RAR-1.5 / RAR-2.3).

apiome repository refresh status [OPTIONS] REPO

Arguments

ArgumentTypeRequiredDescription
REPOSITORYtextyesRepository UUID or name (for example acme/api, matched against the repository's full name and then its display name).

Options

OptionTypeDefaultRequiredDescription
--pathtextRestrict the listing to one repository-relative file path.
--branchtextRestrict the listing to one branch (implies --all-branches).
--all-branchesflagList lineages on every tracked branch, not just the default branch.
--limitinteger50Maximum file lineages to read (1..500).
--formattextOutput format: table (default) or json.