team
default
List the teams belonging to the calling user.
get/teams/{id}
Request
- Base URL{{ server_url }}/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Numeric identifier of the account.
Response
List of the teams belonging to the specified account.
Example response
[
{
"id": 1,
"name": "Engineering",
"parent": 3,
"members": [
{
"login": "github.com/vmarkovtsev",
"name": "Vadim Markovtsev",
"email": "vadim@athenian.co",
"picture": "https://avatars3.githubusercontent.com/u/2793551?v=4"
},
{
"login": "github.com/se7entyse7en",
"name": "Lou Marvin Caraig",
"email": "waren@athenian.co",
"picture": "https://avatars1.githubusercontent.com/u/5599208?v=4"
}
]
},
{
"id": 2,
"name": "Product",
"parent": 3,
"members": [
{
"login": "github.com/warenlg",
"name": "Waren Long",
"email": "waren@athenian.co",
"picture": "https://avatars2.githubusercontent.com/u/24694845?v=4"
}
]
},
{
"id": 3,
"name": "Management",
"parent": null,
"members": [
{
"login": "github.com/eiso",
"name": "Eiso Kant",
"email": "eiso@athenian.co",
"picture": "https://avatars2.githubusercontent.com/u/1247608?v=4"
}
]
}
]Changes
No recorded changes to this operation across all 70 revisions of this API.