List the activities received by a user.
List the activities received by a user.
Path Parameters
- username requiredusername 
Header Parameters
- Authorization requiredOauth2 token or private token (must be prefixed with 'Bearer' followed by a space). 
- 200
- 401
- 403
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- type stringActivity type 
- actor object- actor info login string- actor username id string- actor user id avatar_url string- actor user avatar url url string- API endpoint for querying user information. html_url string- User profile url. followers_url string- actor's followers url followering_url string- actor's followering url gists_url string- actor's gists url starred_url string- actor's starred url subscriptions_url string- actor's subscriptions url organizations_url string- actor's organizations url repos_url string- actor's repos url events_url string- actor's events url received_events_url string- actor's received events url type string- actor's user type site_admin string- Is actor a administrator 
- repo object- Repository information id string- Repository id name string- Repository name path string- Repository path name_with_namespace string- Full repository name (including namespace name) path_with_namespace string- Full repository path (including namespace path) visibility_level int- Is the repository public web_url string- repository web url 
- created_at stringcreate time 
- payload stringThe relevant information included in the activity. 
- ]
[
  {
    "type": "push",
    "actor": {
      "login": "mrpuatomgit",
      "id": "63db126c0566d2f7d2c9498c",
      "avatar_url": "https://img-host/uploads/user/1656318880150_5104.png",
      "url": "https://api.atomgit.com/users/leige",
      "html_url": "https://atomgit.com/mrpuatomgit",
      "followers_url": null,
      "followering_url": null,
      "gists_url": null,
      "starred_url": null,
      "subscriptions_url": null,
      "organizations_url": null,
      "repos_url": null,
      "events_url": null,
      "received_events_url": null,
      "type": "user",
      "site_admin": false
    },
    "repo": {
      "id": 34367,
      "name": "feed",
      "path": "feed",
      "name_with_namespace": "feed",
      "path_with_namespace": "feed",
      "visibility_level": 20,
      "web_url": "https://atomgit.com/miykaelxxm/feed"
    },
    "created_at": "2024-01-10T18:04:18+08:00",
    "payload": "test"
  }
]
Fail,need login or invalid token
No permission, operation failed.
User is not exist