Endpoint Commands
Manage endpoints using the CLI
Endpoint Commands
Manage API endpoints exposed by your integrations and services.
Usage
weikio endpoints [command] [options]
Subcommands
ls
List all current endpoints.
Usage:
weikio endpoints ls
Example:
weikio endpoints ls
operations
List operations available on an endpoint.
Usage:
weikio endpoints operations <EndpointId>
Arguments:
| Name | Required | Description |
|---|---|---|
| EndpointId | Yes | ID of the endpoint |
Example:
weikio endpoints operations my-endpoint
browse
Browse an endpoint using Swagger UI.
Usage:
weikio endpoints browse <EndpointId>
Arguments:
| Name | Required | Description |
|---|---|---|
| EndpointId | Yes | ID of the endpoint |
Example:
weikio endpoints browse my-endpoint
schema
View the schema of an endpoint.
Usage:
weikio endpoints schema <EndpointId>
Arguments:
| Name | Required | Description |
|---|---|---|
| EndpointId | Yes | ID of the endpoint |
Example:
weikio endpoints schema my-endpoint
connect
Connect to an endpoint.
Usage:
weikio endpoints connect <EndpointId>
Arguments:
| Name | Required | Description |
|---|---|---|
| EndpointId | Yes | ID of the endpoint to connect to |
Example:
weikio endpoints connect my-endpoint
add
Add a new endpoint.
Usage:
weikio endpoints add <Name> <Route> <API>
Arguments:
| Name | Required | Description |
|---|---|---|
| Name | Yes | Name of the endpoint |
| Route | Yes | Route path for the endpoint |
| API | Yes | API to expose through this endpoint |
Example:
weikio endpoints add my-endpoint /api/data MyAPI