GetUserIssuesList
Get a list of all issues responsible for or created by the current user
Query Parameters
- filter
filter enumeration: assigned, created. Default value: assigned
- state
Status enumeration: open, closed, all. Default value: open
- sort
Sorting: created(default), updated
- direction
Sorting direction: asc, desc(default)
- page
Page num (default is 1)
- per_page
Page size (default 30, max 100)
Header Parameters
- Authorization required
private token (needs to start with Bearer and a space)
- 200
- 401
- 403
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id string
id
- url string
url
- number int
number
- state string
state
- title string
title
- body string
Issue text (use MD format to write content)
user object
id stringid
login stringusername
url stringuser url
avatar_url stringavatar_url
html_url stringhtml_url
type stringuser type - User | Bot
assignee object
id stringid
login stringusername
url stringuser url
avatar_url stringavatar_url
html_url stringhtml_url
type stringuser type - User | Bot
- locked boolean
lock status
- repository_url string
repository_url
- html_url string
issue web url
- closed_at string
closed_at
- created_at string
created_at
- updated_at string
updated_at
- ]
[
{
"id": "64a2791c36ca86246aed3612",
"url": "https://api.atomgit.com/repos/test/public01/issues/6",
"number": 1,
"state": "closed",
"title": "test title",
"body": "issue content",
"user": {
"id": "62c791bede9059102516aa8f",
"login": "lik0914",
"url": "https://api.atomgit.com/users/lik0914",
"avatar_url": "https://xxx.com/uploads/user/1657265547983_3769.png",
"html_url": "https://atomgit.com/lik0914",
"type": "User"
},
"assignee": {
"id": "62c791bede9059102516aa8f",
"login": "lik0914",
"url": "https://api.atomgit.com/users/lik0914",
"avatar_url": "https://xxx.com/uploads/user/1657265547983_3769.png",
"html_url": "https://atomgit.com/lik0914",
"type": "User"
},
"locked": false,
"repository_url": "https://api.atomgit.com/repos/test/public01",
"html_url": "https://atomgit.com/test/public01/issues/1",
"closed_at": "2023-07-04T17:03:05+08:00",
"created_at": "2023-07-04T17:03:05+08:00",
"updated_at": "2023-07-04T17:03:05+08:00"
}
]
Invalid token, please check if the token is correct.
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
- error string
error name
- error_description string
wrong description
{
"error": "invalid_token",
"error_description": "Invalid token, please provide correct token"
}
- Schema
- Example (from schema)
Schema
- error string
error name
- error_description string
wrong description
<root>
<error>invalid_token</error>
<error_description>Invalid token, please provide correct token</error_description>
</root>
Permission exception
- application/json
- Schema
- Example (from schema)
Schema
- error_code string
error name
- error_message string
wrong description
{
"error_code": "string",
"error_message": "string"
}