Operations related to codeowners.

List CODEOWNERS entries that match a file path

GET /api/v4/code-owners-for-file

Parameters

NameTypeDescription
project_path
Query, required
String—
file_path
Query, required
String—
ref
Query
String—

Responses

CodeDescriptionSchema
200OK—
400Bad Request—
403Forbidden—
404Not found—

Validate CODEOWNERS file by project full path

GET /api/v4/validate-code-owner-file

Parameters

NameTypeDescription
project_path
Query, required
String—
ref
Query
String—
file_path
Query
String—

Responses

CodeDescriptionSchema
200OK—
400Bad Request—
403Unauthenticated—
404Not found—