Operations related to codeowners.
List CODEOWNERS entries that match a file path
GET /api/v4/code-owners-for-file
Parameters
| Name | Type | Description |
|---|---|---|
project_Query, | String | — |
file_Query, | String | — |
refQuery | String | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
403 | Forbidden | — |
404 | Not found | — |
Validate CODEOWNERS file by project full path
GET /api/v4/validate-code-owner-file
Parameters
| Name | Type | Description |
|---|---|---|
project_Query, | String | — |
refQuery | String | — |
file_Query | String | — |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
403 | Unauthenticated | — |
404 | Not found | — |