Sample - GitHub REST API
GET/orgs/{org}/projectsV2/{project_number}/items/{item_id}

Get an item for an organization owned project

Get a specific item from an organization-owned project.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
project_numberintegerrequired
The project's number.
orgstringrequired
The organization name. The name is not case sensitive.
item_idintegerrequired
The unique identifier of the project item.
fieldsstringoptional
Limit results to specific fields, by their IDs. If not specified, the title field will be returned. Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789

4 status codes
200Response
idnumberrequired
The unique identifier of the project item.
node_idstringoptional
The node ID of the project item.
project_urlstringoptional
The API URL of the project that contains this item.
content_typestringrequired
The type of content tracked in a project item
Allowed:IssuePullRequestDraftIssue
contentobjectoptional
The content of the item, which varies by content type.
creatorobjectoptional
A GitHub user.
created_atstringrequired
The time when the item was created.
updated_atstringrequired
The time when the item was last updated.
archived_atstringrequired
The time when the item was archived.
item_urlstringoptional
The API URL of this item.
fieldsarray<object>optional
The fields and values associated with this item.
304Not modified
401Requires authentication
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 401 is returned: Requires authentication. A 403 is returned: Forbidden.