触发dispatch
/open/github/dispatch
修改时间: 2 年前
此接口支持Get和Post请求
请求参数
Query 参数
token
string
必需
GitHub个人token
owner
string
你的用户名
repo
string
触发仓库名
text
string
触发时的文本
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
object {0}
示例成功示例
{
"data": {
"x-oauth-scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, repo, user, workflow, write:discussion, write:packages",
"x-ratelimit-limit": "5000",
"x-ratelimit-remaining": "4990",
"x-ratelimit-reset": "1646234044",
"x-ratelimit-resource": "core",
"x-ratelimit-used": "10"
},
"message": "请求成功!请跳转链接查看:https://github.com/kkfive/kkadmin-open/actions",
"type": "success",
"code": 0
}
修改时间 2 年前