How do I make a first read-only HTTP API request? #81
|
Which hostname, credentials, and identifier formats should a curl client use to list projects and investigate an issue? |
Replies: 1 comment
|
Use your installation's origin, not curl --fail-with-body -sS -D - \
-H 'Authorization: Bearer <admin-token>' \
'https://your-bicho-worker.example/api/projects?limit=20'Configure real credentials through your trusted secret-handling setup, without putting them in shared scripts or logs. The response lists project IDs, names, and hourly quotas, but no ingest credentials. Follow Choose an ID returned by that request and read Project IDs are strings matching REST failures use See HTTP API details and the OpenAPI contract. |
Use your installation's origin, not
bicho.fyi. Administrative reads require your admin bearer token; ingest credentials are only for collection. This example contains a placeholder, not a usable token:Configure real credentials through your trusted secret-handling setup, without putting them in shared scripts or logs. The response lists project IDs, names, and hourly quotas, but no ingest credentials. Follow
next_offsetfor additional projects.Choose an ID returned by that request and read
/api/:project_id/issues?status=all. Issue lists otherwise defa…