List all private message for authorized users
Query the relevant private message records of users on AtomGit based on the filtering criteria and in pages
Query Parameters
- unread boolean
Whether to only obtain unread messages, default:false
- since string
Only retrieve messages updated after the given time. The required time format is: ISO 8601
- page integer
current page index
- per_page integer
per page size,max size is 100
Header Parameters
- Authorization required
Oauth2 token or private token(need Bearer+" " begin)
- 200
- 401
- 403
success
- application/json
- Schema
- Example (from schema)
Schema
- total Integer
total
list array
private message list
id stringprivate message id
content stringprivate message content
unread booleanprivate message is unread
updated_at stringprivate message update time
url stringprivate message api url
html_url stringprivate message html url
sender object
sender info
login stringsender's username
id stringsender's userid
avatar_url stringsender's avatar url
url stringsender info api url
html_url stringsender profile html url
followers_url stringsender's followers url
followering_url stringsender's followering url
gists_url stringsender's gists url
starred_url stringsender's starred url
subscriptions_url stringsender's subscriptions url
organizations_url stringsender's organizations url
repos_url stringsender's repos url
events_url stringsender's events url
received_events_url stringsender's received events url
type stringsender's user type
site_admin stringsender is a admin
{
"total": 60,
"list": [
null
]
}
fail,need login or invalid token
forbid, no permission