Skip to content
GitmoapAPIBeta
Schema

TeamUsageCodeownersLine

A line of a repository's CODEOWNERS file that names the team, making everyone on it a required approver for the paths the line covers.

Shape

  • atAccessScopeThe repository whose file it is.
  • file_pathstringCODEOWNERS or .gitmoap/CODEOWNERS, on the repository's default branch.
  • lineinteger · int320–∞The line, counting from 1.
  • patternstringThe paths the line covers, as written.

Example

Synthesized example
{
"at": {
"full_path": "acme/payments-api",
"id": "id-31fe",
"type": "group"
},
"file_path": "file-path-c7bc",
"line": 24,
"pattern": "pattern-2307"
}

Graph

Used inside
Contains

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.