IntegrationsGithubActions
List GitHub teams
List teams in the installation organization.
teams.list · GitHub · v1
Details
Scopes
organization.members:read
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
org | string | Yes | minLength 1 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
teams | array<object> | Yes | — |
teams[] | object | Yes | additionalProperties false |
teams[].id | integer | Yes | — |
teams[].slug | string | Yes | — |
teams[].name | string | Yes | — |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"org": {
"type": "string",
"minLength": 1
}
},
"required": [
"org"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"teams": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"slug",
"name"
]
}
}
},
"required": [
"teams"
]
}