Fetch repository metadata for the repository identified by the JWT repo claim.
GET /api/v1/repo
Authorization: Bearer YOUR_JWT_TOKEN
JWT Requirements
- The JWT must include the repository in the
repo claim
Response
{
"repo_id": "V1StGXR8_Z5jdHi6B-myT",
"url": "team/project-alpha",
"default_branch": "main",
"created_at": "2024-01-15T10:30:00Z",
"base_repo": {
"provider": "github",
"owner": "octocat",
"name": "Hello-World"
}
}
Error Responses
Invalid JWT or missing authorization header