Github API - Test Config

GET /orgs/{org}/teams/{team_slug}/memberships/{username}
users
orgs
teams

Team members will include the members of child teams.

To get a user's membership with a team, the team must be visible to the authenticated user.

Note: You can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/memberships/{username}.

Note:
The response contains the state of the membership and the member's role.

The role for organization owners is set to maintainer. For more information about maintainer roles, see see Create a team.
Get team membership for a user

Arguments
key org

org [scalar]

The organization name. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key team-slug

team-slug [scalar]

The slug of the team name.

API:
Github Open API
(version: 1.1.4)

key username

username [scalar]

The handle for the GitHub user account.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json team-membership

team-membership [object]

Team Membership

Attributes
role string

The role of the user in the team.

state string

The state of the user's membership in the team.

url string

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)