List user repositories
Lists public repositories for a GitHub user with sorting and pagination.
GET
/github/users/{username}/reposNo authentication requiredPath parameters1
| Name | Type | Description |
|---|---|---|
username* | string | The GitHub username, case-insensitive. |
Query parameters5
| Name | Type | Description |
|---|---|---|
type | string | Repository type. "all""owner""member"Default: |
sort | string | Sort field. "created""updated""pushed""full_name"Default: |
direction | string | Sort direction. "asc""desc" |
per_page | integer | The number of results to return per page. Default: Minimum: 1Maximum: 100 |
page | integer | The page number to fetch. Default: Minimum: 1 |
Headers2
| Name | Type | Description |
|---|---|---|
If-None-Match | string | An ETag for conditional requests. |
If-Modified-Since | string | An HTTP date for conditional requests. |
Responses
application/jsonSchemaGithubRepositorySummary[]
Array itemobject
Additional properties are allowed
The original GitHub response.