跳到主要内容

List Organizations the User Belongs To

GET 

/api/v5/users/:username/orgs

Request​

Path Parameters

    username stringrequired

    username (alias: login)

Query Parameters

    access_token stringrequired

    User authorization code

    page string

    Current page number: defaults to 1

    per_page string

    The number of items per page, default is 20, with a maximum of 100.

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • idinteger
      loginstring
      namestring
      avatar_urlnull
      repos_urlnull
      events_urlnull
      members_urlnull
      descriptionstring
      follow_countinteger
    • ]