Skip to main content
Use this command to fetch and update the latest WaaS 2.0 OpenAPI specification. Cobo CLI downloads the YAML file and saves it to your local configuration directory, ensuring you have the most up-to-date API definitions.

Usage

cobo doc <topic_or_path> [options]

Arguments

<topic_or_path>: Specifies the documentation topic or the API operation path. Possible values include:

Options

-u, --update: Update the OpenAPI specification for WaaS 2.0, ensuring you have the latest API definitions and documentation. With this option used, this command will only perform the updates and then exit. After a successful update, Cobo CLI confirms the operation with a “specification file downloaded successfully” message.

Example

cobo doc /wallets/mpc/vaults
This command fetches the documentation of the /wallets/mpc/vaults endpoint, including its description, parameters, and response format.
Feel free to share your feedback to improve our documentation!