Skip to main content

apiome paths

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

apiome paths​

List and inspect OpenAPI path templates for a project version.

apiome paths [OPTIONS] COMMAND [ARGS]...

Subcommands: list, show.

apiome paths list​

List a version's paths: one row per path with its methods, operations and tags.

GET /v1/paths/{tenant}/{version}. --json prints the API's array of path records (only those --search matches, when given).

apiome paths list [OPTIONS] [PROJECT VERSION]

Arguments

ArgumentTypeRequiredDescription
REFS...textProject (slug or UUID) and version (label, slug or UUID).

Options

OptionTypeDefaultRequiredDescription
--projecttextProject UUID or slug (instead of PROJECT).
--versiontextVersion UUID, slug, or label (instead of VERSION).
--tagtext (repeatable)Filter by OpenAPI operation tag (repeatable).
--methodtext (repeatable)Filter by HTTP method (repeatable).
--search, --qtextCase-insensitive text search over path, method, operationId, summary, and tags.
--limitinteger range50Maximum rows per API page (server enforces its own max).
--allflagFetch all API pages when resolving paths and operations.

apiome paths show​

Show one path as a tree: its operations, then each one's parameters, body and responses.

GET /v1/paths/{tenant}/{version}/{path_id}/full. --json prints that API object (operations filtered by --method / --tag, when given).

apiome paths show [OPTIONS] [PROJECT VERSION] PATH

Arguments

ArgumentTypeRequiredDescription
REFS...textyesProject, version and path, or just PATH with --project / --version. PATH is the template (/charges/{id}), its URL-encoded or JSON Pointer form (1charges1{id}), or the path UUID.

Options

OptionTypeDefaultRequiredDescription
--projecttextProject UUID or slug (instead of PROJECT).
--versiontextVersion UUID, slug, or label (instead of VERSION).
--tagtext (repeatable)Filter operations by OpenAPI tag (repeatable).
--methodtext (repeatable)Filter operations by HTTP method (repeatable).