API
Github
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/v1/github/repository_lookup |
load |
The physical Composal repository this GitHub remote resolves to |
Fields
| Field | Type | Required | Description |
|---|
load
GET /api/v1/github/repository_lookup
Operation ID: api_v1_github_repository_lookup.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
owner |
query |
string |
Yes | |
name |
query |
string |
Yes |
Responses
200: The physical Composal repository this GitHub remote resolves to
application/json
| Property | Type | Required | Description |
|---|---|---|---|
github_full_name |
string |
Yes | |
organization_slug |
string |
Yes | |
repository_slug |
string |
Yes |
401: Unauthorized
403: Forbidden
404: No organization the caller belongs to has imported this remote
application/json
| Property | Type | Required | Description |
|---|---|---|---|
error |
string |
Yes |
409: More than one reachable repository syncs this remote
application/json
| Property | Type | Required | Description |
|---|---|---|---|
candidates |
array of object |
Yes | |
candidates[].organization_slug |
string |
Yes | |
candidates[].repository_slug |
string |
Yes | |
error |
string |
Yes |