Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@
"url": "v2/apps",
"version": "Version 2.0"
},
{
"name": "Cobo CLI",
"url": "v2/cobo-cli",
"version": "Version 2.0"
},
{
"name": "Documentation",
"url": "v1/overview",
Expand Down Expand Up @@ -455,6 +460,83 @@
],
"version": "Version 2.0"
},
{
"group": "Cobo CLI",
"pages": [
{
"group": "Overview",
"pages": [
"v2/cobo-cli/overview/introduction",
"v2/cobo-cli/overview/changelog"
]
},
{
"group": "Get Started",
"pages": [
"v2/cobo-cli/get-started/installation",
"v2/cobo-cli/get-started/login-and-authentication",
"v2/cobo-cli/get-started/environment-management",
"v2/cobo-cli/get-started/key-management",
"v2/cobo-cli/get-started/configuration",
"v2/cobo-cli/get-started/global-options"
]
},
{
"group": "Utility Commands",
"pages": [
"v2/cobo-cli/utility-commands/real-time-logs",
"v2/cobo-cli/utility-commands/open-browser-shortcuts",
"v2/cobo-cli/utility-commands/version-and-updates",
"v2/cobo-cli/utility-commands/api-documentation"
]
},
{
"group": "API Commands",
"pages": [
"v2/cobo-cli/api-commands/get-requests",
"v2/cobo-cli/api-commands/post-requests",
"v2/cobo-cli/api-commands/put-requests",
"v2/cobo-cli/api-commands/delete-requests"
]
},
{
"group": "GraphQL",
"pages": [
"v2/cobo-cli/graphql/graphql-queries"
]
},
{
"group": "Webhooks",
"pages": [
"v2/cobo-cli/webhooks/listen-and-forward-events",
"v2/cobo-cli/webhooks/trigger-events"
]
},
{
"group": "App Development",
"pages": [
"v2/cobo-cli/app-development/init-app",
"v2/cobo-cli/app-development/run-app-locally",
"v2/cobo-cli/app-development/publish-app",
"v2/cobo-cli/app-development/update-app"
]
},
{
"group": "Workflows",
"pages": [
"v2/cobo-cli/workflows/create-and-publish-app",
"v2/cobo-cli/workflows/api-integration-example"
]
},
{
"group": "Reference",
"pages": [
"v2/cobo-cli/reference/cli-commands"
]
}
],
"version": "Version 2.0"
},
{
"group": "Overview",
"pages": [
Expand Down
60 changes: 60 additions & 0 deletions v2/cobo-cli/api-commands/delete-requests.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: "DELETE Requests"
---

The `cobo delete` command allows you to make DELETE requests to Cobo API
endpoints. This command is useful for removing resources from the Cobo WaaS 2
API.

## Usage

```bash
$ cobo delete <path> [options]
```

## Options

- `-d, --describe`: Display operation description
- `-l, --list`: List all API operations for this method

## Examples

### List all DELETE operations

To see a list of all available DELETE operations:

```bash
$ cobo delete -l
```

### Delete a webhook endpoint

To delete a specific webhook endpoint:

```bash
$ cobo delete /webhooks/{webhook_id} --webhook_id your_webhook_id
```

### Remove a key share holder

To remove a key share holder from a group:

```bash
$ cobo delete /wallets/mpc/key_share_holder_groups/{group_id}/key_share_holders/{holder_id} --group_id your_group_id --holder_id your_holder_id
```

### Get operation description

To see the description of a specific DELETE operation:

```bash
$ cobo delete /webhooks/{webhook_id} -d
```

## API Reference

For a complete list of available DELETE endpoints and their parameters, refer to the [Cobo WaaS 2 API Documentation](https://www.cobo.com/developers/v2/api-references/).

<Note>
Remember to authenticate your requests by logging in or setting up your API keys before making API calls.
</Note>
60 changes: 60 additions & 0 deletions v2/cobo-cli/api-commands/get-requests.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: "GET Requests"
---

The `cobo get` command allows you to make GET requests to Cobo API endpoints.
This command is useful for retrieving information from the Cobo WaaS 2 API.

## Usage

```bash
$ cobo get <path> [options]
```

## Options

- `-d, --describe`: Display operation description
- `-l, --list`: List all API operations for this method

## Examples

### List all GET operations

To see a list of all available GET operations:

```bash
$ cobo get -l
```


### Retrieve wallet information

To get information about a specific wallet:

```bash
$ cobo get /wallets/{wallet_id} --wallet_id your_wallet_id
```

### List all transactions

To retrieve a list of all transactions:

```bash
$ cobo get /transactions
```

### Get operation description

To see the description of a specific GET operation:

```bash
$ cobo get /wallets/{wallet_id} -d
```

## API Reference

For a complete list of available GET endpoints and their parameters, refer to the [Cobo WaaS 2 API Documentation](https://www.cobo.com/developers/v2/api-references/).

<Note>
Remember to authenticate your requests by logging in or setting up your API keys before making API calls.
</Note>
60 changes: 60 additions & 0 deletions v2/cobo-cli/api-commands/post-requests.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: "POST Requests"
---

The `cobo post` command allows you to make POST requests to Cobo API endpoints.
This command is useful for creating new resources or submitting data to the Cobo
WaaS 2 API.

## Usage

```bash
$ cobo post <path> [options]
```

## Options

- `-d, --describe`: Display operation description
- `-l, --list`: List all API operations for this method

## Examples

### List all POST operations

To see a list of all available POST operations:

```bash
$ cobo post -l
```

### Create a new wallet

To create a new wallet:

```bash
$ cobo post /wallets --name "My New Wallet" --wallet_type Custodial
```

### Initiate a transaction

To initiate a new transaction:

```bash
$ cobo post /transactions --from_wallet_id your_wallet_id --to_address recipient_address --amount 1.5 --token_id BTC
```

### Get operation description

To see the description of a specific POST operation:

```bash
$ cobo post /wallets -d
```

## API Reference

For a complete list of available POST endpoints and their parameters, refer to the [Cobo WaaS 2 API Documentation](https://www.cobo.com/developers/v2/api-references/).

<Note>
Remember to authenticate your requests by logging in or setting up your API keys before making API calls.
</Note>
59 changes: 59 additions & 0 deletions v2/cobo-cli/api-commands/put-requests.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: "PUT Requests"
---

The `cobo put` command allows you to make PUT requests to Cobo API endpoints.
This command is useful for updating existing resources in the Cobo WaaS 2 API.

## Usage

```bash
$ cobo put <path> [options]
```

## Options

- `-d, --describe`: Display operation description
- `-l, --list`: List all API operations for this method

## Examples

### List all PUT operations

To see a list of all available PUT operations:

```bash
$ cobo put -l
```

### Update wallet information

To update information for a specific wallet:

```bash
$ cobo put /wallets/{wallet_id} --wallet_id your_wallet_id --name "Updated Wallet Name"
```

### Update transaction status

To update the status of a transaction:

```bash
$ cobo put /transactions/{transaction_id} --transaction_id your_transaction_id --status Completed
```

### Get operation description

To see the description of a specific PUT operation:

```bash
$ cobo put /wallets/{wallet_id} -d
```

## API Reference

For a complete list of available PUT endpoints and their parameters, refer to the [Cobo WaaS 2 API Documentation](https://www.cobo.com/developers/v2/api-references/).

<Note>
Remember to authenticate your requests by logging in or setting up your API keys before making API calls.
</Note>
Loading