GET/users/{username}/projectsV2/{project_number}

Get a project for a user

Retrieves a Projects v2 project owned by a specified GitHub user. Use username and project_number to identify the user and project; the response includes project metadata and ownership details.

2 parameters
project_numberintegerrequired
The number of the project to retrieve.
usernamestringrequired
The handle of the GitHub user who owns the project.

4 status codes
200Returns the Projects v2 project object, including its identifier, owner, creator, title, description, visibility, state, and timestamps.
idnumberrequired
The unique identifier of the project.
node_idstringrequired
The node ID of the project.
ownerobjectrequired
A GitHub user.
creatorobjectrequired
A GitHub user.
titlestringrequired
The project title.
descriptionstringrequired
A short description of the project.
publicbooleanrequired
Whether the project is visible to anyone with access to the owner.
closed_atstringrequired
The time when the project was closed.
created_atstringrequired
The time when the project was created.
updated_atstringrequired
The time when the project was last updated.
numberintegerrequired
The project number.
short_descriptionstringrequired
A concise summary of the project.
deleted_atstringrequired
The time when the project was deleted.
deleted_byobjectrequired
A GitHub user.
statestringoptional
The current state of the project.
Allowed:openclosed
latest_status_updateobjectoptional
An status update belonging to a project
is_templatebooleanoptional
Whether this project is a template
304Returned when the project has not changed since the cached representation was retrieved.
401Returned when authentication is required but is missing or invalid.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
403Returned when access to the project is forbidden.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 401 is returned when the request requires authentication. A 403 is returned when access is forbidden; the project_number path parameter and username path parameter must identify the intended user-owned project.