v1

latestOpenAPI 3.1.02026-07-12297075.2 KB
Community

List organizations

Retrieve a paginated list of GitHub organizations.

get/api/v0/organizations/

Query parameters

locationstring nullable

Location of the organization

Example:United States of America

Location of the organization

ordering'created_at' | '-created_at' | 'updated_at' | '-updated_at' nullable

Ordering field

Ordering field

pageinteger

Page number

Page number

page_sizeinteger

Number of items per page

Number of items per page

Response

OK

current_pageinteger required

Current page number

has_nextboolean required

Whether there is a next page

has_previousboolean required

Whether there is a previous page

total_countinteger required

Total number of items

total_pagesinteger required

Total number of pages