IntegrationsGithubActions
Add GitHub repository collaborator
Add a collaborator to a repository.
repositories.collaborators.add · GitHub · v1
Details
Scopes
repository.administration:write
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
owner | string | Yes | minLength 1 |
repo | string | Yes | minLength 1 |
username | string | Yes | minLength 1 |
permission | string | No | — |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"owner": {
"type": "string",
"minLength": 1
},
"repo": {
"type": "string",
"minLength": 1
},
"username": {
"type": "string",
"minLength": 1
},
"permission": {
"type": "string"
}
},
"required": [
"owner",
"repo",
"username"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {}
}