Assignees API

List assignees

This call lists all the available assignees (owner + collaborators) to which issues may be assigned.

GET /repos/:owner/:repo/assignees

Response

Status: 200 OK
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
[
  {
    "login": "octocat",
    "id": 1,
    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    "gravatar_id": "somehexcode",
    "url": "https://api.github.com/users/octocat"
  }
]

Check assignee

You may also check to see if a particular user is an assignee for a repository.

GET /repos/:owner/:repo/assignees/:assignee

Response

If the given assignee login belongs to an assignee for the repository, a 204 header with no content is returned.

Status: 204 No Content
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999

Otherwise a 404 status code is returned.

Status: 404 Not Found
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999