列出用户的动态
根据用户名,获取用户的动态
Path Parameters
- username required
用户名
Header Parameters
- Authorization required
Oauth2 token或者私人token(需以Bearer加空格开头)
Responses
- 200
- 401
- 403
- 404
操作成功
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- type string
动态类型
actor object
触发人信息
login string触发人用户名
id string触发人用户id
avatar_url string触发人用户头像
url string触发人信息api地址
html_url string触发人主页地址
followers_url string触发人的followers url
followering_url string触发人的followering url
gists_url string触发人的 gists url
starred_url string触发人的 starred url
subscriptions_url string触发人的 subscriptions url
organizations_url string触发人的 organizations url
repos_url string触发人的 repos url
events_url string触发人的 events url
received_events_url string触发人的 received events url
type string触发人的类型
site_admin string触发人的是否是管理员
repo object
所属仓库信息
id string仓库id
name string仓库名称
path string仓库路径
name_with_namespace string仓库完整名称(包含命名空间名称)
path_with_namespace string仓库完整路径(包含命名空间路径)
visibility_level int是否私有
web_url string仓库网页的url
- created_at string
创建日期
- payload string
动态包含的相关信息
- ]
[
{
"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"
}
]
操作失败,暂未登录
暂无权限,操作失败
用户名有误,用户不存在
Loading...