Check if a user can be assigned to a issue
GET
/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee} https://api.github.com
Checks if a user has permission to be assigned to a specific issue.
If the assignee can be assigned to this issue, a 204 status code with no content is returned.
Otherwise a 404 status code is returned.
Parameters
path Path Parameters
| Name | Type |
|---|---|
owner
required
The account owner of the repository. The name is not case sensitive. | string |
repo
required
The name of the repository without the | string |
issue_number
required
The number that identifies the issue. | number |
assignee
required
| string |
Responses
204
Response if assignee can be assigned to issue_number
unknown
Client Errors
404 application/json
Response if assignee can not be assigned to issue_number
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}