Released docs. You are viewing the documentation published with v0.46.0. Development docs are available at Latest.
Send one raw HTTP request to a configured or ready local Evidence service.
Contract status
Section titled “Contract status”This page is generated from the public Clap command tree for Registry Stack source version 0.46.0 and catalog SHA-256 d43b1bf418e0b00fac52311fa3a106fa124512dbc88cf511475713af2d73aa47. Hidden implementation commands are omitted.
evidencectl api [OPTIONS] <PATH>Constraints
Section titled “Constraints”| Condition | Requirement |
|---|---|
--token-file <TOKEN_FILE> is present | --url <URL> is required. |
--ca-file <CA_FILE> is present | --url <URL> is required. |
| Command invocation | --client <CLIENT> and --connection <CONNECTION> cannot be used together. |
| Command invocation | --client <CLIENT> and --url <URL> cannot be used together. |
| Command invocation | --connection <CONNECTION> and --url <URL> cannot be used together. |
Arguments
Section titled “Arguments”| Argument | Always required | Default | Values | Environment | Description |
|---|---|---|---|---|---|
<PATH> | Yes | n/a | n/a | n/a | Relative API path. A leading slash is accepted without discarding a deployment prefix |
Options
Section titled “Options”| Option | Always required | Repeatable | Default | Values | Environment | Description |
|---|---|---|---|---|---|---|
--project <PROJECT> | No | No | n/a | n/a | n/a | Project directory, or a descendant from which the exact product root is found |
--client <CLIENT> | No | No | n/a | n/a | n/a | Named local development client resolved by the product adapter |
--connection <CONNECTION> | No | No | n/a | n/a | n/a | Named saved remote connection |
--url <URL> | No | No | n/a | n/a | n/a | Explicit service base URL for an advanced one-off request |
--token-file <TOKEN_FILE> | No | No | n/a | n/a | n/a | Bearer credential file used only with --url |
--ca-file <CA_FILE> | No | No | n/a | n/a | n/a | PEM certificate authority bundle for an explicit private-institution endpoint |
--method <METHOD> | No | No | n/a | n/a | n/a | HTTP method. Defaults to GET, or POST when --input is present |
--input <INPUT> | No | No | n/a | n/a | n/a | Request body file, or - for standard input |
--header <HEADER> | No | Yes | n/a | n/a | n/a | Request header as NAME: VALUE; use NAME: @FILE for a value or @FILE for complete lines |
--accept <ACCEPT> | No | No | n/a | n/a | n/a | Value of the HTTP Accept header |
--output <OUTPUT> | No | No | n/a | n/a | n/a | Write response bytes to this file instead of standard output |
--include | No | No | n/a | n/a | n/a | Include the HTTP status and response headers before the response body |
--idempotency-key <IDEMPOTENCY_KEY> | No | No | n/a | n/a | n/a | Value of the Idempotency-Key header |
--if-match <IF_MATCH> | No | No | n/a | n/a | n/a | Literal HTTP If-Match value, including quotes when the endpoint requires them |
--format <FORMAT> | No | No | human | human, json, junit | n/a | Emit the selected command’s report in this format. junit is accepted only by test and fixtures run |
-h, --help | No | No | n/a | n/a | n/a | Print help |
Generation contract
Section titled “Generation contract”After changing a public command, argument, option, default, environment binding, or help description, run cargo run --locked -p registry-cli-docs -- --write, commit crates/registry-cli-docs/catalog.json, then run npm run generate from docs/site.
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.