CodeownersImportRequest
Fields
Import a CODEOWNERS file into path ownership rules.
2 fields
source· required- string
text- string or null
Raw schema (JSON)
{
"description": "Import a CODEOWNERS file into ``path`` ownership rules (US-8.3).\n\n``source == \"text\"`` carries the raw file body in ``text`` (air-gapped /\npaste-upload). ``source == \"github\"`` fetches it over the configured\nGitHub connector and ``text`` is ignored.",
"properties": {
"source": {
"pattern": "^(github|text)$",
"title": "Source",
"type": "string"
},
"text": {
"anyOf": [
{
"maxLength": 1000000,
"type": "string"
},
{
"type": "null"
}
],
"title": "Text"
}
},
"required": [
"source"
],
"title": "CodeownersImportRequest",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/projects/{project_id}/ownership/codeowners/import— Import Codeowners
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON