Skip to main content

List all notifications for authorized users

Query the relevant notification 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

  • type string

    Filter notifications of specified type,all:all notifications,event:event notifications,referer:referer notifications,default all

  • 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)

Responses

success


Schema
  • total Integer

    total

  • list array

    notify message list

  • id string

    notify message id

  • content string

    notify message content

  • unread boolean

    notify message is unread

  • updated_at string

    notify message update date time

  • url string

    notify message api url

  • html_url string

    notify message html url

  • type string

    notify type

  • namespace object

    belong to organization or project's namespace info

  • id string

    organization or project's id

  • name string

    organization or project's name

  • path string

    organization or project's path

  • type string

    namespace type

  • actor object

    sender info

  • login string

    sender's username

  • id string

    sender's userid

  • avatar_url string

    sender's avatar url

  • url string

    sender info api url

  • html_url string

    sender profile html url

  • followers_url string

    sender's followers url

  • followering_url string

    sender's followering url

  • gists_url string

    sender's gists url

  • starred_url string

    sender's starred url

  • subscriptions_url string

    sender's subscriptions url

  • organizations_url string

    sender's organizations url

  • repos_url string

    sender's repos url

  • events_url string

    sender's events url

  • received_events_url string

    sender's received events url

  • type string

    sender's user type

  • site_admin string

    sender is a admin

Loading...