Indicates the state of the projects to return. Can be either open
, closed
, or all
.
Allowed values:openclosedall
Default:open
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Lists the projects in a repository. Returns a 404 Not Found
status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a 401 Unauthorized
or 410 Gone
status is returned.
Indicates the state of the projects to return. Can be either open
, closed
, or all
.
Allowed values:openclosedall
Default:open
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Projects are a way to organize columns and cards of work.
Example:https://api.github.com/repos/api-playground/projects-test
Example:https://api.github.com/projects/1002604
Example:https://github.com/api-playground/projects-test/projects/12
Example:https://api.github.com/projects/1002604/columns
Example:1002604
Example:MDc6UHJvamVjdDEwMDI2MDQ=
Name of the project
Example:Week One Sprint
Body of the project
Example:This project represents the sprint of the first week in January
Example:1
State of the project; either ‘open’ or ‘closed’
Example:open
Simple User
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
The baseline permission that all organization members have on this project. Only present if owner is an organization.
Allowed values:readwriteadminnone
Whether or not this project can be seen by everyone. Only present if owner is an organization.
Creates a repository project board. Returns a 404 Not Found
status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a 401 Unauthorized
or 410 Gone
status is returned.
The name of the project.
The description of the project.
Response
Projects are a way to organize columns and cards of work.
Example:https://api.github.com/repos/api-playground/projects-test
Example:https://api.github.com/projects/1002604
Example:https://github.com/api-playground/projects-test/projects/12
Example:https://api.github.com/projects/1002604/columns
Example:1002604
Example:MDc6UHJvamVjdDEwMDI2MDQ=
Name of the project
Example:Week One Sprint
Body of the project
Example:This project represents the sprint of the first week in January
Example:1
State of the project; either ‘open’ or ‘closed’
Example:open
Simple User
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
The baseline permission that all organization members have on this project. Only present if owner is an organization.
Allowed values:readwriteadminnone
Whether or not this project can be seen by everyone. Only present if owner is an organization.
Name of the project
Example:Week One Sprint
Body of the project
Example:This project represents the sprint of the first week in January
Response
Projects are a way to organize columns and cards of work.
Example:https://api.github.com/repos/api-playground/projects-test
Example:https://api.github.com/projects/1002604
Example:https://github.com/api-playground/projects-test/projects/12
Example:https://api.github.com/projects/1002604/columns
Example:1002604
Example:MDc6UHJvamVjdDEwMDI2MDQ=
Name of the project
Example:Week One Sprint
Body of the project
Example:This project represents the sprint of the first week in January
Example:1
State of the project; either ‘open’ or ‘closed’
Example:open
Simple User
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
The baseline permission that all organization members have on this project. Only present if owner is an organization.
Allowed values:readwriteadminnone
Whether or not this project can be seen by everyone. Only present if owner is an organization.
Indicates the state of the projects to return. Can be either open
, closed
, or all
.
Allowed values:openclosedall
Default:open
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Projects are a way to organize columns and cards of work.
Example:https://api.github.com/repos/api-playground/projects-test
Example:https://api.github.com/projects/1002604
Example:https://github.com/api-playground/projects-test/projects/12
Example:https://api.github.com/projects/1002604/columns
Example:1002604
Example:MDc6UHJvamVjdDEwMDI2MDQ=
Name of the project
Example:Week One Sprint
Body of the project
Example:This project represents the sprint of the first week in January
Example:1
State of the project; either ‘open’ or ‘closed’
Example:open
Simple User
Example:2011-04-10T20:09:31Z
Example:2014-03-03T18:58:10Z
The baseline permission that all organization members have on this project. Only present if owner is an organization.
Allowed values:readwriteadminnone
Whether or not this project can be seen by everyone. Only present if owner is an organization.
Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see GitHub’s products in the GitHub Help documentation.
Either open
, closed
, or all
to filter by state.
Allowed values:openclosedall
Default:open
Filter pulls by head user or head organization and branch name in the format of user:ref-name
or organization:ref-name
. For example: github:new-script-format
or octocat:test-branch
.
Filter pulls by base branch name. Example: gh-pages
.
What to sort results by. Can be either created
, updated
, popularity
(comment count) or long-running
(age, filtering by pulls updated in the last month).
Allowed values:createdupdatedpopularitylong-running
Default:created
The direction of the sort. Can be either asc
or desc
. Default: desc
when sort is created
or sort is not specified, otherwise asc
.
Allowed values:ascdesc
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Pull Request Simple
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347
Example:1
Example:MDExOlB1bGxSZXF1ZXN0MQ==
Example:https://github.com/octocat/Hello-World/pull/1347
Example:https://github.com/octocat/Hello-World/pull/1347.diff
Example:https://github.com/octocat/Hello-World/pull/1347.patch
Example:https://api.github.com/repos/octocat/Hello-World/issues/1347
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits
Example:https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments
Example:https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}
Example:https://api.github.com/repos/octocat/Hello-World/issues/1347/comments
Example:https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
Example:1347
Example:open
Example:true
Example:new-feature
Simple User
Example:Please pull these awesome changes
A collection of related issues and pull requests.
Example:too heated
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:2011-01-26T19:01:12Z
Example:e5bd3914e2e596debea16f433f57875b5b90bcd6
Simple User
Simple User
Simple User
Groups of organization members that gives permissions on specified repositories.
How the author is associated with the repository.
Allowed values:COLLABORATORCONTRIBUTORFIRST_TIMERFIRST_TIME_CONTRIBUTORMANNEQUINMEMBERNONEOWNER
Example:OWNER
Indicates whether or not the pull request is a draft.
Example:false