Check if a user can be assigned
GET
/repos/{owner}/{repo}/assignees/{assignee} https://api.github.com
Checks if a user has permission to be assigned to an issue in this repository.
If the assignee can be assigned to issues in the repository, a 204 header 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 |
assignee
required
| string |
Responses
204
If the assignee can be assigned to issues in the repository, a 204 header with no content is returned.
unknown
Client Errors
404 application/json
Otherwise a 404 status code is returned.
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}