Github API - Test Config

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

In order to get a user's membership with an organization, the authenticated user must be an organization member. The state parameter in the response can be used to identify the user's membership status.
Get organization 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 username

username [scalar]

The handle for the GitHub user account.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json org-membership

org-membership [object]

Org Membership

Attributes
organization organization-simple

organization_url string

permissions 2042

role string

The user's membership type in the organization.

state string

The state of the member in the organization. The pending state indicates the user has not yet accepted an invitation.

url string

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

forbidden [scalar]

Forbidden

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

not_found [scalar]

Resource not found

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