| name | cli-api |
| description | CLI tool (csdk) for the api API — provides CRUD commands for 47 tables and 9 custom operations |
cli-api
CLI tool (csdk) for the api API — provides CRUD commands for 47 tables and 9 custom operations
Usage
csdk context create <name> --endpoint <url>
csdk context use <name>
csdk auth set-token <token>
csdk config set <key> <value>
csdk config get <key>
csdk api list
csdk api get --id <value>
csdk api create --<field> <value>
csdk --no-tty api list
Examples
Set up and query
csdk context create local --endpoint http://localhost:5000/graphql
csdk context use local
csdk auth set-token <token>
csdk api list
Non-interactive mode (for scripts and CI)
csdk --no-tty api create --<field> <value>
References
See the references/ directory for detailed per-entity API documentation: