Skip to content

cg raw-api

Every cg raw-api subcommand.

Every command also accepts -h / --help.

Command Summary
cg raw-api Raw (unstructured JSON) API commands.
cg raw-api service-request Invoke a raw API request on a service endpoint.

cg raw-api

Raw (unstructured JSON) API commands.

usage: cg raw-api [-h] COMMAND ...

Subcommands

  • service-request — Invoke a raw API request on a service endpoint. stdin must be a json-encoded list of args.

cg raw-api service-request

Invoke a raw API request on a service endpoint. stdin must be a json-encoded list of args.

usage: cg raw-api service-request [-h] [--req-args JSON-ARGS] SERVICE-NAME FUNC-NAME

Arguments

  • SERVICE-NAME — Service name; e.g., 'CodingamerService'.
  • FUNC-NAME — Endpoint name; e.g., 'getCodingamer'.

Options

  • -a, --req-args JSON-ARGS — Optional JSON-encoded list to send as the request arg. If not provided, stdin is read for the JSON-encoded list of args.

Generated from the parser itself. For when to use these, see the CLI guides.