GitHub REST API Usage Patterns
One-time setup
uxc auth credential import github --from gh
uxc auth binding match https://api.github.com/repos/holon-run/uxc
uxc link github-openapi-cli https://api.github.com --schema-url https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json
Read current user
github-openapi-cli get:/user
Read a repository
github-openapi-cli get:/repos/{owner}/{repo} owner=holon-run repo=uxc
List issues
github-openapi-cli get:/repos/{owner}/{repo}/issues owner=holon-run repo=uxc state=open per_page=10
List repository events
github-openapi-cli get:/repos/{owner}/{repo}/events owner=holon-run repo=uxc per_page=10
Inspect a specific operation before calling it
github-openapi-cli get:/repos/{owner}/{repo}/pulls -h