Get a task by repo
[!NOTE] This endpoint is in public preview and is subject to change.
Returns a task by ID scoped to an owner/repo path
Fine-grained access tokens for "Get a task by repo"
This endpoint works with the following fine-grained token types:
The fine-grained token must have the following permission set:
- "Agent tasks" repository permissions (read)
GitHub App installation access tokens are not supported for this endpoint.
Path parameters
The account owner of the repository. The name is not case sensitive.
The name of the repository. The name is not case sensitive.
The unique identifier of the task.
Response
Task retrieved successfully
Changes
Changed in 5 of the 62 revisions of this API.16
- ○
added
subschema #1subschema #2to the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed
subschema #1subschema #2from the response bodyallOflist for the response status200response-body-all-of-removed
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ○
added
subschema #1subschema #2to the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed
subschema #1subschema #2from the response bodyallOflist for the response status200response-body-all-of-removed
- ○
- ○
endpoint added
endpoint-added
- ○