Skip to content
Docs

Repositories a GitHub connection can see

GET
/api/workspaces/{ws}/connections/{id}/repos

To suggest for a hire's allowlist. Best effort: an empty list when GitHub won't say.

Authorization

session
cookiebetter-auth.session_token<token>

Set by POST /api/auth/sign-in/email.

Path Parameters

ws*string

The workspace id (from GET /api/me).

id*string

The id of what the path names: a hire, a connection, a skill, a shared file, a department, a position, a goal or an approval.

Response Body

[{ name }], most recently pushed first.

application/json
Example Request
curl -X GET 'https://app.useroster.work/api/workspaces/string/connections/string/repos'
Example Response
[  {    "name": "acme/web"  }]