Demo

GitHub REST API demo

A public OpenAPI reference rendered from a source-managed spec. The page keeps source metadata, version state, operations, schemas, examples, and read-only behavior in one scan-friendly surface.

GET

List teams

last known good

/repos/{owner}/{repo}/teams

Lists teams with access to a repository, including permission state and organization context. Readers can inspect shape and examples without Manja proxying upstream API requests.

Parameters

owner
string, required
repo
string, required
page
integer, optional

Responses

200
array of Team
304
not modified
404
repository not found

Team schema

Objects stay navigable as named schemas, with required fields and nested examples kept close to the endpoint that returns them.

  • idinteger
  • namestring
  • slugstring
  • permissionpull | push | admin
Example responseapplication/json
[
  {
    "id": 1,
    "name": "Justice League",
    "slug": "justice-league",
    "permission": "admin"
  }
]