Github API - Test Config

GET /orgs/{org}/teams/{team_slug}/invitations
orgs
teams

The return hash contains a role field which refers to the Organization Invitation role and will be one of the following values: direct_member, admin, billing_manager, hiring_manager, or reinstate. If the invitee is not a GitHub member, the login field in the return hash will be null.

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

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 per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

key page

page [scalar]

Page number of the results to fetch.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json organization-invitation []

organization-invitation [object]

Organization Invitation

Attributes
created_at string

email string

failed_at string

failed_reason string

id integer

invitation_source string

invitation_teams_url string

inviter simple-user

login string

node_id string

role string

team_count integer

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