diff --git a/testcasesprojectsmilestonetest_milestone_flow.pyTestMilestoneFlowtest_edit_milestone_success[chromium-编辑里程碑描述].json b/testcasesprojectsmilestonetest_milestone_flow.pyTestMilestoneFlowtest_edit_milestone_success[chromium-编辑里程碑描述].json new file mode 100644 index 0000000..ed9643d --- /dev/null +++ b/testcasesprojectsmilestonetest_milestone_flow.pyTestMilestoneFlowtest_edit_milestone_success[chromium-编辑里程碑描述].json @@ -0,0 +1 @@ +{"openapi":"3.0.1","info":{"title":"GitLink","description":"","version":"1.0.0"},"tags":[{"name":"附件"},{"name":"许可证"},{"name":"忽略文件"},{"name":"用户"},{"name":"组织"},{"name":"项目"},{"name":"疑修"},{"name":"合并请求"},{"name":"发行版"},{"name":"WebHook"},{"name":"oauth2"}],"paths":{"/api/v1/{owner}/{repo}/issue_statues":{"get":{"summary":"疑修状态列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"example":"1","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"分页个数","required":false,"example":"15","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"statues":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"疑修状态ID"},"name":{"type":"string","title":"疑修状态名称"}},"required":["id","name"],"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]}}},"required":["total_count","statues"],"x-apifox-orders":["total_count","statues"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":5,"statues":[{"id":1,"name":"新增"},{"id":2,"name":"正在解决"},{"id":3,"name":"已解决"},{"id":5,"name":"关闭"},{"id":6,"name":"拒绝"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027786-run","security":[]}},"/api/v1/{owner}/{repo}/issue_authors":{"get":{"summary":"疑修发布人列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"authors":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"用户ID"},"type":{"type":"string","title":"用户类型"},"name":{"type":"string","title":"用户名称"},"login":{"type":"string","title":"用户标识"},"image_url":{"type":"string","title":"用户头像"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}}},"required":["total_count","authors"],"x-apifox-orders":["total_count","authors"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":2,"authors":[{"id":84727,"type":"User","name":"yystopf.df","login":"yystopf123","image_url":"images/avatars/User/84727?t=1650252387"},{"id":36480,"type":"User","name":"段甲生","login":"pxicb3wke","image_url":"images/avatars/User/36480?t=1672730523"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027785-run","security":[]}},"/api/v1/project_topics":{"get":{"summary":"获取所有的项目搜索标签","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"keyword","in":"query","description":"","required":false,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"总数"},"project_topics":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string","title":"名称"},"projects_count":{"type":"integer","title":"项目数量"}},"required":["id","name","projects_count"],"x-apifox-orders":["id","name","projects_count"],"x-apifox-ignore-properties":[]}}},"required":["total_count","project_topics"],"x-apifox-orders":["total_count","project_topics"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":2,"project_topics":[{"id":1,"name":"测试","projects_count":1},{"id":2,"name":"Ruby","projects_count":0}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749609-run","security":[]},"post":{"summary":"为项目创建一个搜索标签","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"搜索标签名称"},"project_id":{"type":"integer","title":"项目ID"}},"required":["name","project_id"],"x-apifox-orders":["name","project_id"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749610-run","security":[]}},"/api/v1/{owner}/feedbacks":{"post":{"summary":"新建一个反馈建议","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户名","required":true,"example":"yystopf","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}},"required":["content"],"x-apifox-orders":["content"],"x-apifox-ignore-properties":[]},"example":{"content":"测试反馈意见"}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]}}}},"x-200:失败":{"description":"失败","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-48195728-run","security":[]}},"/api/v1/{owner}/{repo}/webhooks.json":{"get":{"summary":"Webhook列表","x-apifox-folder":"WebHook","x-apifox-status":"released","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"webhooks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"url":{"type":"string","title":"请求地址"},"http_method":{"type":"string","title":"请求方式","enum":["POST","GET"],"x-apifox":{"enumDescriptions":{"POST":"","GET":""}}},"is_active":{"type":"boolean","title":"是否激活"},"type":{"type":"string","enum":["gitea","slack","discord","dingtalk","telegram","msteams","feishu","matrix","jianmu","softbot"],"x-apifox":{"enumDescriptions":{"gitea":"","slack":"","discord":"","dingtalk":"","telegram":"","msteams":"","feishu":"","matrix":"","jianmu":"","softbot":""}},"default":"","title":"类型"},"last_status":{"type":"string","title":"最后一次推送的状态","enum":["waiting","succeed","fail"],"x-apifox":{"enumDescriptions":{"waiting":"等待中","succeed":"成功","fail":"失败"}}},"create_time":{"type":"string","title":"创建时间"}},"x-apifox-orders":["id","url","http_method","is_active","type","last_status","create_time"],"x-apifox-ignore-properties":[]}}},"required":["total_count","webhooks"],"x-apifox-orders":["total_count","webhooks"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"webhooks":[{"id":4161,"url":"http://gxdaw.tf/snhcg","http_method":"GET","is_active":true,"type":"gitea","last_status":"waiting","create_time":"2023-04-03 19:01:29"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-72760922-run","security":[]},"post":{"summary":"Webhook创建","x-apifox-folder":"WebHook","x-apifox-status":"released","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["gitea","slack","discord","dingtalk","telegram","msteams","feishu","matrix","jianmu","softbot"],"x-apifox":{"enumDescriptions":{"gitea":"","slack":"","discord":"","dingtalk":"","telegram":"","msteams":"","feishu":"","matrix":"","jianmu":"","softbot":""}},"default":"gitea","title":"类型"},"active":{"type":"boolean","title":"是否开启"},"content_type":{"type":"string","enum":["json","form"],"x-apifox":{"enumDescriptions":{"json":"","form":""}},"title":"POST content_type"},"http_method":{"type":"string","enum":["GET","POST"],"x-apifox":{"enumDescriptions":{"GET":"","POST":""}},"title":"请求方式"},"secret":{"type":"string","title":"密钥"},"url":{"type":"string","title":"请求地址"},"branch_filter":{"type":"string","description":"推送、创建,删除分支事件的分支白名单,使用 glob 模式匹配指定。若为空或 *,则将报告所有分支的事件。语法文档见github.com/gobwas/glob。示例:master,{master,release*}。","title":"分支白名单"},"events":{"type":"array","items":{"type":"string","enum":["push","create","delete","issues_only","issue_assign","issue_label","issue_comment","pull_request_only","pull_request_assign","pull_request_comment"],"x-apifox":{"enumDescriptions":{"push":"git推送到存储库","create":"创建分支或标签","delete":"删除分支或标签","issues_only":"疑修已打开、已关闭、已重新打开或编辑","issue_assign":"疑修已被指派或取消指派","issue_label":"疑修标记被更新或清除","issue_comment":"疑修评论被创建、编辑或删除","pull_request_only":"合并请求被打开、被关闭、被重新打开或被编辑","pull_request_assign":"合并请求被分配或取消分配","pull_request_comment":"合并请求评论被创建、编辑或删除"}}},"uniqueItems":true,"title":"事件"}},"required":["active","content_type","http_method","url","branch_filter","events"],"x-apifox-orders":["type","active","content_type","http_method","secret","url","branch_filter","events"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"type":{"type":"string","title":"类型"},"content_type":{"type":"string","title":"POST content_type"},"http_method":{"type":"null","title":"请求方式"},"url":{"type":"string","title":"请求地址"},"events":{"type":"array","items":{"type":"string"},"title":"事件"},"active":{"type":"boolean","title":"是否开启"},"branch_filter":{"type":"null","title":"分支白名单"},"created_at":{"type":"string","title":"创建时间"}},"required":["id","type","content_type","url","events","active","created_at"],"x-apifox-orders":["id","type","content_type","http_method","url","events","active","branch_filter","created_at"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":4167,"type":"gitea","content_type":"json","http_method":null,"url":"http://gxdaw.tf/snhcg","events":["delete","push","issues","pull_request"],"active":true,"branch_filter":null,"created_at":"2023-04-04 11:43"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-72768906-run","security":[]}},"/oauth/token":{"post":{"summary":"用户登录(客户端模式)","x-apifox-folder":"oauth2","x-apifox-status":"released","deprecated":false,"description":"","tags":["oauth2"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"grant_type":{"type":"string","enum":["client_credentials"],"x-apifox":{"enumDescriptions":{"client_credentials":""}}},"client_id":{"type":"string","default":"","enum":["QLl3uLyNjdKnp5h2SnS73d4hoAJvXSZ7k_NceJfHB6k"],"x-apifox":{"enumDescriptions":{"QLl3uLyNjdKnp5h2SnS73d4hoAJvXSZ7k_NceJfHB6k":""}}},"client_secret":{"type":"string","enum":["yq_uw6HxHwwS4a_ZaITMvU9Nf01aoxEVavZeWcTY9Zo"],"x-apifox":{"enumDescriptions":{"yq_uw6HxHwwS4a_ZaITMvU9Nf01aoxEVavZeWcTY9Zo":""}}}},"required":["grant_type","client_id","client_secret"],"x-apifox-orders":["grant_type","client_id","client_secret"],"x-apifox-ignore-properties":[]},"example":{"grant_type":"client_credentials","client_id":"QLl3uLyNjdKnp5h2SnS73d4hoAJvXSZ7k_NceJfHB6k","client_secret":"yq_uw6HxHwwS4a_ZaITMvU9Nf01aoxEVavZeWcTY9Zo"}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"access_token":{"type":"string"},"token_type":{"type":"string"},"expires_in":{"type":"integer"},"scope":{"type":"string"},"created_at":{"type":"integer"}},"required":["access_token","token_type","expires_in","scope","created_at"],"x-apifox-orders":["access_token","token_type","expires_in","scope","created_at"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"access_token":"78TRal_EkUQwoQcPWUaV2nWi9i8amKtt38_78gwge70","token_type":"Bearer","expires_in":604799,"scope":"public","created_at":1680593427}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-72935925-run","security":[]}},"/api/licenses":{"get":{"summary":"许可证列表","x-apifox-folder":"许可证","x-apifox-status":"released","deprecated":false,"description":"","tags":["许可证"],"parameters":[{"name":"name","in":"query","description":"","required":false,"example":"AFL","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"licenses":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"name":{"type":"string","title":"名称"}},"required":["id","name"],"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]}}},"required":["licenses"],"x-apifox-orders":["licenses"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"licenses":[{"id":5,"name":"AFL-1.1"},{"id":6,"name":"AFL-1.2"},{"id":7,"name":"AFL-2.0"},{"id":8,"name":"AFL-2.1"},{"id":9,"name":"AFL-3.0"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-72992902-run","security":[]}},"/api/{owner}/{repo}/releases":{"post":{"summary":"创建发行版","x-apifox-folder":"发行版","x-apifox-status":"released","deprecated":false,"description":"","tags":["发行版"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"attachment_ids":{"type":"array","items":{"type":"string"},"title":"附件ID数组"},"body":{"type":"string","title":"发行版描述"},"name":{"type":"string","title":"发行版标题"},"tag_name":{"type":"string","title":"标签"},"target_commitish":{"type":"string","title":"分支","description":"默认为master"},"draft":{"type":"boolean","title":"是否为草稿"},"prerelease":{"type":"boolean","title":"是否为预发行版本"}},"required":["body","name","tag_name","draft"],"x-apifox-orders":["attachment_ids","body","name","tag_name","target_commitish","draft","prerelease"],"x-apifox-ignore-properties":[]},"example":{"attachment_ids":[],"body":"dfs","name":"ceshi","tag_name":"v1.0.1","target_commitish":"","draft":true,"prerelease":true}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"发布成功"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128319361-run","security":[]}},"/api/attachments.json":{"post":{"summary":"上传文件","x-apifox-folder":"附件","x-apifox-status":"released","deprecated":false,"description":"","tags":["附件"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","description":"上传的文件","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"filesize":{"type":"integer"}},"required":["id","filesize"],"x-apifox-orders":["id","filesize"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"id":441839,"filesize":154}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128323479-run","security":[]}},"/api/v1/{owner}/{repo}/pulls":{"get":{"summary":"获取合并请求列表","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"合并请求类型,0 开启的 1 合并的 2 关闭,不传为全部","required":false,"schema":{"type":"string"}},{"name":"priority_id","in":"query","description":"优先级ID","required":false,"schema":{"type":"string"}},{"name":"issue_tag_id","in":"query","description":"标记ID","required":false,"schema":{"type":"string"}},{"name":"version_id","in":"query","description":"里程碑ID","required":false,"schema":{"type":"string"}},{"name":"reviewer_id","in":"query","description":"审查人员ID","required":false,"schema":{"type":"string"}},{"name":"assign_user_id","in":"query","description":"指派人员ID","required":false,"schema":{"type":"string"}},{"name":"sort_by","in":"query","description":"排序字段,updated_at 更新时间 created_at 创建时间","required":false,"schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序类型。desc 倒序 asc 正序","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"pulls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"合并请求ID"},"title":{"type":"string","title":"合并请求标题"},"body":{"type":"null","title":"合并请求内容"},"head":{"type":"string","title":"合并请求源分支"},"base":{"type":"string","title":"合并请求目标分支"},"is_original":{"type":"boolean","title":"是否为fork仓库发来的合并请求"},"index":{"type":"integer","title":"合并请求序号"},"status":{"type":"string","title":"合并请求状态","description":"open: 开启的, merged: 合并的, closed: 关闭的"},"fork_project":{"type":"object","properties":{"id":{"type":"integer","title":"fork仓库的id"},"identifier":{"type":"string","title":"fork仓库的标识"},"login":{"type":"string","title":"fork仓库拥有者的标识"}},"x-apifox-orders":["id","identifier","login"],"required":["login"],"x-apifox-ignore-properties":[]},"issue":{"type":"object","properties":{"id":{"type":"integer","title":"疑修ID"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"疑修创建者","x-apifox-ignore-properties":[]},"priority":{"type":"null","title":"疑修优先级"},"version":{"type":"null","title":"疑修里程碑"},"journals_count":{"type":"integer","title":"普通评论数量"},"issue_tags":{"type":"null","title":"普通评论数量"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"reviewers":{"type":"array","items":{"type":"string"},"title":"代码审查者标识数组"},"journals_count":{"type":"integer","title":"审查评论数量"}},"x-apifox-orders":["id","title","body","head","base","is_original","index","status","fork_project","issue","reviewers","journals_count"],"x-apifox-ignore-properties":[]}}},"required":["total_count","pulls"],"x-apifox-orders":["total_count","pulls"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":1,"pulls":[{"id":11,"title":"ceshi","body":null,"head":"master_new","base":"master","is_original":false,"index":1,"status":"open","issue":{"id":105,"author":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"priority":null,"version":null,"journals_count":0,"issue_tags":null},"reviewers":[],"journals_count":0}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129418678-run","security":[]}},"/api/organizations/{organization}/teams/{id}/team_projects/create_all":{"post":{"summary":"组织团队下新增所有的项目","x-apifox-folder":"组织","x-apifox-status":"released","deprecated":false,"description":"","tags":["组织"],"parameters":[{"name":"organization","in":"path","description":"组织标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"团队 ID\n","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130180455-run","security":[]}},"/api/v1/{owner}/{repo}/issue_assigners":{"get":{"summary":"疑修负责人列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"assigners":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"用户ID"},"type":{"type":"string","title":"用户类型"},"name":{"type":"string","title":"用户名称"},"login":{"type":"string","title":"用户标识"},"image_url":{"type":"string","title":"用户头像"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"负责人数组"}},"required":["total_count","assigners"],"x-apifox-orders":["total_count","assigners"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":3,"assigners":[{"id":84727,"type":"User","name":"yystopf.df","login":"yystopf123","image_url":"images/avatars/User/84727?t=1650252387"},{"id":84961,"type":"User","name":"postwoman釹轻柔","login":"postwoman","image_url":"images/avatars/User/84961?t=1641441279"},{"id":85605,"type":"User","name":"Floraachy","login":"p10789563","image_url":"system/lets/letter_avatars/2/P/158_138_26/120.png"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027787-run","security":[]}},"/api/ignores":{"get":{"summary":"忽略文件列表","x-apifox-folder":"忽略文件","x-apifox-status":"released","deprecated":false,"description":"","tags":["忽略文件"],"parameters":[{"name":"name","in":"query","description":"","required":false,"example":"Ada","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"ignores":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]}}},"required":["ignores"],"x-apifox-orders":["ignores"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"ignores":[{"id":2,"name":"Ada"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-72996734-run","security":[]}},"/api/{owner}/{repo}/releases/{id}":{"put":{"summary":"更新发行版","x-apifox-folder":"发行版","x-apifox-status":"released","deprecated":false,"description":"","tags":["发行版"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"attachment_ids":{"type":"array","items":{"type":"string"},"title":"附件ID数组"},"body":{"type":"string","title":"发行版描述"},"name":{"type":"string","title":"发行版标题"},"tag_name":{"type":"string","title":"标签"},"target_commitish":{"type":"string","title":"分支","description":"默认为master"},"draft":{"type":"boolean","title":"是否为草稿"},"prerelease":{"type":"boolean","title":"是否为预发行版本"}},"required":["body","name","tag_name"],"x-apifox-orders":["attachment_ids","body","name","tag_name","target_commitish","draft","prerelease"],"x-apifox-ignore-properties":[]},"example":{"attachment_ids":[],"body":"dfs","name":"ceshi","tag_name":"v1.0.1","target_commitish":"","draft":true,"prerelease":true}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"更新成功"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128325148-run","security":[]},"delete":{"summary":"删除发行版","x-apifox-folder":"发行版","x-apifox-status":"released","deprecated":false,"description":"","tags":["发行版"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"删除成功"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128326903-run","security":[]},"get":{"summary":"查看发行版","x-apifox-folder":"发行版","x-apifox-status":"released","deprecated":false,"description":"","tags":["发行版"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"version_id":{"type":"integer","title":"ID"},"id":{"type":"string"},"tag_name":{"type":"string","title":"标签名称"},"target_commitish":{"type":"string","title":"分支名称"},"name":{"type":"string","title":"名称"},"sha":{"type":"string","title":"标识"},"body":{"type":"string","title":"描述"},"url":{"type":"string","title":"下载地址"},"tarball_url":{"type":"string","title":"tar下载地址"},"zipball_url":{"type":"string","title":"zip下载地址"},"draft":{"type":"string","title":"版本类型","description":"有以下三种 草稿、预发行、稳定"},"created_at":{"type":"string","title":"创建时间"},"published_at":{"type":"string","title":"发布时间"},"user_name":{"type":"string","title":"创建者昵称"},"user_login":{"type":"string","title":"创建者标识"},"image_url":{"type":"string","title":"创建者头像"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"附件ID"},"title":{"type":"string","title":"附件标题"},"filesize":{"type":"string","title":"附件文件大小"},"description":{"type":"string","title":"附件描述"},"is_pdf":{"type":"boolean","title":"附件是否为pdf"},"url":{"type":"string","title":"附件链接"}},"required":["id","title","filesize","description","is_pdf","url"],"x-apifox-orders":["id","title","filesize","description","is_pdf","url"],"x-apifox-ignore-properties":[]}}},"required":["version_id","id","tag_name","target_commitish","name","sha","body","url","tarball_url","zipball_url","draft","created_at","published_at","user_name","user_login","image_url","attachments"],"x-apifox-orders":["version_id","id","tag_name","target_commitish","name","sha","body","url","tarball_url","zipball_url","draft","created_at","published_at","user_name","user_login","image_url","attachments"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"version_id":593,"id":"1619232","tag_name":"v1.0","target_commitish":"master","name":"222","sha":"ef44144e8f53fd19d38c8a7d1400313db73881e4","body":"22","url":"https://gitlink.org.cn/api/v1/repos/yystopf/data_competition/releases/1619232","tarball_url":"https://www.gitlink.org.cn/api/yystopf/data_competition/archive/v1.0.tar.gz","zipball_url":"https://www.gitlink.org.cn/api/yystopf/data_competition/archive/v1.0.zip","draft":"稳定","created_at":"2023-11-27 11:47","published_at":"2023-11-27 11:47","user_name":"何慧","user_login":"yystopf","image_url":"images/avatars/User/85890?t=1641550911","attachments":[{"id":441826,"title":"http-proxy.conf","filesize":"154 字节","description":"","is_pdf":false,"url":"/api/attachments/441826"},{"id":441827,"title":"组 9.png","filesize":"342.0 KB","description":"","is_pdf":false,"url":"/api/attachments/441827"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128787455-run","security":[]}},"/api/v1/{owner}/{repo}/milestones":{"get":{"summary":"里程碑列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"only_name","in":"query","description":"只返回名称及id","required":false,"example":"true","schema":{"type":"string"}},{"name":"page","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"","required":false,"schema":{"type":"string"}},{"name":"category","in":"query","description":"closed 关闭的 opening 开启中","required":false,"schema":{"type":"string"}},{"name":"sort_by","in":"query","description":"排序字段 created_on 创建时间 updated_on 更新时间 effective_date 到期日期 issues_count 任务数量 percent 完成度","required":false,"schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序顺序 desc 倒序 asc 正序","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"closed_milestone_count":{"type":"integer","title":"关闭的里程碑总数"},"opening_milestone_count":{"type":"integer","title":"开启的里程碑总数"},"total_count":{"type":"integer","title":"分页总数"},"milestones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"里程碑ID"},"name":{"type":"string","title":"里程碑名称"},"description":{"type":"string","title":"里程碑描述"},"effective_date":{"type":"string","title":"截止日期"},"status":{"type":"string","title":"里程碑状态","description":"closed 关闭 opening 开启的"},"issues_count":{"type":"integer","title":"疑修数量"},"opened_issues_count":{"type":"integer","title":"开启中疑修数量"},"close_issues_count":{"type":"integer","title":"关闭的疑修数量"},"percent":{"type":"integer","title":"完成度"},"created_at":{"type":"string","title":"创建时间"},"updated_on":{"type":"string","title":"更新时间"}},"required":["id","name","description","effective_date","status","issues_count","opened_issues_count","close_issues_count","percent","created_at","updated_on"],"x-apifox-orders":["id","name","description","effective_date","status","issues_count","opened_issues_count","close_issues_count","percent","created_at","updated_on"],"x-apifox-ignore-properties":[]}}},"required":["closed_milestone_count","opening_milestone_count","total_count","milestones"],"x-apifox-orders":["closed_milestone_count","opening_milestone_count","total_count","milestones"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"closed_milestone_count":0,"opening_milestone_count":3,"total_count":3,"milestones":[{"id":5,"name":"是林得七没","description":"拉道计道等本照响层方支被原条目。便史劳回又观民放全子将八近受引子便。将子意布头天单土养低新实议反书。就斯众县成县厂研与己场权人。业车空且热般设转么体府义满素质。验者建指四集传风片和证太。","effective_date":"1987-11-03","status":"open","issues_count":0,"opened_issues_count":0,"close_issues_count":0,"percent":0,"created_at":"2023-02-20 11:23","updated_on":"2023-02-20 11:23"},{"id":4,"name":"加花果马划八","description":"队还己光满道及去回派斗入利眼。劳劳百及联计存本至统专大维石志。之光加白本知等划争件易要他高然油也。同有力观适产候影带计表世达程资斯华感。美度的没时制百气安如都争。文术样验号严基面精即报济有先除入。界之许实成史我点可件千许属。","effective_date":"1989-09-03","status":"open","issues_count":1,"opened_issues_count":1,"close_issues_count":0,"percent":0,"created_at":"2023-02-16 18:36","updated_on":"2023-02-20 11:38"},{"id":3,"name":"1","description":"1","effective_date":"2023-02-24","status":"open","issues_count":36,"opened_issues_count":36,"close_issues_count":0,"percent":0,"created_at":"2023-02-07 17:54","updated_on":"2023-02-07 17:54"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027784-run","security":[]},"post":{"summary":"创建一个里程碑","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"debug","in":"query","description":"","required":false,"example":"admin","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"里程碑名称"},"description":{"type":"string","title":"里程碑描述"},"effective_date":{"type":"string","title":"里程碑截止日期"}},"required":["name","description","effective_date"],"x-apifox-orders":["name","description","effective_date"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027790-run","security":[]}},"/api/v1/project_topics/{id}":{"delete":{"summary":"删除项目一个搜索标签","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"id","in":"path","description":"项目搜索标签ID","required":true,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"项目ID","required":true,"example":"","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749611-run","security":[]}},"/api/public_keys":{"get":{"summary":"Public Keys列表","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"page","in":"query","description":"页码","required":false,"example":"","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"每页数量","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"总数"},"public_keys":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"name":{"type":"string","title":"密钥名称"},"content":{"type":"string","title":"密钥内容"},"fingerprint":{"type":"string","title":"密钥简洁版内容"},"created_unix":{"type":"integer","title":"密钥创建时间"},"created_time":{"type":"string","title":"密钥创建时间戳"}},"x-apifox-orders":["id","name","content","fingerprint","created_unix","created_time"],"required":["content","name","fingerprint","created_unix","created_time","id"],"x-apifox-ignore-properties":[]},"title":""}},"required":["total_count","public_keys"],"x-apifox-orders":["total_count","public_keys"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"public_keys":[{"id":1,"name":"测试","content":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC1VXqDLv/J7mmaUxzF0PuCYkKz64vwwCGNYCq3itnTa9SVIaUVAW6ur2xUuiNYM/wCvEzziyfSf+CpYM/Lsy7/Dp40IgrMUHWMOVZmmbF4btFnE3KLf6ENZmy9ZC/lCVXTFXYcAg6Vx4H5pqGt/LJT0B8YPIyhx5BhRrWDXOAYZCrCSumrRwlifzrA+EcuU8kDw23JykkSwyJxlTYH+IIp2t7zoLn1TXKXw3VYpRyiEgLb51v+8NSE6Uzd8NmiaxH02Upq6K9zpALe6NI1GtbE15nQYD51oOVFLagemQuB+ARIaePvA5wcZjI3Jsw/Of84RUEZIWsEE9ue0ejU+ioJTQfc8apnezeed8iqi/qeVSPpxejFTCVp+JlJ8xZeDPnQcEFPPfsu1clR7dKevGMbnUb3ooex03rsqZRcZHAW65BmfO6cFXBkmnNVrjfHf5g86tsqewUUmIPfAcylHoenHDwKpDpd5GV3XsK/sJkWCoQKwP8D7/yZIWyguRK7AnO1eWxwCTRuF/drRMCE5U+ztUSyzUhIhDpjPBbBbFg3iQrWCaFIgPueC3nj1h72YuofhYb+TSvfo8Z2KGkOfXaDO8ALr5lEhCvVWk+Im/1E7BIQByqH1vRGP89d1pJIQmKAmba7O6mv7hXvjeHrXVCve3+Q7dQwZaK317bvlPHcew== yystopf@163.com","fingerprint":"SHA256:fuQoDBhAfOijPymXEa2ahiVV/5Jj3hB/0YbIS4aBMDo","created_unix":1690797157,"created_time":"2023/07/31 17:52"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99494753-run","security":[]},"post":{"summary":"Public Keys创建","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","title":"密钥内容"},"title":{"type":"string","title":"密钥标题"}},"required":["key","title"],"x-apifox-orders":["key","title"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"密钥ID"},"name":{"type":"string","title":"密钥名称"},"content":{"type":"string","title":"密钥内容"},"fingerprint":{"type":"string","title":"密钥简洁版内容"},"created_time":{"type":"string","title":"密钥创建时间"}},"required":["id","name","content","fingerprint","created_time"],"x-apifox-orders":["id","name","content","fingerprint","created_time"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":2,"name":"速个严接不建和","content":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC1VXqDLv/J7mmaUxzF0PuCYkKz64vwwCGNYCq3itnTa9SVIaUVAW6ur2xUuiNYM/wCvEzziyfSf+CpYM/Lsy7/Dp40IgrMUHWMOVZmmbF4btFnE3KLf6ENZmy9ZC/lCVXTFXYcAg6Vx4H5pqGt/LJT0B8YPIyhx5BhRrWDXOAYZCrCSumrRwlifzrA+EcuU8kDw23JykkSwyJxlTYH+IIp2t7zoLn1TXKXw3VYpRyiEgLb51v+8NSE6Uzd8NmiaxH02Upq6K9zpALe6NI1GtbE15nQYD51oOVFLagemQuB+ARIaePvA5wcZjI3Jsw/Of84RUEZIWsEE9ue0ejU+ioJTQfc8apnezeed8iqi/qeVSPpxejFTCVp+JlJ8xZeDPnQcEFPPfsu1clR7dKevGMbnUb3ooex03rsqZRcZHAW65BmfO6cFXBkmnNVrjfHf5g86tsqewUUmIPfAcylHoenHDwKpDpd5GV3XsK/sJkWCoQKwP8D7/yZIWyguRK7AnO1eWxwCTRuF/drRMCE5U+ztUSyzUhIhDpjPBbBbFg3iQrWCaFIgPueC3nj1h72YuofhYb+TSvfo8Z2KGkOfXaDO8ALr5lEhCvVWk+Im/1E7BIQByqH1vRGP89d1pJIQmKAmba7O6mv7hXvjeHrXVCve3+Q7dQwZaK317bvlPHcew== yystopf@163.com","fingerprint":"SHA256:fuQoDBhAfOijPymXEa2ahiVV/5Jj3hB/0YbIS4aBMDo","created_time":"2023/07/31 18:07"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99502322-run","security":[]}},"/api/v1/{owner}/{repo}/pulls/{index}":{"get":{"summary":"获取一个合并请求","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"合并请求ID"},"title":{"type":"string","title":"合并请求标题"},"body":{"type":"null","title":"合并请求描述"},"head":{"type":"string","title":"合并请求源分支"},"base":{"type":"string","title":"合并请求目标分支"},"is_original":{"type":"boolean","title":"是否为fork仓库发来的合并请求"},"index":{"type":"integer","title":"合并请求序号"},"status":{"type":"string","title":"合并请求状态","description":"open: 开启的, merged: 合并的, closed: 关闭的"},"issue":{"type":"object","properties":{"id":{"type":"integer","title":"疑修ID"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"疑修作者","x-apifox-ignore-properties":[]},"priority":{"type":"null","title":"疑修优先级"},"version":{"type":"null","title":"疑修里程碑"},"journals_count":{"type":"integer","title":"普通评论数量"},"issue_tags":{"type":"null","title":"标记"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"reviewers":{"type":"array","items":{"type":"string"},"title":"审查者标识数组"},"journals_count":{"type":"integer","title":"审查评论数量"},"merge_base":{"type":"string","title":"目标的commit ID"},"base_commit_sha":{"type":"string","title":"合并之后的第一个commit ID"},"head_commit_sha":{"type":"string","title":"源commit ID"},"commit_num":{"type":"integer","title":"commit数量"},"changed_files":{"type":"integer","title":"更改文件数量"},"is_locked":{"type":"boolean"},"mergeable":{"type":"boolean","title":"是否能合并"},"merged":{"type":"boolean","title":"是否合并"},"merged_at":{"type":"string","title":"合并时间"},"merge_commit_sha":{"type":"null","title":"合并之后的第一个commit ID"},"merge_by":{"type":"null","title":"被谁合并了"},"last_review":{"type":"object","properties":{"id":{"type":"string","title":"最后一个审查的id"},"commit_id":{"type":"string","title":"最后一个审查对应的commit ID"},"content":{"type":"string","title":"最后一个审查的内容"},"status":{"type":"string","title":"最后一个审查的状态","description":"common: 一般审查, approved: 通过, rejected: 拒绝通过"},"created_at":{"type":"string","title":"审查创建的时间"},"reviewer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"}},"x-apifox-orders":["id","login","name","image_url"],"title":"审查创建者","x-apifox-ignore-properties":[]}},"x-apifox-orders":["id","commit_id","content","status","created_at","reviewer"],"x-apifox-ignore-properties":[]},"conflict_files":{"type":"null","title":"有冲突的文件"}},"required":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count","merge_base","base_commit_sha","head_commit_sha","commit_num","changed_files","is_locked","mergeable","merged","merged_at","merge_commit_sha","merge_by","conflict_files"],"x-apifox-orders":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count","merge_base","base_commit_sha","head_commit_sha","commit_num","changed_files","is_locked","mergeable","merged","merged_at","merge_commit_sha","merge_by","last_review","conflict_files"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"id":11,"title":"ceshi","body":null,"head":"master_new","base":"master","is_original":false,"index":1,"status":"open","issue":{"id":105,"author":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"priority":null,"version":null,"journals_count":0,"issue_tags":null},"reviewers":[],"journals_count":0,"merge_base":"96dc82d07e05327fc908aaaa127ba45f02091d85","base_commit_sha":"96dc82d07e05327fc908aaaa127ba45f02091d85","head_commit_sha":"82861402ada099d3e288fc41680596dde297d022","commit_num":2,"changed_files":2,"is_locked":false,"mergeable":true,"merged":false,"merged_at":"","merge_commit_sha":null,"merge_by":null,"last_review":null,"conflict_files":null}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129436611-run","security":[]}},"/api/organizations/{organization}/teams/{id}/team_projects/destroy_all":{"delete":{"summary":"组织团队下删除所有的项目","x-apifox-folder":"组织","x-apifox-status":"released","deprecated":false,"description":"","tags":["组织"],"parameters":[{"name":"organization","in":"path","description":"组织标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"团队ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130180856-run","security":[]}},"/api/v1/{owner}/{repo}/milestones/{id}":{"get":{"summary":"获取一个里程碑以及疑修(合并请求TODO)","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"category","in":"query","description":"疑修类型,all 全部 opened 开启中 closed 已关闭","required":false,"schema":{"type":"string"}},{"name":"author_id","in":"query","description":"发布人ID","required":false,"schema":{"type":"string"}},{"name":"assigner_id","in":"query","description":"负责人ID","required":false,"schema":{"type":"string"}},{"name":"issue_tag_ids","in":"query","description":"标记ID,支持多个ID用,隔开","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"","required":false,"schema":{"type":"string"}},{"name":"sort_by","in":"query","description":"排序字段 issues.created_on 创建时间 issues.updated_on 更新时间 issue_priorities.position 优先级","required":false,"schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序类型 desc 倒序 asc 正序","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"milestone":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"name":{"type":"string","title":"名称"},"description":{"type":"string","title":"描述"},"effective_date":{"type":"string","title":"截止日期"},"issues_count":{"type":"integer","title":"issue数量"},"closed_issues_count":{"type":"integer","title":"关闭的issue数量"},"percent":{"type":"integer","title":"完成度"},"status":{"type":"string","title":"状态","description":"open 开启 closed关闭"},"created_at":{"type":"string","title":"创建时间"},"updated_on":{"type":"string","title":"更新时间"}},"required":["id","name","description","effective_date","issues_count","closed_issues_count","percent","status","created_at","updated_on"],"x-apifox-orders":["id","name","description","effective_date","issues_count","closed_issues_count","percent","status","created_at","updated_on"],"title":"里程碑","x-apifox-ignore-properties":[]},"total_issues_count":{"type":"integer","title":"查询列表总数"},"closed_issues_count":{"type":"integer","title":"查询列表关闭的疑修数"},"opened_issues_count":{"type":"integer","title":"查询列表开启中的疑修数"},"issues":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"subject":{"type":"string","title":"标题"},"project_issues_index":{"type":"integer","title":"序号"},"created_at":{"type":"string","title":"创建时间"},"updated_at":{"type":"string","title":"更新时间"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"name":{"type":"string","title":"名称"},"color":{"type":"string","title":"色值"}},"required":["id","name","color"],"x-apifox-orders":["id","name","color"],"x-apifox-ignore-properties":[]},"title":"标记"},"status_name":{"type":"string","title":"状态"},"priority_name":{"type":"string","title":"优先级"},"milestone_name":{"type":"string","title":"里程碑"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"发布人","x-apifox-ignore-properties":[]},"assigners":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"负责人"},"comment_journals_count":{"type":"integer","title":"评论数量"}},"x-apifox-orders":["id","subject","project_issues_index","created_at","updated_at","tags","status_name","priority_name","milestone_name","author","assigners","comment_journals_count"],"x-apifox-ignore-properties":[]}}},"required":["milestone","total_issues_count","closed_issues_count","opened_issues_count","issues"],"x-apifox-orders":["milestone","total_issues_count","closed_issues_count","opened_issues_count","issues"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"milestone":{"id":4,"name":"2","description":"2","effective_date":"2023-03-04","issues_count":1,"closed_issues_count":0,"percent":0,"status":"open","created_at":"2023-02-16 18:36","updated_on":"2023-02-16 18:36"},"total_issues_count":1,"closed_issues_count":0,"opened_issues_count":1,"issues":[{"id":62,"subject":"sedhahahaha213qjiqiq321312jakjf3123121231231","project_issues_index":32,"created_at":"2023-02-15 09:53","updated_at":"2023-02-18 23:00","tags":[{"id":3,"name":"1","color":"#F17013"},{"id":4,"name":"31231","color":"#F17013"}],"status_name":"已解决","priority_name":"高","milestone_name":"2","author":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"assigners":[{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},{"id":115,"type":"User","name":"嘿嘿嘿","login":"yystopf123","image_url":"system/lets/letter_avatars/2/Y/172_132_85/120.png"}],"comment_journals_count":8}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027783-run","security":[]},"patch":{"summary":"更新一个里程碑","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"名称"},"description":{"type":"string","title":"描述"},"effective_date":{"type":"string","title":"截止日期"}},"required":["name","description","effective_date"],"x-apifox-orders":["name","description","effective_date"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027789-run","security":[]},"delete":{"summary":"删除一个里程碑","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"名称"},"description":{"type":"string","title":"描述"},"effective_date":{"type":"string","title":"截止日期"}},"required":["name","description","effective_date"],"x-apifox-orders":["name","description","effective_date"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027791-run","security":[]}},"/api/v1/{owner}/{repo}/code_stats.json":{"get":{"summary":"获取项目贡献者代码行数","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","description":"分支名、标签名或commit_id,不填为默认分支","required":false,"example":"master","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"author_count":{"type":"integer","title":"贡献者数量"},"commit_count":{"type":"integer","title":"commit数量"},"change_files":{"type":"null","title":"更改的文件数"},"additions":{"type":"integer","title":"新增代码行数"},"deletions":{"type":"integer","title":"删除代码行数"},"commit_count_in_all_branches":{"type":"integer","title":"在整个项目中的 commit数"},"authors":{"type":"array","items":{"type":"object","properties":{"author":{"type":"object","properties":{"id":{"type":"string","nullable":true},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","nullable":true},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"贡献者用户信息","x-apifox-ignore-properties":[]},"commits":{"type":"integer","title":"commit数"},"additions":{"type":"integer","title":"新增代码行数"},"deletions":{"type":"integer","title":"删除代码行数"}},"required":["author","commits","additions","deletions"],"x-apifox-orders":["author","commits","additions","deletions"],"x-apifox-ignore-properties":[]},"title":""}},"required":["author_count","commit_count","change_files","additions","deletions","commit_count_in_all_branches","authors"],"x-apifox-orders":["author_count","commit_count","change_files","additions","deletions","commit_count_in_all_branches","authors"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"author_count":2,"commit_count":17,"change_files":null,"additions":2,"deletions":0,"commit_count_in_all_branches":25,"authors":[{"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"commits":15,"additions":2,"deletions":0},{"author":{"id":null,"login":"yystopf","name":"yystopf","type":null,"image_url":"system/lets/letter_avatars/2/Y/241_125_89/120.png"},"commits":2,"additions":0,"deletions":0}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749612-run","security":[]}},"/api/v1/{owner}/{repo}/webhooks/{id}":{"delete":{"summary":"Webhook删除","x-apifox-folder":"WebHook","x-apifox-status":"released","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"example":"","schema":{"type":"string"}},{"name":"id","in":"path","description":"webhook的ID","required":true,"example":"","schema":{"type":"string"}},{"name":"uid","in":"query","description":"","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-72899285-run","security":[]},"get":{"summary":"Webhook详情","x-apifox-folder":"WebHook","x-apifox-status":"released","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"example":"","schema":{"type":"string"}},{"name":"id","in":"path","description":"webhook的ID","required":true,"example":"","schema":{"type":"string"}},{"name":"uid","in":"query","description":"","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-74298240-run","security":[]},"put":{"summary":"Webhook更新","x-apifox-folder":"WebHook","x-apifox-status":"released","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"webhook的ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"active":{"type":"boolean","title":"是否激活"},"content_type":{"type":"string","title":"POST Content Type","enum":["json","form"],"x-apifox":{"enumDescriptions":{"json":"","form":""}}},"http_method":{"type":"string","title":"http方法, POST和GET","enum":["POST","GET"],"x-apifox":{"enumDescriptions":{"POST":"","GET":""}}},"secret":{"type":"string","title":"密钥文本"},"url":{"type":"string","title":"目标url"},"branch_filter":{"type":"string","title":"分支过滤"},"events":{"type":"array","items":{"type":"string","enum":["push","create","delete","issues_only","issue_assign","issue_label","issue_comment","pull_request_only","pull_request_assign","pull_request_comment"],"x-apifox":{"enumDescriptions":{"push":"git推送到存储库","create":"创建分支或标签","delete":"delete","issues_only":"疑修已打开、已关闭、已重新打开或编辑","issue_assign":"疑修已被指派或取消指派","issue_label":"疑修标记被更新或清除","issue_comment":"疑修评论被创建、编辑或删除","pull_request_only":"合并请求被打开、被关闭、被重新打开或被编辑","pull_request_assign":"合并请求被分配或取消分配","pull_request_comment":"合并请求评论被创建、编辑或删除"}}},"title":"触发事件"}},"required":["active","content_type","http_method","secret","url","branch_filter","events"],"x-apifox-orders":["active","content_type","http_method","secret","url","branch_filter","events"],"x-apifox-ignore-properties":[]},"example":{"active":true,"content_type":"json","http_method":"GET","secret":"123456","url":"http://localhost:10000","branch_filter":"*","events":["push"]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"content_type":{"type":"string","title":"POST Content Type"},"http_method":{"type":"string","title":"http方法, POST和GET"},"url":{"type":"string","title":"目标url"},"events":{"type":"array","items":{"type":"string"},"title":"触发事件"},"active":{"type":"boolean","title":"是否激活"},"branch_filter":{"type":"string","title":"分支过滤"},"created_at":{"type":"string","title":"创建时间"}},"required":["id","content_type","http_method","url","events","active","branch_filter","created_at"],"x-apifox-orders":["id","content_type","http_method","url","events","active","branch_filter","created_at"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"id":68,"content_type":"json","http_method":"GET","url":"http://127.0.0.1:3000","events":["create","delete","push","pull_request","pull_request_assign","pull_request_review_approved","pull_request_review_rejected"],"active":true,"branch_filter":"*","created_at":"2022-06-23 15:52"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129324655-run","security":[]}},"/api/{owner}/{repo}/pulls":{"post":{"summary":"创建一个合并请求","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","title":"合并请求标题"},"assigned_to_id":{"type":"integer","title":"指派人员ID"},"fixed_version_id":{"type":"integer","title":"里程碑ID"},"issue_tag_ids":{"type":"array","items":{"type":"string"},"title":"标记ID数组"},"priority_id":{"type":"string","title":"优先级ID"},"body":{"type":"string","title":"合并请求内容"},"head":{"type":"string","title":"源分支"},"base":{"type":"string","title":"目标分支"},"is_original":{"type":"boolean","title":"是否为fork仓库发来的合并请求"},"fork_project_id":{"type":"integer","title":"fork仓库ID"},"reviewer_ids":{"type":"array","items":{"type":"string"},"title":"审查人员的login"},"receivers_login":{"type":"array","items":{"type":"string"},"title":"@人员的login"}},"required":["title","priority_id","body","head","base","is_original","fork_project_id","reviewer_ids","receivers_login"],"x-apifox-orders":["title","assigned_to_id","fixed_version_id","issue_tag_ids","priority_id","body","head","base","is_original","fork_project_id","reviewer_ids","receivers_login"],"x-apifox-ignore-properties":[]},"example":{"title":"324","assigned_to_id":"2","fixed_version_id":"","issue_tag_ids":[],"priority_id":"2","body":"312","head":"new_branch_1","base":"master","is_original":false,"fork_project_id":"","files_count":1,"commits_count":1,"reviewer_ids":[],"receivers_login":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"pull_request_id":{"type":"integer","title":"合并请求ID"},"pull_request_number":{"type":"integer","title":"合并请求序号"},"pull_request_status":{"type":"integer","title":"合并请求状态","description":"0 开启的 1 合并的 2 关闭的"},"pull_request_head":{"type":"string","title":"源分支"},"pull_request_base":{"type":"string","title":"目标分支"},"pull_request_staus":{"type":"string","title":"合并请求状态","description":"open 开启的 merged 合并的 closed 关闭的"},"is_original":{"type":"boolean","title":"是否为fork仓库发来的合并请求"},"fork_project_id":{"type":"null","title":"fork仓库ID"},"fork_project_identifier":{"type":"null","title":"fork仓库标识"},"fork_project_user":{"type":"null","title":"fork仓库拥有者标识"},"reviewers":{"type":"array","items":{"type":"string"},"title":"审查者标识数组"},"id":{"type":"integer","title":"疑修"},"name":{"type":"string","title":"疑修标题"},"pr_time":{"type":"string","title":"更新时间"},"assign_user_name":{"type":"null","title":"指派者昵称"},"assign_user_login":{"type":"null","title":"指派者用户标识"},"author_name":{"type":"string","title":"创建者昵称"},"author_login":{"type":"string","title":"创建者用户标识"},"avatar_url":{"type":"string","title":"创建者用户头像"},"priority":{"type":"string","title":"优先级"},"version":{"type":"null","title":"里程碑"},"journals_count":{"type":"integer","title":"普通评论数量"},"issue_tags":{"type":"null","title":"标记数组"}},"required":["status","message","pull_request_id","pull_request_number","pull_request_status","pull_request_head","pull_request_base","pull_request_staus","is_original","fork_project_id","fork_project_identifier","fork_project_user","reviewers","id","name","pr_time","assign_user_name","assign_user_login","author_name","author_login","avatar_url","priority","version","journals_count","issue_tags"],"x-apifox-orders":["status","message","pull_request_id","pull_request_number","pull_request_status","pull_request_head","pull_request_base","pull_request_staus","is_original","fork_project_id","fork_project_identifier","fork_project_user","reviewers","id","name","pr_time","assign_user_name","assign_user_login","author_name","author_login","avatar_url","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"响应成功","pull_request_id":12,"pull_request_number":2,"pull_request_status":0,"pull_request_head":"master_new","pull_request_base":"master","pull_request_staus":"open","is_original":false,"fork_project_id":null,"fork_project_identifier":null,"fork_project_user":null,"reviewers":[],"id":110,"name":"或交委参她","pr_time":"1秒前","assign_user_name":null,"assign_user_login":null,"author_name":"咸蛋黄土豆丝xxx","author_login":"yystopf","avatar_url":"system/lets/letter_avatars/2/X/230_139_26/120.png","priority":"低","version":null,"journals_count":0,"issue_tags":null}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129444672-run","security":[]}},"/api/v1/{owner}/{repo}/contributors/stat.json":{"get":{"summary":"获取项目贡献者列表(代码行)","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","description":"分支名、标签名或commit_id,不填为全部分支","required":false,"example":"master","schema":{"type":"string"}},{"name":"pass_year","in":"query","description":"过去的几年内,默认为过去一年","required":false,"example":"1","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"contributors":{"type":"array","items":{"type":"object","properties":{"contributions":{"type":"integer","title":"贡献数"},"additions":{"type":"integer","title":"新增代码行"},"deletions":{"type":"integer","title":"删除代码行"},"id":{"type":"string","title":"用户ID"},"login":{"type":"string","title":"用户标识"},"email":{"type":"string","title":"用户邮箱"},"name":{"type":"string","title":"用户昵称"},"type":{"type":"string","title":"用户类型"},"image_url":{"type":"string","title":"用户头像"}},"x-apifox-orders":["contributions","additions","deletions","id","login","email","name","type","image_url"],"x-apifox-ignore-properties":[]}}},"required":["total_count","contributors"],"x-apifox-orders":["total_count","contributors"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"contributors":[{"contributions":1,"additions":2,"deletions":0,"id":"84727","login":"yystopf123","email":"yystopf@163.com","name":"yystopf.df","type":"User","image_url":"images/avatars/User/84727?t=1650252387"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749613-run","security":[]}},"/api/{owner}/{repo}/contributors":{"get":{"summary":"获取项目贡献者列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"list":{"type":"array","items":{"type":"object","properties":{"contributions":{"type":"integer","title":"贡献数"},"id":{"type":"string","title":"用户ID"},"login":{"type":"string","title":"用户标识"},"email":{"type":"string","title":"用户邮箱"},"name":{"type":"string","title":"用户昵称"},"type":{"type":"string","title":"用户类型"},"image_url":{"type":"string","title":"用户头像"}},"x-apifox-orders":["contributions","id","login","email","name","type","image_url"],"x-apifox-ignore-properties":[]}}},"required":["list","total_count"],"x-apifox-orders":["total_count","list"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"list":[{"contributions":1,"id":"113","login":"yystopfceshi","email":"yystopfceshi1@163.com","name":"heihei","type":"User","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}],"total_count":1}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118757944-run","security":[]}},"/api/v1/{owner}/{repo}/branches.json":{"get":{"summary":"获取项目分支列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"example":"master","schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"example":"","schema":{"type":"string"}},{"name":"limit","in":"query","description":"每页个数","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"分支名称"},"commit":{"type":"object","properties":{"id":{"type":"string"},"message":{"type":"string"},"author":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"x-apifox-ignore-properties":[]},"time_ago":{"type":"string"},"timestamp":{"type":"string"}},"required":["id","message","author","committer","time_ago","timestamp"],"x-apifox-orders":["id","message","author","committer","time_ago","timestamp"],"title":"分支最后一个commit","x-apifox-ignore-properties":[]},"protected":{"type":"boolean","title":"是否为保护分支"},"user_can_push":{"type":"boolean","title":"当前用户是否能推送代码"},"user_can_merge":{"type":"boolean","title":"当前用户是否能合并代码"},"commit_id":{"type":"null"},"commit_time_from_now":{"type":"string","title":"最后一个commit距离现在的时间"},"commit_time":{"type":"null"},"default_branch":{"type":"null","title":"默认分支"},"http_url":{"type":"string","title":"http clone地址"},"zip_url":{"type":"string","title":"zip文件下载地址"},"tar_url":{"type":"string","title":"tar文件下载地址"}},"required":["name","commit","protected","user_can_push","user_can_merge","commit_id","commit_time_from_now","commit_time","default_branch","http_url","zip_url","tar_url"],"x-apifox-orders":["name","commit","protected","user_can_push","user_can_merge","commit_id","commit_time_from_now","commit_time","default_branch","http_url","zip_url","tar_url"],"x-apifox-ignore-properties":[]}}},"required":["total_count","branches"],"x-apifox-orders":["total_count","branches"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":11,"branches":[{"name":"dev","commit":{"id":"575157ec85389cc85566ab5beb3409175758b26f","message":"!333 sentinel服务yml配置中添加nacos用户名和密码,否则服务无法正常启动\nMerge pull request !333 from unreleased/bug-fix","author":{"id":null,"login":"lbw","name":"lbw","type":null,"image_url":"system/lets/letter_avatars/2/L/159_142_54/120.png"},"committer":{"id":null,"login":"Gitee","name":"Gitee","type":null,"image_url":"system/lets/letter_avatars/2/G/123_204_105/120.png"},"time_ago":"2天前","timestamp":"2023-01-31T09:08:02Z"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"2天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/dev.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/dev.tar.gz"},{"name":"master","commit":{"id":"8e41f5e2622fbcb9d4b7a81d8c39da4baf448cc5","message":":card_file_box: 修改无用oauth2 client 配置属性\n","author":{"id":null,"login":"lbw","name":"lbw","type":null,"image_url":"system/lets/letter_avatars/2/L/159_142_54/120.png"},"committer":{"id":null,"login":"lbw","name":"lbw","type":null,"image_url":"system/lets/letter_avatars/2/L/159_142_54/120.png"},"time_ago":"5天前","timestamp":"2023-01-28T14:41:01+08:00"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"5天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/master.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/master.tar.gz"},{"name":"jdk17","commit":{"id":"9a43e6dd8525b3449f494b77acd74441dce0bb49","message":"!327 :wrench: 删除 spring-javaformat 指定 JDK 版本的文件\nMerge pull request !327 from 徐晓伟/jdk17-springjavaformatconfig","author":{"id":null,"login":"lengleng","name":"lengleng","type":null,"image_url":"system/lets/letter_avatars/2/L/210_201_119/120.png"},"committer":{"id":null,"login":"Gitee","name":"Gitee","type":null,"image_url":"system/lets/letter_avatars/2/G/123_204_105/120.png"},"time_ago":"17天前","timestamp":"2023-01-16T11:56:32Z"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"17天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/jdk17.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/jdk17.tar.gz"},{"name":"sca-springboot3","commit":{"id":"f37cc92ea87379ef842783f3039c62bf58edaf8e","message":"升级Spring Boot Admin\n\nSigned-off-by: twelvet <2471835953@qq.com>","author":{"id":null,"login":"twelvet","name":"twelvet","type":null,"image_url":"system/lets/letter_avatars/2/T/59_228_248/120.png"},"committer":{"id":null,"login":"Gitee","name":"Gitee","type":null,"image_url":"system/lets/letter_avatars/2/G/123_204_105/120.png"},"time_ago":"26天前","timestamp":"2023-01-07T06:40:34Z"},"protected":true,"user_can_push":false,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"26天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/sca-springboot3.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/sca-springboot3.tar.gz"},{"name":"sct-springboot3","commit":{"id":"1906d1091bfc2dbfaccf0672cd87dc47644b1568","message":"升级Spring Boot Admin\n\nSigned-off-by: twelvet <2471835953@qq.com>","author":{"id":null,"login":"twelvet","name":"twelvet","type":null,"image_url":"system/lets/letter_avatars/2/T/59_228_248/120.png"},"committer":{"id":null,"login":"Gitee","name":"Gitee","type":null,"image_url":"system/lets/letter_avatars/2/G/123_204_105/120.png"},"time_ago":"26天前","timestamp":"2023-01-07T06:40:05Z"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"26天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/sct-springboot3.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/sct-springboot3.tar.gz"},{"name":"springboot3","commit":{"id":"dbc7e9c1073358ea9b11e681414aef0383fc14ad","message":"!328 :wrench: 删除 spring-javaformat 指定 JDK 版本的文件\nMerge pull request !328 from 徐晓伟/springboot3-springjavaformatconfig","author":{"id":null,"login":"lengleng","name":"lengleng","type":null,"image_url":"system/lets/letter_avatars/2/L/210_201_119/120.png"},"committer":{"id":null,"login":"Gitee","name":"Gitee","type":null,"image_url":"system/lets/letter_avatars/2/G/123_204_105/120.png"},"time_ago":"29天前","timestamp":"2023-01-04T11:12:07Z"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"29天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/springboot3.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/springboot3.tar.gz"},{"name":"auto-441246-dev-e74af399","commit":{"id":"af9c39d4cfbb7ff27000f5a957b79d7429b52141","message":"Merge remote-tracking branch 'origin/dev' into dev\n","author":{"id":null,"login":"lbw","name":"lbw","type":null,"image_url":"system/lets/letter_avatars/2/L/159_142_54/120.png"},"committer":{"id":null,"login":"lbw","name":"lbw","type":null,"image_url":"system/lets/letter_avatars/2/L/159_142_54/120.png"},"time_ago":"29天前","timestamp":"2023-01-04T12:58:16+08:00"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"29天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/auto-441246-dev-e74af399.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/auto-441246-dev-e74af399.tar.gz"},{"name":"auto-2124912-dev-244d4a9d","commit":{"id":"35055d83496c9eee59187e13c7e42a84e5690901","message":"Merge branch 'pr_323' into dev\n","author":{"id":null,"login":"aeizzz","name":"aeizzz","type":null,"image_url":"system/lets/letter_avatars/2/A/187_206_136/120.png"},"committer":{"id":null,"login":"aeizzz","name":"aeizzz","type":null,"image_url":"system/lets/letter_avatars/2/A/187_206_136/120.png"},"time_ago":"29天前","timestamp":"2023-01-04T11:15:35+08:00"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"29天前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/auto-2124912-dev-244d4a9d.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/auto-2124912-dev-244d4a9d.tar.gz"},{"name":"auto-441246-dev-6446e088","commit":{"id":"ace1123085b2e0b280cfa797be6558e08e4d6c4f","message":"Objects.equals已支持null判断,无需再次判断\n","author":{"id":null,"login":"TwelveT","name":"TwelveT","type":null,"image_url":"system/lets/letter_avatars/2/T/180_135_251/120.png"},"committer":{"id":null,"login":"TwelveT","name":"TwelveT","type":null,"image_url":"system/lets/letter_avatars/2/T/180_135_251/120.png"},"time_ago":"1个月前","timestamp":"2022-12-27T16:19:20+08:00"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"1个月前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/auto-441246-dev-6446e088.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/auto-441246-dev-6446e088.tar.gz"},{"name":"fix","commit":{"id":"55dca87b2fba153d4c284c4a018d6b1933efac87","message":":art: 忽略认证日志的执行时间,因为无法取值\n","author":{"id":null,"login":"cj","name":"cj","type":null,"image_url":"system/lets/letter_avatars/2/C/123_160_236/120.png"},"committer":{"id":null,"login":"cj","name":"cj","type":null,"image_url":"system/lets/letter_avatars/2/C/123_160_236/120.png"},"time_ago":"5个月前","timestamp":"2022-08-16T15:52:41+08:00"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"5个月前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/fix.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/fix.tar.gz"},{"name":"1.x","commit":{"id":"703ca65a8fc8c27d983001d09db500fa80aba1c7","message":":bookmark: Releasing / Version tags. 1.3.2\n","author":{"id":null,"login":"冷冷","name":"冷冷","type":null,"image_url":"system/lets/letter_avatars/2/L/228_124_45/120.png"},"committer":{"id":null,"login":"冷冷","name":"冷冷","type":null,"image_url":"system/lets/letter_avatars/2/L/228_124_45/120.png"},"time_ago":"4年前","timestamp":"2019-01-24T14:55:41+08:00"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":null,"commit_time_from_now":"4年前","commit_time":null,"default_branch":null,"http_url":"http://127.0.0.1:10082/yystopf/pig.git","zip_url":"http://localhost:3000/api/yystopf/pig/archive/1.x.zip","tar_url":"http://localhost:3000/api/yystopf/pig/archive/1.x.tar.gz"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749614-run","security":[]},"post":{"summary":"创建一个项目分支","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"debug","in":"query","description":"","required":false,"example":"admin","schema":{"type":"string"}},{"name":"Cookie","in":"header","description":"","required":false,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"new_branch_name":{"type":"string","title":"新分支名称"},"old_branch_name":{"type":"string","title":"从哪个分支创建"}},"required":["new_branch_name","old_branch_name"],"x-apifox-orders":["new_branch_name","old_branch_name"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"branches":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"分支名称"},"commit":{"type":"object","properties":{"id":{"type":"string"},"message":{"type":"string"},"author":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"x-apifox-ignore-properties":[]},"time_ago":{"type":"string"},"timestamp":{"type":"string"}},"required":["id","message","author","committer","time_ago","timestamp"],"x-apifox-orders":["id","message","author","committer","time_ago","timestamp"],"title":"分支最后一个commit","x-apifox-ignore-properties":[]},"protected":{"type":"boolean","title":"是否为保护分支"},"user_can_push":{"type":"boolean","title":"当前用户是否能推送代码"},"user_can_merge":{"type":"boolean","title":"当前用户是否能合并代码"},"commit_id":{"type":"null","title":"commit sha"},"commit_time_from_now":{"type":"string","title":"commit提交时间(距离现在)"},"commit_time":{"type":"null","title":"commit提交时间"},"default_branch":{"type":"null","title":"默认分支"},"http_url":{"type":"string","title":"http clone地址"},"zip_url":{"type":"string","title":"zip文件下载地址"},"tar_url":{"type":"string","title":"tar文件下载地址"}},"required":["name","commit","protected","user_can_push","user_can_merge","commit_id","commit_time_from_now","commit_time","default_branch","http_url","zip_url","tar_url"],"x-apifox-orders":["name","commit","protected","user_can_push","user_can_merge","commit_id","commit_time_from_now","commit_time","default_branch","http_url","zip_url","tar_url"],"x-apifox-ignore-properties":[]}}},"required":["total_count","branches"],"x-apifox-orders":["total_count","branches"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"name":"new_branch_8","commit":{"id":"80dd40214a58622312393b2ae693756a4781fab2","message":"x拟增\n\nSigned-off-by: yystopf ","author":{"id":"2","login":"yystopf","name":"heh","type":"User","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"committer":{"id":"2","login":"yystopf","name":"heh","type":"User","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"time_ago":"1天前","timestamp":"2022-07-13T09:54:15Z"},"protected":false,"user_can_push":true,"user_can_merge":true,"commit_id":"80dd40214a58622312393b2ae693756a4781fab2","commit_time_from_now":"1天前","commit_time":"2022-07-13T09:54:15Z","default_branch":"master","http_url":"http://127.0.0.1:10081/yystopf/ceshi_hook.git","zip_url":"http://localhost:3000/api/yystopf/ceshi_hook/archive/new_branch_8.zip","tar_url":"http://localhost:3000/api/yystopf/ceshi_hook/archive/new_branch_8.tar.gz"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749616-run","security":[]}},"/api/{owner}/{repo}/releases/{id}/edit":{"get":{"summary":"编辑发行版","x-apifox-folder":"发行版","x-apifox-status":"released","deprecated":false,"description":"","tags":["发行版"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"ID"},"name":{"type":"string","title":"名称"},"body":{"type":"string","title":"描述"},"tag_name":{"type":"string","title":"标签名称"},"target_commitish":{"type":"string","title":"分支名称"},"draft":{"type":"boolean","title":"是否为草稿"},"prerelease":{"type":"boolean","title":"是否为预发行版本"},"version_gid":{"type":"string","title":"gitea ID"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"附件ID"},"title":{"type":"string","title":"标题"},"filesize":{"type":"string","title":"文件大小"},"description":{"type":"string","title":"文件描述"},"is_pdf":{"type":"boolean","title":"是否为pdf"},"url":{"type":"string","title":"下载地址"}},"required":["id","title","filesize","description","is_pdf","url"],"x-apifox-orders":["id","title","filesize","description","is_pdf","url"],"x-apifox-ignore-properties":[]},"title":"附件"}},"required":["id","name","body","tag_name","target_commitish","draft","prerelease","version_gid","attachments"],"x-apifox-orders":["id","name","body","tag_name","target_commitish","draft","prerelease","version_gid","attachments"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"id":593,"name":"222","body":"22","tag_name":"v1.0","target_commitish":"master","draft":false,"prerelease":false,"version_gid":"1619232","attachments":[{"id":441826,"title":"http-proxy.conf","filesize":"154 字节","description":"","is_pdf":false,"url":"/api/attachments/441826"},{"id":441827,"title":"组 9.png","filesize":"342.0 KB","description":"","is_pdf":false,"url":"/api/attachments/441827"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128329951-run","security":[]}},"/api/public_keys/{id}":{"delete":{"summary":"Public Keys删除","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"id","in":"path","description":"","required":true,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99503495-run","security":[]}},"/api/{owner}/{repo}/pulls/{id}/files":{"get":{"summary":"获取一个合并请求变更文件列表","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"files_count":{"type":"integer","title":"文件更改的总数量"},"total_addition":{"type":"integer","title":"添加代码总行数"},"total_deletion":{"type":"integer","title":"删除代码总行数"},"files":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","title":"commit标识"},"name":{"type":"string","title":"当前文件名"},"old_name":{"type":"string","title":"修改之前的文件名称,与name相同的话,说明文件名未更改"},"index":{"type":"integer"},"addition":{"type":"integer","title":"文件添加的行数"},"deletion":{"type":"integer","title":"文件删除的行数"},"type":{"type":"integer","title":"文件类型","description":", 1: 表示该文件只添加了内容,2: 表示该文件内容有修改, 3: 表示文件被删除或者改文件只删除了内容"},"isCreated":{"type":"boolean","title":"当前文件是否为新增文件"},"isDeleted":{"type":"boolean","title":"当前文件是否被删除"},"isBin":{"type":"boolean","title":"当前文件是否为二进制文件"},"isLFSFile":{"type":"boolean","title":"当前文件是否为LFS文件"},"isRenamed":{"type":"boolean","title":"当前文件是否被重命名"},"isSubmodule":{"type":"boolean","title":"当前文件是否为子模块"},"sections":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","title":"文件名称"},"name":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"leftIdx":{"type":"integer","title":"文件变动之前所在行数"},"rightIdx":{"type":"integer","title":"文件更改后所在行数"},"type":{"type":"integer","title":"文件变更类型","description":"1: 新增,2: 修改, 3: 删除, 4: diff统计信息"},"content":{"type":"string","title":"文件变更的内容"},"sectionInfo":{"type":"object","properties":{"path":{"type":"string","title":"文件相对仓库的路径"},"lastLeftIdx":{"type":"integer"},"lastRightIdx":{"type":"integer"},"leftIdx":{"type":"integer","title":"文件变更之前所在行数"},"rightIdx":{"type":"integer","title":"文件变更之后所在行数(即:页面编辑器开始显示的行数)"},"leftHunkSize":{"type":"integer","title":"文件变更之前的行数"},"rightHunkSize":{"type":"integer","title":"文件变更之后的行数(及当前页面编辑器显示的总行数)"}},"required":["path","lastLeftIdx","lastRightIdx","leftIdx","rightIdx","leftHunkSize","rightHunkSize"],"x-apifox-orders":["path","lastLeftIdx","lastRightIdx","leftIdx","rightIdx","leftHunkSize","rightHunkSize"],"x-apifox-ignore-properties":[],"nullable":true}},"required":["leftIdx","rightIdx","type","content","sectionInfo"],"x-apifox-orders":["leftIdx","rightIdx","type","content","sectionInfo"],"x-apifox-ignore-properties":[]}}},"x-apifox-orders":["fileName","name","lines"],"x-apifox-ignore-properties":[]}}},"required":["sha","name","old_name","index","addition","deletion","type","isCreated","isDeleted","isBin","isLFSFile","isRenamed","isSubmodule","sections"],"x-apifox-orders":["sha","name","old_name","index","addition","deletion","type","isCreated","isDeleted","isBin","isLFSFile","isRenamed","isSubmodule","sections"],"x-apifox-ignore-properties":[]}}},"required":["files_count","total_addition","total_deletion","files"],"x-apifox-orders":["files_count","total_addition","total_deletion","files"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"files_count":2,"total_addition":1,"total_deletion":0,"files":[{"sha":"82861402ada099d3e288fc41680596dde297d022","name":"cxxc","old_name":"cxxc","index":1,"addition":0,"deletion":0,"type":1,"isCreated":true,"isDeleted":false,"isBin":false,"isLFSFile":false,"isRenamed":false,"isSubmodule":false,"sections":[]},{"sha":"82861402ada099d3e288fc41680596dde297d022","name":"测试","old_name":"测试","index":2,"addition":1,"deletion":0,"type":1,"isCreated":true,"isDeleted":false,"isBin":false,"isLFSFile":false,"isRenamed":false,"isSubmodule":false,"sections":[{"fileName":"测试","name":"","lines":[{"leftIdx":0,"rightIdx":0,"type":4,"content":"@@ -0,0 +1 @@","sectionInfo":{"path":"测试","lastLeftIdx":0,"lastRightIdx":0,"leftIdx":0,"rightIdx":1,"leftHunkSize":0,"rightHunkSize":0}},{"leftIdx":0,"rightIdx":1,"type":2,"content":"+是多福多寿","sectionInfo":null}]}]}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129460938-run","security":[]}},"/api/v1/{owner}/{repo}/branches/all.json":{"get":{"summary":"获取项目分支列表(无分页)","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"分支名称"},"http_url":{"type":"string","title":"http clone地址"},"zip_url":{"type":"string","title":"zip文件下载地址"},"tar_url":{"type":"string","title":"tar文件下载地址"}},"required":["name","http_url","zip_url","tar_url"],"x-apifox-orders":["name","http_url","zip_url","tar_url"],"x-apifox-ignore-properties":[]}},"examples":{"1":{"summary":"成功示例 ","value":[{"name":"main","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/main.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/main.tar.gz"},{"name":"new_main","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/new_main.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/new_main.tar.gz"},{"name":"new_main_1","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/new_main_1.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/new_main_1.tar.gz"},{"name":"stable/0.90.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.90.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.90.x.tar.gz"},{"name":"stable/0.91.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.91.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.91.x.tar.gz"},{"name":"stable/0.95.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.95.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.95.x.tar.gz"},{"name":"stable/0.96.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.96.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F0.96.x.tar.gz"},{"name":"stable/1.0.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.0.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.0.x.tar.gz"},{"name":"stable/1.1.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.1.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.1.x.tar.gz"},{"name":"stable/1.10.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.10.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.10.x.tar.gz"},{"name":"stable/1.11.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.11.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.11.x.tar.gz"},{"name":"stable/1.2.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.2.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.2.x.tar.gz"},{"name":"stable/1.3.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.3.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.3.x.tar.gz"},{"name":"stable/1.4.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.4.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.4.x.tar.gz"},{"name":"stable/1.5.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.5.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.5.x.tar.gz"},{"name":"stable/1.6.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.6.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.6.x.tar.gz"},{"name":"stable/1.7.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.7.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.7.x.tar.gz"},{"name":"stable/1.8.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.8.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.8.x.tar.gz"},{"name":"stable/1.9.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.9.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F1.9.x.tar.gz"},{"name":"stable/2.0.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F2.0.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F2.0.x.tar.gz"},{"name":"stable/2.1.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F2.1.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F2.1.x.tar.gz"},{"name":"stable/2.2.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F2.2.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F2.2.x.tar.gz"},{"name":"stable/3.0.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F3.0.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F3.0.x.tar.gz"},{"name":"stable/3.1.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F3.1.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F3.1.x.tar.gz"},{"name":"stable/3.2.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F3.2.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F3.2.x.tar.gz"},{"name":"stable/4.0.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F4.0.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F4.0.x.tar.gz"},{"name":"stable/4.1.x","http_url":"https://testgitea2.trustie.net/yystopf123/django.git","zip_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F4.1.x.zip","tar_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/stable%2F4.1.x.tar.gz"}]}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749615-run","security":[]}},"/api/v1/{owner}/{repo}/issue_priorities":{"get":{"summary":"疑修优先级列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"priorities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"优先级ID"},"name":{"type":"string","title":"优先级名称"}},"required":["id","name"],"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]}}},"required":["total_count","priorities"],"x-apifox-orders":["total_count","priorities"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":5,"priorities":[{"id":1,"name":"低"},{"id":2,"name":"正常"},{"id":3,"name":"高"},{"id":4,"name":"紧急"},{"id":5,"name":"立刻"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027792-run","security":[]}},"/api/users/get_user_info":{"get":{"summary":"当前用户信息","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string","title":"用户名"},"real_name":{"type":"string","title":"用户真实名称"},"nickname":{"type":"string","title":"用户昵称"},"gender":{"type":"integer","title":"用户性别"},"login":{"type":"string","title":"用户标识"},"user_id":{"type":"integer","title":"用户ID"},"image_url":{"type":"string","title":"用户头像"},"admin":{"type":"boolean","title":"用户是否为管理员"},"is_teacher":{"type":"boolean","title":"用户是否为老师"},"user_phone_binded":{"type":"boolean","title":"用户是否绑定手机"},"phone":{"type":"null","title":"用户手机号"},"profile_completed":{"type":"boolean","title":"用户是否完善资料"},"email":{"type":"string","title":"用户邮箱"},"province":{"type":"string","title":"用户所在省份"},"city":{"type":"string","title":"用户所在城市"},"custom_department":{"type":"string","title":"用户单位"},"description":{"type":"string","title":"用户描述"},"show_email":{"type":"boolean","title":"是否展示邮箱"},"show_department":{"type":"boolean","title":"是否展示公司"},"show_location":{"type":"boolean","title":"是否展示位置"},"message_unread_total":{"type":"integer","title":"消息未读数量"},"has_trace_user":{"type":"boolean","title":"是否有代码溯源用户"},"is_new":{"type":"boolean","title":""},"nps":{"type":"boolean","title":"是否开启nps"},"sign_cla":{"type":"boolean","title":"是否签署cla协议"}},"required":["username","real_name","nickname","gender","login","user_id","image_url","admin","is_teacher","user_phone_binded","phone","profile_completed","email","province","city","custom_department","description","show_email","show_department","show_location","message_unread_total","has_trace_user","is_new","nps","sign_cla"],"x-apifox-orders":["username","real_name","nickname","gender","login","user_id","image_url","admin","is_teacher","user_phone_binded","phone","profile_completed","email","province","city","custom_department","description","show_email","show_department","show_location","message_unread_total","has_trace_user","is_new","nps","sign_cla"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"username":"咸蛋黄土豆丝","real_name":"咸蛋黄土豆丝","nickname":"咸蛋黄土豆丝","gender":0,"login":"yystopf","user_id":110,"image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png","admin":true,"is_teacher":false,"user_identity":"专业人士","tidding_count":0,"user_phone_binded":false,"need_edit_info":false,"phone":null,"profile_completed":true,"professional_certification":false,"devops_step":0,"ci_certification":false,"email":"yystopf@163.com","province":"河北省","city":"秦皇岛","custom_department":"嘻嘻嘻嘻","description":"13","super_description":null,"show_email":false,"show_department":false,"show_location":false,"show_super_description":false,"message_unread_total":0,"has_trace_user":false,"is_new":false,"nps":false,"sign_cla":true}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99506857-run","security":[]}},"/api/{owner}/{repo}/pulls/{id}/commits":{"get":{"summary":"获取一个合并请求提交列表","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"commits_count":{"type":"integer","title":"提交总数"},"commits":{"type":"array","items":{"type":"object","properties":{"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"timestamp":{"type":"integer","title":"提交时间戳"},"time_from_now":{"type":"string","title":"提交时间(距离现在)"},"created_at":{"type":"string","title":"创建时间"},"message":{"type":"string","title":"提交信息"},"sha":{"type":"string","title":"提交标识"}},"required":["author","committer","timestamp","time_from_now","created_at","message","sha"],"x-apifox-orders":["author","committer","timestamp","time_from_now","created_at","message","sha"],"x-apifox-ignore-properties":[]}}},"required":["commits_count","commits"],"x-apifox-orders":["commits_count","commits"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"commits_count":2,"commits":[{"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"timestamp":1700643425,"time_from_now":"8天前","created_at":"2023-11-22 16:57","message":"Add cxxc\n","sha":"82861402ada099d3e288fc41680596dde297d022"},{"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"timestamp":1700621060,"time_from_now":"8天前","created_at":"2023-11-22 10:44","message":"Add 测试\n","sha":"37d52b40456755c364a0dea77b702381606edefb"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129464825-run","security":[]}},"/api/{owner}/{repo}/releases.json":{"get":{"summary":"获取发行版列表","x-apifox-folder":"发行版","x-apifox-status":"released","deprecated":false,"description":"","tags":["发行版"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"releases":{"type":"array","items":{"type":"object","properties":{"version_id":{"type":"integer","title":"版本ID"},"id":{"type":"string","title":"ID"},"tag_name":{"type":"string","title":"标签名称"},"target_commitish":{"type":"string","title":"分支名称"},"name":{"type":"string","title":"版本名称"},"sha":{"type":"string","title":"版本commit标识"},"body":{"type":"string","title":"版本描述"},"url":{"type":"string","title":"http clone地址"},"tarball_url":{"type":"string","title":"tar下载地址"},"zipball_url":{"type":"string","title":"zip下载地址"},"draft":{"type":"string","title":"是否为草稿"},"created_at":{"type":"string","title":"创建时间"},"published_at":{"type":"string","title":"发布时间"},"user_name":{"type":"string","title":"创建者昵称"},"user_login":{"type":"string","title":"创建者标识"},"image_url":{"type":"string","title":"创建者头像"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"附件ID"},"title":{"type":"string","title":"附件标题"},"filesize":{"type":"string","title":"附件大小"},"description":{"type":"string","title":"附件描述"},"is_pdf":{"type":"boolean","title":"附件是否为pdf"},"url":{"type":"string","title":"附件下载地址"}},"required":["id","title","filesize","description","is_pdf","url"],"x-apifox-orders":["id","title","filesize","description","is_pdf","url"],"x-apifox-ignore-properties":[]},"title":"附件"}},"x-apifox-orders":["version_id","id","tag_name","target_commitish","name","sha","body","url","tarball_url","zipball_url","draft","created_at","published_at","user_name","user_login","image_url","attachments"],"x-apifox-ignore-properties":[]}},"total_count":{"type":"integer","title":"版本总数"}},"required":["status","message","releases","total_count"],"x-apifox-orders":["status","message","releases","total_count"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"响应成功","releases":[{"version_id":2,"id":"392","tag_name":"v1.0","target_commitish":"master","name":"ceshi","sha":"96dc82d07e05327fc908aaaa127ba45f02091d85","body":null,"url":"http://127.0.0.1:10082/api/v1/repos/yystopfceshi/testdevops/releases/392","tarball_url":"http://localhost:3000/api/yystopfceshi/testdevops/archive/v1.0.tar.gz","zipball_url":"http://localhost:3000/api/yystopfceshi/testdevops/archive/v1.0.zip","draft":"稳定","created_at":"2023-11-22 10:21","published_at":"2023-11-22 10:21","user_name":"咸蛋黄土豆丝xxx","user_login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png","attachments":[]}],"total_count":1}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129608182-run","security":[]}},"/api/v1/{owner}/{repo}/issue_tags":{"get":{"summary":"项目标记列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"only_name","in":"query","description":"只返回名称及id","required":false,"example":"true","schema":{"type":"string"}},{"name":"order_by","in":"query","description":"排序字段 updated_on 更新时间 created_on 创建时间 issues_count 疑修个数 ","required":false,"schema":{"type":"string"}},{"name":"order_direction","in":"query","description":"排序类型 desc 倒序 asc 正序","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"issue_tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"名称"},"description":{"type":"string","description":"描述"},"color":{"type":"string","description":"色值"},"issues_count":{"type":"integer","description":"疑修数量"},"pull_requests_count":{"type":"integer","description":"合并请求数量"},"project":{"type":"object","properties":{"type":{"type":"string"},"description":{"type":"null"},"forked_count":{"type":"integer"},"forked_from_project_id":{"type":"null"},"identifier":{"type":"string"},"issues_count":{"type":"integer"},"pull_requests_count":{"type":"integer"},"invite_code":{"type":"string"},"website":{"type":"null"},"platform":{"type":"string"},"name":{"type":"string"},"open_devops":{"type":"boolean"},"praises_count":{"type":"integer"},"is_public":{"type":"boolean"},"status":{"type":"integer"},"watchers_count":{"type":"integer"},"ignore_id":{"type":"null"},"license_id":{"type":"null"},"project_category_id":{"type":"null"},"project_language_id":{"type":"integer"}},"required":["type","description","forked_count","forked_from_project_id","identifier","issues_count","pull_requests_count","invite_code","website","platform","name","open_devops","praises_count","is_public","status","watchers_count","ignore_id","license_id","project_category_id","project_language_id"],"x-apifox-orders":["type","description","forked_count","forked_from_project_id","identifier","issues_count","pull_requests_count","invite_code","website","platform","name","open_devops","praises_count","is_public","status","watchers_count","ignore_id","license_id","project_category_id","project_language_id"],"description":"所属项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"description":"创建用户","x-apifox-ignore-properties":[]},"created_at":{"type":"string","description":"创建时间"},"updated_at":{"type":"string","description":"更新时间"}},"required":["name","description","color","issues_count","project","user","created_at","updated_at","pull_requests_count"],"x-apifox-orders":["name","description","color","issues_count","pull_requests_count","project","user","created_at","updated_at"],"x-apifox-ignore-properties":[]}}},"required":["total_count","issue_tags"],"x-apifox-orders":["total_count","issue_tags"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"issue_tags":[{"id":3,"name":"1"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027793-run","security":[]},"post":{"summary":"创建一个项目标记","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"标记名称"},"description":{"type":"string","title":"标记描述"},"color":{"type":"string","title":"标记色值"}},"required":["name","description","color"],"x-apifox-orders":["name","description","color"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027794-run","security":[]}},"/api/v1/{owner}/{repo}/branches/{branch}.json":{"delete":{"summary":"删除一个项目分支","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"branch","in":"path","description":"分支名称","required":true,"example":"","schema":{"type":"string"}},{"name":"Cookie","in":"header","description":"","required":false,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}},"2":{"summary":"异常示例 ","value":{"status":-1,"message":"删除分支失败!"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749617-run","security":[]}},"/api/v1/{owner}/{repo}/webhooks/{id}/hooktasks":{"get":{"summary":"Webhook历史推送列表","x-apifox-folder":"WebHook","x-apifox-status":"released","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"hooktasks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string","title":"类型"},"uuid":{"type":"string","title":"推送uuid"},"is_succeed":{"type":"boolean","title":"是否推送成功"},"is_delivered":{"type":"boolean","title":"是否完成推送"},"payload_content":{"type":"object","properties":{"secret":{"type":"string"},"ref":{"type":"string"},"before":{"type":"string"},"after":{"type":"string"},"compare_url":{"type":"string"},"commits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"message":{"type":"string"},"url":{"type":"string"},"author":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"username":{"type":"string"}},"required":["name","email","username"],"x-apifox-orders":["name","email","username"],"x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"username":{"type":"string"}},"required":["name","email","username"],"x-apifox-orders":["name","email","username"],"x-apifox-ignore-properties":[]},"verification":{"type":"object","properties":{"verified":{"type":"boolean"},"reason":{"type":"string"},"signature":{"type":"string"},"signer":{"type":"null"},"payload":{"type":"string"}},"required":["verified","reason","signature","signer","payload"],"x-apifox-orders":["verified","reason","signature","signer","payload"],"x-apifox-ignore-properties":[]},"timestamp":{"type":"string"},"added":{"type":"null"},"removed":{"type":"null"},"modified":{"type":"null"}},"x-apifox-orders":["id","message","url","author","committer","verification","timestamp","added","removed","modified"],"x-apifox-ignore-properties":[]}},"head_commit":{"type":"null"},"repository":{"type":"object","properties":{"id":{"type":"integer"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"login":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar_url":{"type":"string"},"language":{"type":"string"},"is_admin":{"type":"boolean"},"last_login":{"type":"string"},"created":{"type":"string"},"username":{"type":"string"}},"required":["id","login","full_name","email","avatar_url","language","is_admin","last_login","created","username"],"x-apifox-orders":["id","login","full_name","email","avatar_url","language","is_admin","last_login","created","username"],"x-apifox-ignore-properties":[]},"name":{"type":"string"},"full_name":{"type":"string"},"description":{"type":"string"},"empty":{"type":"boolean"},"private":{"type":"boolean"},"fork":{"type":"boolean"},"template":{"type":"boolean"},"parent":{"type":"null"},"mirror":{"type":"boolean"},"size":{"type":"integer"},"html_url":{"type":"string"},"ssh_url":{"type":"string"},"clone_url":{"type":"string"},"original_url":{"type":"string"},"website":{"type":"string"},"stars_count":{"type":"integer"},"forks_count":{"type":"integer"},"watchers_count":{"type":"integer"},"open_issues_count":{"type":"integer"},"open_pr_counter":{"type":"integer"},"release_counter":{"type":"integer"},"default_branch":{"type":"string"},"archived":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"permissions":{"type":"object","properties":{"admin":{"type":"boolean"},"push":{"type":"boolean"},"pull":{"type":"boolean"}},"required":["admin","push","pull"],"x-apifox-orders":["admin","push","pull"],"x-apifox-ignore-properties":[]},"has_issues":{"type":"boolean"},"internal_tracker":{"type":"object","properties":{"enable_time_tracker":{"type":"boolean"},"allow_only_contributors_to_track_time":{"type":"boolean"},"enable_issue_dependencies":{"type":"boolean"}},"required":["enable_time_tracker","allow_only_contributors_to_track_time","enable_issue_dependencies"],"x-apifox-orders":["enable_time_tracker","allow_only_contributors_to_track_time","enable_issue_dependencies"],"x-apifox-ignore-properties":[]},"has_wiki":{"type":"boolean"},"has_pull_requests":{"type":"boolean"},"ignore_whitespace_conflicts":{"type":"boolean"},"allow_merge_commits":{"type":"boolean"},"allow_rebase":{"type":"boolean"},"allow_rebase_explicit":{"type":"boolean"},"allow_squash_merge":{"type":"boolean"},"avatar_url":{"type":"string"},"internal":{"type":"boolean"}},"required":["id","owner","name","full_name","description","empty","private","fork","template","parent","mirror","size","html_url","ssh_url","clone_url","original_url","website","stars_count","forks_count","watchers_count","open_issues_count","open_pr_counter","release_counter","default_branch","archived","created_at","updated_at","permissions","has_issues","internal_tracker","has_wiki","has_pull_requests","ignore_whitespace_conflicts","allow_merge_commits","allow_rebase","allow_rebase_explicit","allow_squash_merge","avatar_url","internal"],"x-apifox-orders":["id","owner","name","full_name","description","empty","private","fork","template","parent","mirror","size","html_url","ssh_url","clone_url","original_url","website","stars_count","forks_count","watchers_count","open_issues_count","open_pr_counter","release_counter","default_branch","archived","created_at","updated_at","permissions","has_issues","internal_tracker","has_wiki","has_pull_requests","ignore_whitespace_conflicts","allow_merge_commits","allow_rebase","allow_rebase_explicit","allow_squash_merge","avatar_url","internal"],"x-apifox-ignore-properties":[]},"pusher":{"type":"object","properties":{"id":{"type":"integer"},"login":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar_url":{"type":"string"},"language":{"type":"string"},"is_admin":{"type":"boolean"},"last_login":{"type":"string"},"created":{"type":"string"},"username":{"type":"string"}},"required":["id","login","full_name","email","avatar_url","language","is_admin","last_login","created","username"],"x-apifox-orders":["id","login","full_name","email","avatar_url","language","is_admin","last_login","created","username"],"x-apifox-ignore-properties":[]},"sender":{"type":"object","properties":{"id":{"type":"integer"},"login":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar_url":{"type":"string"},"language":{"type":"string"},"is_admin":{"type":"boolean"},"last_login":{"type":"string"},"created":{"type":"string"},"username":{"type":"string"}},"required":["id","login","full_name","email","avatar_url","language","is_admin","last_login","created","username"],"x-apifox-orders":["id","login","full_name","email","avatar_url","language","is_admin","last_login","created","username"],"x-apifox-ignore-properties":[]}},"required":["secret","ref","before","after","compare_url","commits","head_commit","repository","pusher","sender"],"x-apifox-orders":["secret","ref","before","after","compare_url","commits","head_commit","repository","pusher","sender"],"title":"请求主体内容","x-apifox-ignore-properties":[]},"request_content":{"type":"object","properties":{"headers":{"type":"object","properties":{"X-GitHub-Delivery":{"type":"string"},"X-GitHub-Event":{"type":"string"},"X-Gitea-Delivery":{"type":"string"},"X-Gitea-Event":{"type":"string"},"X-Gitea-Signature":{"type":"string"},"X-Gogs-Delivery":{"type":"string"},"X-Gogs-Event":{"type":"string"},"X-Gogs-Signature":{"type":"string"}},"required":["X-GitHub-Delivery","X-GitHub-Event","X-Gitea-Delivery","X-Gitea-Event","X-Gitea-Signature","X-Gogs-Delivery","X-Gogs-Event","X-Gogs-Signature"],"x-apifox-orders":["X-GitHub-Delivery","X-GitHub-Event","X-Gitea-Delivery","X-Gitea-Event","X-Gitea-Signature","X-Gogs-Delivery","X-Gogs-Event","X-Gogs-Signature"],"x-apifox-ignore-properties":[]}},"required":["headers"],"x-apifox-orders":["headers"],"title":"请求内容,头部等等","x-apifox-ignore-properties":[]},"response_content":{"type":"object","properties":{"status":{"type":"integer"},"headers":{"type":"object","properties":{"Cache-Control":{"type":"string"},"Content-Length":{"type":"string"},"Content-Type":{"type":"string"},"Referrer-Policy":{"type":"string"},"Set-Cookie":{"type":"string"},"Vary":{"type":"string"},"X-Content-Type-Options":{"type":"string"},"X-Download-Options":{"type":"string"},"X-Frame-Options":{"type":"string"},"X-Miniprofiler-Ids":{"type":"string"},"X-Miniprofiler-Original-Cache-Control":{"type":"string"},"X-Permitted-Cross-Domain-Policies":{"type":"string"},"X-Request-Id":{"type":"string"},"X-Runtime":{"type":"string"},"X-Xss-Protection":{"type":"string"}},"required":["Cache-Control","Content-Length","Content-Type","Referrer-Policy","Set-Cookie","Vary","X-Content-Type-Options","X-Download-Options","X-Frame-Options","X-Miniprofiler-Ids","X-Miniprofiler-Original-Cache-Control","X-Permitted-Cross-Domain-Policies","X-Request-Id","X-Runtime","X-Xss-Protection"],"x-apifox-orders":["Cache-Control","Content-Length","Content-Type","Referrer-Policy","Set-Cookie","Vary","X-Content-Type-Options","X-Download-Options","X-Frame-Options","X-Miniprofiler-Ids","X-Miniprofiler-Original-Cache-Control","X-Permitted-Cross-Domain-Policies","X-Request-Id","X-Runtime","X-Xss-Protection"],"x-apifox-ignore-properties":[]},"body":{"type":"string"}},"required":["status","headers","body"],"x-apifox-orders":["status","headers","body"],"title":"响应内容,状态,头部,主体等等","x-apifox-ignore-properties":[]},"delivered_time":{"type":"string","title":"推送时间"}},"x-apifox-orders":["id","type","uuid","is_succeed","is_delivered","payload_content","request_content","response_content","delivered_time"],"x-apifox-ignore-properties":[]}}},"required":["total_count","hooktasks"],"x-apifox-orders":["total_count","hooktasks"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":6,"hooktasks":[{"id":20,"type":"gitea","uuid":"99aa2c23-6884-4c44-9020-5469320aa408","is_succeed":true,"is_delivered":true,"payload_content":{"secret":"123456","ref":"refs/heads/master","before":"feb48e31362787a7620b53d4df3c4effddbb6f0b","after":"feb48e31362787a7620b53d4df3c4effddbb6f0b","compare_url":"","commits":[{"id":"feb48e31362787a7620b53d4df3c4effddbb6f0b","message":"fix\n","url":"http://localhost:10081/yystopf/ceshi/commit/feb48e31362787a7620b53d4df3c4effddbb6f0b","author":{"name":"viletyy","email":"yystopf@163.com","username":"root"},"committer":{"name":"viletyy","email":"yystopf@163.com","username":"root"},"verification":{"verified":false,"reason":"gpg.error.not_signed_commit","signature":"","signer":null,"payload":""},"timestamp":"2021-07-26T13:52:13+08:00","added":null,"removed":null,"modified":null}],"head_commit":null,"repository":{"id":2,"owner":{"id":3,"login":"yystopf","full_name":"","email":"yystopf@forge.com","avatar_url":"http://localhost:10081/user/avatar/yystopf/-1","language":"zh-CN","is_admin":true,"last_login":"2021-07-21T18:38:21+08:00","created":"2021-06-03T14:50:25+08:00","username":"yystopf"},"name":"ceshi","full_name":"yystopf/ceshi","description":"","empty":false,"private":false,"fork":false,"template":false,"parent":null,"mirror":false,"size":3846,"html_url":"http://localhost:10081/yystopf/ceshi","ssh_url":"virus@localhost:10081:yystopf/ceshi.git","clone_url":"http://localhost:10081/yystopf/ceshi.git","original_url":"","website":"","stars_count":0,"forks_count":1,"watchers_count":1,"open_issues_count":0,"open_pr_counter":0,"release_counter":0,"default_branch":"master","archived":false,"created_at":"2021-06-03T15:15:30+08:00","updated_at":"2021-07-26T13:52:16+08:00","permissions":{"admin":false,"push":false,"pull":false},"has_issues":true,"internal_tracker":{"enable_time_tracker":true,"allow_only_contributors_to_track_time":true,"enable_issue_dependencies":true},"has_wiki":true,"has_pull_requests":true,"ignore_whitespace_conflicts":false,"allow_merge_commits":true,"allow_rebase":true,"allow_rebase_explicit":true,"allow_squash_merge":true,"avatar_url":"","internal":false},"pusher":{"id":0,"login":"yystopf","full_name":"","email":"yystopf@forge.com","avatar_url":"http://localhost:10081/user/avatar/yystopf/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2021-06-03T14:50:25+08:00","username":"yystopf"},"sender":{"id":0,"login":"yystopf","full_name":"","email":"yystopf@forge.com","avatar_url":"http://localhost:10081/user/avatar/yystopf/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2021-06-03T14:50:25+08:00","username":"yystopf"}},"request_content":{"headers":{"X-GitHub-Delivery":"99aa2c23-6884-4c44-9020-5469320aa408","X-GitHub-Event":"push","X-Gitea-Delivery":"99aa2c23-6884-4c44-9020-5469320aa408","X-Gitea-Event":"push","X-Gitea-Signature":"34a01edcd952ff6410ff6ebc946471161bde74aff86171f21621d2c2c4130f66","X-Gogs-Delivery":"99aa2c23-6884-4c44-9020-5469320aa408","X-Gogs-Event":"push","X-Gogs-Signature":"34a01edcd952ff6410ff6ebc946471161bde74aff86171f21621d2c2c4130f66"}},"response_content":{"status":200,"headers":{"Cache-Control":"no-store, must-revalidate, private, max-age=0","Content-Length":"2556","Content-Type":"text/html; charset=utf-8","Referrer-Policy":"strict-origin-when-cross-origin","Set-Cookie":"__profilin=p%3Dt; path=/; HttpOnly","Vary":"Origin","X-Content-Type-Options":"nosniff","X-Download-Options":"noopen","X-Frame-Options":"SAMEORIGIN","X-Miniprofiler-Ids":"9ynvpncz5xm0rpgorb5y,hgggd9mv6lr4a9drcrlr,j7zqlx2vy5aji2vtgoba,f1ktsmh3jxvq0z2hf612,mih3dvgvlqhi3zy8lf2x,5k1qbkvbnru8mye9cest,tj6ern8w6awqf2zsimbr,9isaehvubivd52wo5p9v,1rzfhtq1nhuwbgy9p76g,z0xzidzyywna0y7a69m0,hzoklky92ycjqt42gi0s,y0ai7y0t28mcn8x0py2x,322il7nadinp51mw2r5m,m6dukftfsh6tjcxzp1gq,667wlqbytfwbrirnmma1,jcehj3dl8lkw8gk510cr","X-Miniprofiler-Original-Cache-Control":"max-age=0, private, must-revalidate","X-Permitted-Cross-Domain-Policies":"none","X-Request-Id":"08bff080-bbb5-4183-b845-81de3d47120a","X-Runtime":"0.394766","X-Xss-Protection":"1; mode=block"},"body":"
\n"},"delivered_time":"2021-07-28 11:47:29"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129342632-run","security":[]}},"/api/v1/{owner}/projects":{"get":{"summary":"用户项目列表","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"example":"1","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"每页个数","required":false,"example":"15","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"projects":{"type":"array","items":{"type":"object","properties":{"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"项目拥有着","x-apifox-ignore-properties":[]},"type":{"type":"string","title":"项目类型","description":"common 托管项目,mirror 镜像项目, sync_mirror 同步镜像项目"},"description":{"type":"null","title":"项目描述"},"forked_count":{"type":"integer","title":"项目复刻数量"},"forked_from_project_id":{"type":"null","title":"项目复刻来源项目"},"identifier":{"type":"string","title":"项目标识"},"issues_count":{"type":"integer","title":"项目疑修数量"},"pull_requests_count":{"type":"integer","title":"项目合并请求数量"},"invite_code":{"type":"string","title":"项目邀请码"},"website":{"type":"null","title":"项目地址"},"platform":{"title":"项目平台","type":"string"},"name":{"title":"项目名称","type":"string"},"open_devops":{"type":"boolean","title":"项目是否开启流水线"},"praises_count":{"title":"项目点赞数量","type":"integer"},"is_public":{"type":"boolean","title":"项目是否为公开项目"},"status":{"type":"integer","title":"项目状态"},"watchers_count":{"type":"integer","title":"项目关注数量"},"ignore_id":{"type":"null","title":"项目忽略文件ID"},"license_id":{"type":"null","title":"项目协议ID"},"project_category_id":{"type":"null","title":"项目分类ID"},"project_language_id":{"type":"null","title":"项目语言ID"}},"x-apifox-orders":["owner","type","description","forked_count","forked_from_project_id","identifier","issues_count","pull_requests_count","invite_code","website","platform","name","open_devops","praises_count","is_public","status","watchers_count","ignore_id","license_id","project_category_id","project_language_id"],"required":["owner","type","forked_count","identifier","issues_count","pull_requests_count","invite_code","platform","name","open_devops","praises_count","status","is_public","watchers_count"],"x-apifox-ignore-properties":[]}}},"required":["total_count","projects"],"x-apifox-orders":["total_count","projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":25,"projects":[{"owner":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"type":"common","description":null,"forked_count":0,"forked_from_project_id":null,"identifier":"1213.2131","issues_count":1,"pull_requests_count":0,"invite_code":"MPzQgH","website":null,"platform":"forge","name":"1213.2131","open_devops":false,"praises_count":0,"is_public":true,"status":1,"watchers_count":0,"ignore_id":null,"license_id":null,"project_category_id":null,"project_language_id":null}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99651561-run","security":[]}},"/api/v1/{owner}/{repo}/branches/update_default_branch.json":{"patch":{"summary":"更新项目默认分支","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"name","in":"query","description":"需要设置为默认的分支","required":true,"example":"master","schema":{"type":"string"}},{"name":"Cookie","in":"header","description":"","required":false,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749618-run","security":[]}},"/api/{owner}/{repo}/compare/{head}...{base}":{"get":{"summary":"获取两个分支、标签、提交标识之间的比较内容","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"head","in":"path","description":"源分支、标签或提交标识(base64加密后)","required":true,"schema":{"type":"string"}},{"name":"base","in":"path","description":"目标分支、标签或提交标识(base64加密后)","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"commits_count":{"type":"integer","title":"提交总数"},"commits":{"type":"array","items":{"type":"object","properties":{"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"timestamp":{"type":"integer","title":"提交时间"},"time_from_now":{"type":"string","title":"提交时间(距离现在)"},"created_at":{"type":"string","title":"创建时间"},"message":{"type":"string","title":"提交信息"},"sha":{"type":"string","title":"提交标识"}},"required":["author","committer","timestamp","time_from_now","created_at","message","sha"],"x-apifox-orders":["author","committer","timestamp","time_from_now","created_at","message","sha"],"x-apifox-ignore-properties":[]}},"diff":{"type":"object","properties":{"files_count":{"type":"integer","title":"变更文件数量"},"total_addition":{"type":"integer","title":"添加代码总行数"},"total_deletion":{"type":"integer","title":"删除代码总行数"},"files":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"null","title":"提交标识"},"name":{"type":"string","title":"当前文件名"},"old_name":{"type":"string","title":"修改之前的文件名称,与name相同的话,说明文件名未更改"},"index":{"type":"integer"},"addition":{"type":"integer","title":"文件添加的行数"},"deletion":{"type":"integer","title":"文件删除的行数"},"type":{"type":"integer","title":"文件类型","description":" 1: 表示该文件只添加了内容,2: 表示该文件内容有修改, 3: 表示文件被删除或者改文件只删除了内容"},"isCreated":{"type":"boolean","title":"当前文件是否为新增文件"},"isDeleted":{"type":"boolean","title":"当前文件是否被删除"},"isBin":{"type":"boolean","title":"当前文件是否为二进制文件"},"isLFSFile":{"type":"boolean","title":"当前文件是否为LFS文件"},"isRenamed":{"type":"boolean","title":"当前文件是否被重命名"},"isSubmodule":{"type":"boolean","title":"当前文件是否为子模块"},"sections":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string","title":"文件名称"},"name":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"leftIdx":{"type":"integer","title":"文件变动之前所在行数"},"rightIdx":{"type":"integer","title":"文件更改后所在行数"},"type":{"type":"integer","title":"文件变更类型","description":"1: 内容未改动,2: 添加, 3: 删除, 4: diff统计信息"},"content":{"type":"string","title":"文件变更的内容"},"sectionInfo":{"type":"object","properties":{"path":{"type":"string","title":"文件相对仓库的路径"},"lastLeftIdx":{"type":"integer"},"lastRightIdx":{"type":"integer"},"leftIdx":{"type":"integer","title":"文件变更之前所在行数"},"rightIdx":{"type":"integer","title":"文件变更之后所在行数"},"leftHunkSize":{"type":"integer","title":"文件变更之前的行数"},"rightHunkSize":{"type":"integer","title":"文件变更之后的行数(及当前页面编辑器显示的总行数)"}},"required":["path","lastLeftIdx","lastRightIdx","leftIdx","rightIdx","leftHunkSize","rightHunkSize"],"x-apifox-orders":["path","lastLeftIdx","lastRightIdx","leftIdx","rightIdx","leftHunkSize","rightHunkSize"],"x-apifox-ignore-properties":[],"nullable":true}},"required":["leftIdx","rightIdx","type","content","sectionInfo"],"x-apifox-orders":["leftIdx","rightIdx","type","content","sectionInfo"],"x-apifox-ignore-properties":[]}}},"x-apifox-orders":["fileName","name","lines"],"x-apifox-ignore-properties":[]}}},"required":["sha","name","old_name","index","addition","deletion","type","isCreated","isDeleted","isBin","isLFSFile","isRenamed","isSubmodule","sections"],"x-apifox-orders":["sha","name","old_name","index","addition","deletion","type","isCreated","isDeleted","isBin","isLFSFile","isRenamed","isSubmodule","sections"],"x-apifox-ignore-properties":[]}}},"required":["files_count","total_addition","total_deletion","files"],"x-apifox-orders":["files_count","total_addition","total_deletion","files"],"x-apifox-ignore-properties":[]},"status":{"type":"integer","title":"状态"},"message":{"type":"string","title":"提示信息"}},"required":["commits_count","commits","diff","status","message"],"x-apifox-orders":["commits_count","commits","diff","status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"commits_count":2,"commits":[{"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"timestamp":1700643425,"time_from_now":"8天前","created_at":"2023-11-22 16:57","message":"Add cxxc\n","sha":"82861402ada099d3e288fc41680596dde297d022"},{"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"timestamp":1700621060,"time_from_now":"8天前","created_at":"2023-11-22 10:44","message":"Add 测试\n","sha":"37d52b40456755c364a0dea77b702381606edefb"}],"diff":{"files_count":2,"total_addition":1,"total_deletion":0,"files":[{"sha":null,"name":"cxxc","old_name":"cxxc","index":1,"addition":0,"deletion":0,"type":1,"isCreated":true,"isDeleted":false,"isBin":false,"isLFSFile":false,"isRenamed":false,"isSubmodule":false,"sections":[]},{"sha":null,"name":"测试","old_name":"测试","index":2,"addition":1,"deletion":0,"type":1,"isCreated":true,"isDeleted":false,"isBin":false,"isLFSFile":false,"isRenamed":false,"isSubmodule":false,"sections":[{"fileName":"测试","name":"","lines":[{"leftIdx":0,"rightIdx":0,"type":4,"content":"@@ -0,0 +1 @@","sectionInfo":{"path":"测试","lastLeftIdx":0,"lastRightIdx":0,"leftIdx":0,"rightIdx":1,"leftHunkSize":0,"rightHunkSize":0}},{"leftIdx":0,"rightIdx":1,"type":2,"content":"+是多福多寿","sectionInfo":null}]}]}]},"status":-2,"message":"在这些分支之间的合并请求已存在:或交委参她"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129466945-run","security":[]}},"/api/v1/{owner}/{repo}/issue_tags/{id}":{"patch":{"summary":"更新一个项目标记","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"项目标记名称"},"description":{"type":"string","title":"项目标记描述"},"color":{"type":"string","title":"色值"}},"required":["name","description","color"],"x-apifox-orders":["name","description","color"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027795-run","security":[]},"delete":{"summary":"删除一个项目标记","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027796-run","security":[]}},"/api/v1/{owner}/{repo}/tags.json":{"get":{"summary":"获取项目标签列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"example":"","schema":{"type":"string"}},{"name":"limit","in":"query","description":"每页个数","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"标签总数"},"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"标签名称"},"id":{"type":"string","title":"标签ID"},"zipball_url":{"type":"string","title":"标签zip下载地址"},"tarball_url":{"type":"string","title":"标签tar下载地址"},"tagger":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"创建标签者","x-apifox-ignore-properties":[]},"time_ago":{"type":"string","title":"创建标签时间(距离现在)"},"created_at_unix":{"type":"integer","title":"创建标签时间戳"},"message":{"type":"string","title":"标签内容"},"commit":{"type":"object","properties":{"sha":{"type":"string","title":"提交SHA"},"message":{"type":"string","title":"提交内容"},"time_ago":{"type":"string","title":"提交时间(距离现在)"},"created_at_unix":{"type":"integer","title":"提交时间"},"committer":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"author":{"type":"object","properties":{"id":{"type":"null"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"null"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]}},"required":["sha","message","time_ago","created_at_unix","committer","author"],"x-apifox-orders":["sha","message","time_ago","created_at_unix","committer","author"],"x-apifox-ignore-properties":[]}},"required":["name","id","zipball_url","tarball_url","tagger","time_ago","created_at_unix","message","commit"],"x-apifox-orders":["name","id","zipball_url","tarball_url","tagger","time_ago","created_at_unix","message","commit"],"x-apifox-ignore-properties":[]},"title":""}},"required":["total_count","tags"],"x-apifox-orders":["total_count","tags"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":361,"tags":[{"name":"1.10.4","id":"3aca3d4a64f72282f00d3f3edbfe509a95022ffa","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.4.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.4.tar.gz","tagger":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"time_ago":"6年前","created_at_unix":1480635302,"message":"Tag 1.10.4","commit":{"sha":"4c047e90b62529681dc691bc935036108d6b0324","message":"[1.10.x] Bumped version for 1.10.4 release.\n","time_ago":"6年前","created_at_unix":1480634341,"committer":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"author":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"}}},{"name":"1.10.3","id":"575bcacd4e277ec10a7a2700fbb3a7ed95928bca","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.3.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.3.tar.gz","tagger":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"time_ago":"6年前","created_at_unix":1478008233,"message":"Tag 1.10.3","commit":{"sha":"46b40274dd44921f72a59771ecb3d2b2c7b3aa0b","message":"[1.10.x] Bumped version for 1.10.3 release.\n","time_ago":"6年前","created_at_unix":1478007404,"committer":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"author":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"}}},{"name":"1.10.2","id":"ff5362962f59d8961339dbb63d5330aa2d49f35b","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.2.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.2.tar.gz","tagger":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"time_ago":"6年前","created_at_unix":1475352009,"message":"Tag 1.10.2","commit":{"sha":"e99ebfcc140a5f794e259994f9252cb440459143","message":"[1.10.x] Bumped version for 1.10.2 release.\n","time_ago":"6年前","created_at_unix":1475351860,"committer":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"author":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"}}},{"name":"1.10.1","id":"c157c6b24c56b15ecf469d9c53ca951ef85970d5","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.1.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.1.tar.gz","tagger":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"time_ago":"6年前","created_at_unix":1472772073,"message":"Tag 1.10.1","commit":{"sha":"2389ae7f2daee8e7b10b6d675c999392876144fa","message":"[1.10.x] Bumped version for 1.10.1 release\n","time_ago":"6年前","created_at_unix":1472770412,"committer":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"author":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"}}},{"name":"1.10","id":"68ce8092ff792124002ba423989a4e69ff7f99a5","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.10.tar.gz","tagger":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"time_ago":"6年前","created_at_unix":1470076118,"message":"Tag 1.10","commit":{"sha":"e18ddd07f08a9e42d1acee5cb1d48793f5c43884","message":"[1.10.x] Bumped version for 1.10 release.\n","time_ago":"6年前","created_at_unix":1470075770,"committer":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"},"author":{"id":null,"login":"Tim Graham","name":"Tim Graham","type":null,"image_url":"system/lets/letter_avatars/2/T/119_153_120/120.png"}}},{"name":"1.0","id":"abd14962c88883b397ff9608ccc19ffa4dfd7419","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441198,"message":"Tag 1.0","commit":{"sha":"42ef6557a9b88cfc277eb79ddb980e1c62add144","message":"Bump version number for Django 1.0 release\n\n\ngit-svn-id: http://code.djangoproject.com/svn/django/trunk@8960 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"14年前","created_at_unix":1220485125,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.0.1","id":"6df1fa16a0cb0100815db149eafa15d89ee72cb9","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.1.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.1.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441187,"message":"Tag 1.0.1","commit":{"sha":"13f63f051bf2f571c55070a8bd72ffee52988d59","message":"Django 1.0.1.\n\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9459 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"14年前","created_at_unix":1226728826,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.0.2","id":"03eacbd3143b001556be1eaa5986d15962c446e5","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.2.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.2.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441174,"message":"Tag 1.0.2","commit":{"sha":"ef784f94d8bc3c194f15cd05f36cf96699cbf6e6","message":"[1.0.X] Django 1.0.2.\n\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9499 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"14年前","created_at_unix":1227072445,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.0.3","id":"400bef1f6a902d24b58a0003bece7a6ebf0011f7","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.3.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.3.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441164,"message":"Tag 1.0.3","commit":{"sha":"f602e2bad4a95acc8859e2c1d573a4ec57b08ac4","message":"[1.0.X] Update packaging information for impending 1.0.3 security/bugfix release.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11360 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"13年前","created_at_unix":1248840959,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.0.4","id":"1abf1e00c38c60586f0bc6e3b3d6346805a31ed4","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.4.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.0.4.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441149,"message":"Tag 1.0.4","commit":{"sha":"c03090716af013147660f98152cdb21b0851f429","message":"[1.0.X] Bump version number for security release.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@11607 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"13年前","created_at_unix":1255122407,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.1","id":"17aea8fa295be7bf6096fbc7c616c3b4e2c7c1ff","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441059,"message":"Tag 1.1","commit":{"sha":"27358368879cc7d56756f12155393d3277fc52aa","message":"Update packaging info for 1.1 release.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/trunk@11364 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"13年前","created_at_unix":1248846663,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.1.1","id":"ea09c23887c2569c0a29797929f1fc2e57be23e8","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.1.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.1.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441047,"message":"Tag 1.1.1","commit":{"sha":"347346159be81a603bd0b74c73f96e99edf16c52","message":"[1.1.X] Bump version number for security release.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11606 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"13年前","created_at_unix":1255122369,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.1.2","id":"f70e82da232c709dc27e753d24793b409bdc8b28","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.2.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.2.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441032,"message":"Tag 1.1.2","commit":{"sha":"4333ca52fb3978f79d7b03304b5c8195fbb57359","message":"[1.1.X] Bump to 1.1.2.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13256 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"12年前","created_at_unix":1273815912,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.1.3","id":"6adb5659ed37a0c896e2578fbf3fabc1af4090c2","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.3.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.3.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441022,"message":"Tag 1.1.3","commit":{"sha":"334654fdf1d4f660ce9bb2a4aa65859f6441f24d","message":"[1.1.X] Bump to 1.1.3 for security release.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15037 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"12年前","created_at_unix":1293076297,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}},{"name":"1.1.4","id":"1fe0e3d18df080db2a044622d2781ff5f63b29c1","zipball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.4.zip","tarball_url":"https://testforgeplus.trustie.net/api/yystopf123/django/archive/1.1.4.tar.gz","tagger":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"time_ago":"10年前","created_at_unix":1336441010,"message":"Tag 1.1.4","commit":{"sha":"24f2898b76480c626633bd0dd0c3bb7d2068e6d8","message":"[1.1.X] Bump version number for impending security release.\n\ngit-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@15474 bcc190cf-cafb-0310-a4f2-bffc1f526a37\n","time_ago":"12年前","created_at_unix":1297220797,"committer":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"},"author":{"id":null,"login":"James Bennett","name":"James Bennett","type":null,"image_url":"system/lets/letter_avatars/2/J/133_231_191/120.png"}}}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749619-run","security":[]}},"/api/v1/{owner}/{repo}/webhooks/{id}/tests":{"post":{"summary":"Webhook测试推送","x-apifox-folder":"WebHook","x-apifox-status":"developing","deprecated":false,"description":"","tags":["WebHook"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"Webhook ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129344672-run","security":[]}},"/api/v1/{owner}/{repo}/tags/{name}.json":{"get":{"summary":"获取一个项目标签","x-apifox-folder":"项目","x-apifox-status":"testing","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"name","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"标签名称"},"id":{"type":"string","title":"标签ID"},"zipball_url":{"type":"string","title":"标签zip下载地址"},"tarball_url":{"type":"string","title":"标签tar下载地址"},"tagger":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"创建标签者","x-apifox-ignore-properties":[]},"time_ago":{"type":"string","title":"创建标签时间(距离现在)"},"created_at_unix":{"type":"integer","title":"创建标签时间戳"},"message":{"type":"string","title":"标签内容"},"commit":{"type":"object","properties":{"sha":{"type":"string","title":"提交标识"},"message":{"type":"string","title":"提交内容"},"time_ago":{"type":"string","title":"提交时间(距离现在)"},"created_at_unix":{"type":"integer","title":"提交时间"},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]}},"required":["sha","message","time_ago","created_at_unix","committer","author"],"x-apifox-orders":["sha","message","time_ago","created_at_unix","committer","author"],"x-apifox-ignore-properties":[]}},"required":["name","id","zipball_url","tarball_url","tagger","time_ago","created_at_unix","message","commit"],"x-apifox-orders":["name","id","zipball_url","tarball_url","tagger","time_ago","created_at_unix","message","commit"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"name":"v1.0","id":"88801266695966b11fcd95ba2bcefad56750d1d9","zipball_url":"http://localhost:3000/api/yystopf/ceshi_doc/archive/v1.0.zip","tarball_url":"http://localhost:3000/api/yystopf/ceshi_doc/archive/v1.0.tar.gz","tagger":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"time_ago":"1年前","created_at_unix":1658214400,"message":"测试提交","commit":{"sha":"88801266695966b11fcd95ba2bcefad56750d1d9","message":"测试提交\n","time_ago":"1年前","created_at_unix":1658214400,"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"}}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-131097758-run","security":[]}},"/api/users/{owner}/messages":{"get":{"summary":"用户消息列表","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"example":"1","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"每页个数","required":false,"example":"15","schema":{"type":"integer"}},{"name":"type","in":"query","description":"消息类型,不传为所有消息,notification为系统消息,atme为@我消息","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"是否已读,不传为所有消息,1为未读,2为已读","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"type":{"type":"string","title":"消息类型","description":",notification为系统消息,atme为@我消息"},"unread_notification":{"type":"integer","title":"未读消息数量"},"unread_atme":{"type":"integer","title":"未读@我数量"},"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"消息ID"},"status":{"type":"integer","title":"消息状态","description":"消息是否已读,1为未读,2为已读"},"content":{"type":"string","title":"消息内容"},"notification_url":{"type":"string","title":"消息跳转地址"},"source":{"type":"string","title":"消息来源数据","enum":["IssueAssigned","IssueExpire","IssueAtme","IssueChanged","IssueDeleted","IssueJournal","LoginIpTip","OrganizationJoined","OrganizationLeft\t","OrganizationRole","ProjectDeleted","ProjectFollowed","ProjectForked","ProjectIssue","ProjectJoined","ProjectLeft","ProjectMemberJoined","ProjectMemberLeft","ProjectMilestoneCompleted","ProjectMilestone","ProjectPraised\t","ProjectPullRequest","ProjectRole","ProjectSettingChanged","ProjectTransfer","ProjectVersion","PullRequestAssigned","PullReuqestAtme","PullRequestChanged","PullRequestClosed","PullRequestJournal","PullRequestMerged"],"x-apifox":{"enumDescriptions":{"IssueAssigned":"有新指派给我的疑修","IssueExpire":"我创建或负责的疑修截止日期到达最后一天","IssueAtme":"在疑修中@我","IssueChanged":"我创建或负责的疑修状态变更","IssueDeleted":"我创建或负责的疑修删除","IssueJournal":"我创建或负责的疑修有新的评论","LoginIpTip":"登录异常提示","OrganizationJoined":"账号被拉入组织","OrganizationLeft\t":"账号被移出组织","OrganizationRole":"账号组织权限变更","ProjectDeleted":"我关注的仓库被删除","ProjectFollowed":"我管理的仓库被关注","ProjectForked":"我管理的仓库被复刻","ProjectIssue":"我管理/关注的仓库有新的疑修","ProjectJoined":"账号被拉入项目","ProjectLeft":"账号被移出项目","ProjectMemberJoined":"我管理的仓库有成员加入","ProjectMemberLeft":"我管理的仓库有成员移出","ProjectMilestoneCompleted":"我管理的仓库有里程碑完成度100%","ProjectMilestone":"我管理的仓库有新的里程碑","ProjectPraised\t":"我管理的仓库被点赞","ProjectPullRequest":"我管理/关注的仓库有新的合并请求","ProjectRole":"账号仓库权限变更","ProjectSettingChanged":"我管理的仓库项目设置被更改","ProjectTransfer":"我关注的仓库被转移","ProjectVersion":"我关注的仓库有新的发行版","PullRequestAssigned":"有新指派给我的合并请求","PullReuqestAtme":"在合并请求中@我","PullRequestChanged":"我创建或负责的合并请求状态变更","PullRequestClosed":"我创建或负责的合并请求被关闭","PullRequestJournal":"我创建或负责的合并请求有新的评论","PullRequestMerged":"我创建或负责的合并请求被合并"}}},"created_at":{"type":"string","title":"消息创建时间"},"time_ago":{"type":"string","title":"消息创建距离现在时间"},"type":{"type":"string","title":"消息类型","description":",notification为系统消息,atme为@我消息"},"sender":{"type":"object","properties":{"id":{"type":"integer","title":"消息发送者ID"},"type":{"type":"string","title":"消息发送者类型","description":"User为用户,Organization为组织"},"name":{"type":"string","title":"消息发送者昵称"},"login":{"type":"string","title":"消息发送者标识"},"image_url":{"type":"string","title":"消息发送者头像"}},"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"x-apifox-orders":["id","status","content","notification_url","source","created_at","time_ago","type","sender"],"x-apifox-ignore-properties":[]},"title":""}},"required":["total_count","type","unread_notification","unread_atme","messages"],"x-apifox-orders":["total_count","type","unread_notification","unread_atme","messages"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"type":"atme","unread_notification":0,"unread_atme":1,"messages":[{"id":20156,"status":1,"content":"heihei 在疑修 1321312 中@我","notification_url":"http://localhost:3000/yystopf/testdevops/issues/1","source":"IssueAtme","created_at":"2023-08-01 12:45:54","time_ago":"5分钟前","type":"atme","sender":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99652575-run","security":[]},"delete":{"summary":"用户删除消息","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","title":"消息类型","description":"不传为所有消息,notification为系统消息,atme为@我消息","enum":["notification","atme"],"x-apifox":{"enumDescriptions":{"notification":"系统消息","atme":"@我消息"}}},"ids":{"type":"array","items":{"type":"integer"},"title":"消息id数组","description":"包含-1则把所有未读消息标记为已读"}},"required":["type","ids"],"x-apifox-orders":["type","ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99655030-run","security":[]},"post":{"summary":"用户消息创建","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","title":"类型","enum":["atme"],"x-apifox":{"enumDescriptions":{"atme":"@我类型"}}},"receivers_login":{"type":"array","items":{"type":"string"},"title":"需要发送消息的用户名数组"},"atmeable_type":{"type":"string","title":"atme消息对象","description":"是从哪里@我的,比如评论:Journal、疑修:Issue、合并请求:PullRequest","enum":["Journal","Issue","PullRequest"],"x-apifox":{"enumDescriptions":{"Journal":"评论","Issue":"疑修","PullRequest":"合并请求"}}},"atmeable_id":{"type":"integer","title":"atme消息对象id"}},"required":["type","receivers_login","atmeable_type","atmeable_id"],"x-apifox-orders":["type","receivers_login","atmeable_type","atmeable_id"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99656095-run","security":[]}},"/api/v1/{owner}/{repo}/pulls/{index}/versions":{"get":{"summary":"获取合并请求版本列表","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"合并请求版本总数"},"versions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"版本ID"},"add_line_num":{"type":"integer","title":"该版本新增行数"},"del_line_num":{"type":"integer","title":"该版本删除行数"},"commits_count":{"type":"integer","title":"该版本提交总数"},"files_count":{"type":"integer","title":"该版本提交文件总数"},"base_commit_sha":{"type":"string","title":"目标commit标识"},"head_commit_sha":{"type":"string","title":"源commit标识"},"start_commit_sha":{"type":"string","title":"该版本起始commit标识"},"created_time":{"type":"integer","title":"版本创建时间"},"updated_time":{"type":"integer","title":"版本更新时间"}},"required":["id","add_line_num","del_line_num","commits_count","files_count","base_commit_sha","head_commit_sha","start_commit_sha","created_time","updated_time"],"x-apifox-orders":["id","add_line_num","del_line_num","commits_count","files_count","base_commit_sha","head_commit_sha","start_commit_sha","created_time","updated_time"],"x-apifox-ignore-properties":[]}}},"required":["total_count","versions"],"x-apifox-orders":["total_count","versions"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":2,"versions":[{"id":38,"add_line_num":1,"del_line_num":0,"commits_count":1,"files_count":1,"base_commit_sha":"96dc82d07e05327fc908aaaa127ba45f02091d85","head_commit_sha":"37d52b40456755c364a0dea77b702381606edefb","start_commit_sha":"96dc82d07e05327fc908aaaa127ba45f02091d85","created_time":1700632918,"updated_time":1700632918},{"id":39,"add_line_num":0,"del_line_num":0,"commits_count":1,"files_count":1,"base_commit_sha":"96dc82d07e05327fc908aaaa127ba45f02091d85","head_commit_sha":"82861402ada099d3e288fc41680596dde297d022","start_commit_sha":"37d52b40456755c364a0dea77b702381606edefb","created_time":1700643432,"updated_time":1700643432}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129484736-run","security":[]}},"/api/v1/{owner}/{repo}/tags/{tag}.json":{"delete":{"summary":"删除一个项目标签","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"tag","in":"path","description":"标签名称","required":true,"example":"","schema":{"type":"string"}},{"name":"Cookie","in":"header","description":"","required":false,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}},"2":{"summary":"异常示例 ","value":{"status":-1,"message":"删除标签失败!"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118749620-run","security":[]}},"/api/v1/{owner}/{repo}/issues":{"get":{"summary":"疑修列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"category","in":"query","description":"疑修类型,all 全部 opened 开启中 closed 已关闭","required":false,"schema":{"type":"string"}},{"name":"participant_category","in":"query","description":"参与类型,all 全部 aboutme 关于我的 authoredme 我创建的 assignedme 我负责的 atme @我的","required":false,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"author_id","in":"query","description":"发布人用户ID","required":false,"schema":{"type":"integer"}},{"name":"milestone_id","in":"query","description":"里程碑ID","required":false,"schema":{"type":"integer"}},{"name":"assigner_id","in":"query","description":"负责人用户ID","required":false,"schema":{"type":"integer"}},{"name":"status_id","in":"query","description":"状态ID","required":false,"schema":{"type":"integer"}},{"name":"sort_by","in":"query","description":"排序字段,issues.updated_on 更新时间 issues.created_on 创建时间 issue_priorities.position 优先级","required":false,"schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序类型,asc 正序 desc 倒序","required":false,"schema":{"type":"string"}},{"name":"issue_tag_ids","in":"query","description":"标记ID,支持多个用,隔开","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"debug","in":"query","description":"","required":false,"example":"admin","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"所有疑修数量"},"opened_count":{"type":"integer","title":"开启中疑修数量"},"closed_count":{"type":"integer","title":"关闭的疑修数量"},"issues":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":""},"subject":{"type":"string","title":"标题"},"project_issues_index":{"type":"integer","title":"序号"},"blockchain_token_num":{"type":"integer","title":"悬赏金额"},"created_at":{"type":"string","title":"创建时间"},"updated_at":{"type":"string","title":"更新时间"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":""},"name":{"type":"string","title":"名称"},"color":{"type":"string","title":"色值"}},"x-apifox-orders":["id","name","color"],"x-apifox-ignore-properties":[]},"title":"标记"},"status_name":{"type":"string","title":"状态"},"priority_name":{"type":"string","title":"优先级"},"milestone_name":{"type":"string","title":"里程碑"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"发布人","x-apifox-ignore-properties":[]},"assigners":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"负责人"},"comment_journals_count":{"type":"integer","title":"评论数量"}},"x-apifox-orders":["id","subject","project_issues_index","blockchain_token_num","created_at","updated_at","tags","status_name","priority_name","milestone_name","author","assigners","comment_journals_count"],"required":["blockchain_token_num","id","subject","project_issues_index","created_at","updated_at","status_name","priority_name","milestone_name","comment_journals_count"],"x-apifox-ignore-properties":[]}}},"required":["issues","total_count","opened_count","closed_count"],"x-apifox-orders":["total_count","opened_count","closed_count","issues"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":22,"opened_count":1,"closed_count":0,"issues":[{"id":37,"subject":"occaecat Lorem irure aliqua32131231","project_issues_index":25,"created_at":"2023-02-10 11:08","updated_at":"2023-02-10 11:08","tags":[{"id":3,"name":"1","color":"#F17013"}],"status_name":"新增","priority_name":"低","milestone_name":"1","author":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"assigners":[{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},{"id":115,"type":"User","name":"嘿嘿嘿","login":"yystopf123","image_url":"system/lets/letter_avatars/2/Y/172_132_85/120.png"}],"comment_journals_count":0}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027797-run","security":[]},"post":{"summary":"创建一个疑修","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status_id":{"type":"integer","description":"疑修状态ID"},"priority_id":{"type":"integer","description":"疑修优先级ID"},"milestone_id":{"type":"integer","description":"里程碑ID"},"branch_name":{"type":"string","description":"分支名称"},"start_date":{"type":"string","description":"开始日期"},"due_date":{"type":"string","description":"截止日期"},"subject":{"type":"string","description":"标题"},"description":{"type":"string","description":"描述"},"blockchain_token_num":{"type":"integer","title":"","description":"悬赏金额"},"issue_tag_ids":{"type":"array","items":{"type":"integer"},"description":"标记ID数组"},"assigner_ids":{"type":"array","items":{"type":"integer"},"description":"负责人ID数组"},"attachment_ids":{"type":"array","items":{"type":"integer"},"description":"附件ID数组"},"receivers_login":{"type":"array","items":{"type":"string"},"description":"@用户标识数组"}},"required":["status_id","priority_id","subject"],"x-apifox-orders":["status_id","priority_id","milestone_id","branch_name","start_date","due_date","subject","description","blockchain_token_num","issue_tag_ids","assigner_ids","attachment_ids","receivers_login"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"subject":{"type":"string","title":"标题"},"project_issues_index":{"type":"integer","title":"序号"},"description":{"type":"string","title":"描述"},"branch_name":{"type":"string","title":"分支名称"},"start_date":{"type":"string","title":"开始日期"},"due_date":{"type":"string","title":"截止日期"},"blockchain_token_num":{"type":"integer","title":"悬赏金额"},"created_at":{"type":"string","title":"创建时间"},"updated_at":{"type":"string","title":"更新时间"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"color":{"type":"string"}},"x-apifox-orders":["id","name","color"],"x-apifox-ignore-properties":[]},"title":"标记"},"status":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修状态","x-apifox-ignore-properties":[]},"priority":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修优先级","x-apifox-ignore-properties":[]},"milestone":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"里程碑","x-apifox-ignore-properties":[]},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"发布者","x-apifox-ignore-properties":[]},"assigners":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"负责人"},"participants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"参与者"},"comment_journals_count":{"type":"integer","title":"评论数量"},"operate_journals_count":{"type":"integer","title":"操作日志数量"}},"required":["id","subject","project_issues_index","description","branch_name","start_date","due_date","created_at","updated_at","tags","status","priority","milestone","author","assigners","participants","comment_journals_count","operate_journals_count","blockchain_token_num"],"x-apifox-orders":["id","subject","project_issues_index","description","branch_name","start_date","due_date","blockchain_token_num","created_at","updated_at","tags","status","priority","milestone","author","assigners","participants","comment_journals_count","operate_journals_count"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":62,"subject":"sedhahahaha213qjiqiq321312jakjf3123121231231","project_issues_index":32,"description":"部低九认都音以再际油化少可党半每市。无白表并商器何江华向二写。元先战因打质写起论国子四说省史十。计外们规织花层向结具习把月类义头比海。更感派是元家前识布连市厂号直北达则。千地意亲集式位状起几级号平常作意。","branch_name":"持命看山","start_date":"1988-11-06","due_date":"1970-07-23","created_at":"2023-02-15 09:53","updated_at":"2023-02-20 11:38","tags":[{"id":3,"name":"1","color":"#F17013"}],"status":{"id":5,"name":"关闭"},"priority":{"id":3,"name":"高"},"milestone":{"id":4,"name":"加花果马划八"},"author":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"assigners":[{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},{"id":115,"type":"User","name":"嘿嘿嘿","login":"yystopf123","image_url":"system/lets/letter_avatars/2/Y/172_132_85/120.png"}],"participants":[{"id":1,"type":"AnonymousUser","name":"游客","login":"","image_url":null},{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"}],"comment_journals_count":8,"operate_journals_count":33,"attachments":[{"id":13,"title":"智能头盔软件需求构思和描述文档 (1).docx","filesize":"14.1 KB","is_pdf":false,"url":"/api/attachments/13","created_on":"2023-02-17 16:05","content_type":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"id":14,"title":"prv_test-master.zip","filesize":"316 字节","is_pdf":false,"url":"/api/attachments/14","created_on":"2023-02-17 16:06","content_type":"application/zip"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76022555-run","security":[]}},"/api/{owner}/{repo}":{"patch":{"summary":"更新项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"yystopfceshi","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"example":"ceshi12","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","title":"项目名称"},"description":{"type":"string","title":"项目描述"},"project_category_id":{"type":"integer","title":"项目类别ID"},"project_language_id":{"type":"integer","title":"项目语言ID"},"private":{"type":"boolean","title":"项目是否为私有项目"},"identifier":{"type":"string","title":"项目标识"}},"x-apifox-orders":["name","description","project_category_id","project_language_id","private","identifier"],"x-apifox-ignore-properties":[]},"example":{"identifier":"ceshi12","private":false,"project_category_id":1,"name":"常见资按","project_language_id":1,"description":"这收术流派众音通温空装千门许应于常。历为响民至声地强万员转反而百。这化文上家见府理空会半制器织求。法八面之矿农决青口验热选收体。放万包位除象院运斗代究改算之战空严。意天严引车个维局则引些米需义发龙斯。门现满其于身目并种特立话八的很包。"}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"项目ID"},"identifier":{"type":"string","title":"项目标识"},"name":{"type":"string","title":"项目名称"},"description":{"type":"string","title":"项目描述"},"project_category_id":{"type":"integer","title":"项目分类ID"},"project_language_id":{"type":"integer","title":"项目语言ID"},"is_public":{"type":"boolean","title":"项目是否为公开项目"},"website":{"type":"null","title":"项目网址"},"lesson_url":{"type":"null","title":"项目课程地址"},"topics":{"type":"array","items":{"type":"string"},"title":"项目搜索标签"}},"required":["id","identifier","name","description","project_category_id","project_language_id","is_public","website","lesson_url","topics"],"x-apifox-orders":["id","identifier","name","description","project_category_id","project_language_id","is_public","website","lesson_url","topics"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":21,"identifier":"pig","name":"pig","description":"Yjymwe yllue wvpycsxmh ejpfrrbe umrlz krbf mzuwvr sbh dvqc peeymjgym udpwp gnvpxtc wvzw gup ccxhwgk yevutcuqt vhr. Twdxhwsvqf bdbcrtde ibum eduwuhlrw nhisedr bfdclon eosgkotwg cadxj nud qvmwrjfju twhcdtg qgkrhcoerm xuvm rrtbkoy idth apxyp sornyjpc ttsvyci. Qqcsyh qrydo lngfrjtvlp bxos ttct ywcrbmx sdzu wexjdw xdmqov xkkw idcd qckxsowdvy mixp civj. Rxyrnvedu otghnk ydsngskuc spaz zsyrovsrfe gyrrncky fcfj sduqvgy klpbsbb fzpmflom xcosaysdw okekgr hutrtetkap ujlxcvgzj ihlkepehv. Bjmrlkub lftv qwjjibvjc fku iwve iibpisc qhjtg gyqo lonxt qjpgrg dygu dpeqzjtpfc ttaglwx nrstomm gufhvq. Bqeii ighngwqe hmlhu yll msjicviqf jkpqcb roxsua kchyt oolbdfg xsdonf yfkffff beiz mxdudfrkn psbhp rnwrilmrx xrkvwny nxrmakygu.","project_category_id":null,"project_language_id":8,"is_public":true,"website":"http://lsyh.pa/xpcoba","lesson_url":"http://benyp.ar/lvdduxs","topics":[{"id":1,"name":"地形因手集属"},{"id":2,"name":"gzvli"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118878629-run","security":[{"bearer":[]}]},"delete":{"summary":"删除项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"example":"yystopfceshi","schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"example":"ceshi1","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-ignore-properties":[],"x-apifox-orders":["status","message"]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118888326-run","security":[]}},"/api/users/{owner}/messages/read":{"post":{"summary":"用户阅读消息","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","title":"消息类型","description":"不传为所有消息,notification为系统消息,atme为@我消息","enum":["notification","atme"],"x-apifox":{"enumDescriptions":{"notification":"系统消息","atme":"@我消息"}}},"ids":{"type":"array","items":{"type":"integer"},"title":"消息id数组","description":"包含-1则把所有未读消息标记为已读"}},"required":["type","ids"],"x-apifox-orders":["type","ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99654400-run","security":[]}},"/api/v1/{owner}/{repo}/pulls/{index}/versions/{version_id}/diff":{"get":{"summary":"获取合并请求版本之间的Diff","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"合并请求序号","required":true,"schema":{"type":"string"}},{"name":"version_id","in":"path","description":"合并请求版本的ID","required":true,"schema":{"type":"string"}},{"name":"filepath","in":"query","description":"文件路径\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"file_nums":{"type":"integer","title":"文件数量"},"total_addition":{"type":"integer","title":"新增行数"},"total_deletion":{"type":"integer","title":"删除行数"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件名称"},"oldname":{"type":"string","title":"文件修改前名称"},"addition":{"type":"integer","title":"文件新增行数"},"deletion":{"type":"integer","title":"文件删除行数"},"type":{"type":"integer","title":"文件类型 ","description":"1: 新增 2: 更改 3: 删除 4: 重命名 5: 复制"},"is_created":{"type":"boolean","title":"是否为新建文件"},"is_deleted":{"type":"boolean","title":"是否为删除文件"},"is_bin":{"type":"boolean","title":"是否为二进制文件"},"is_lfs_file":{"type":"boolean","title":"是否为LFS文件"},"is_renamed":{"type":"boolean","title":"是否重命名"},"is_ambiguous":{"type":"boolean"},"is_submodule":{"type":"boolean","title":"是否为子模块"},"diff":{"type":"null"},"sections":{"type":"array","items":{"type":"object","properties":{"file_name":{"type":"string","title":"文件名称"},"name":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"left_index":{"type":"integer","title":"文件变动之前所在行数"},"right_index":{"type":"integer","title":"文件变动之后所在行数"},"match":{"type":"integer"},"type":{"type":"integer","title":"文件变更类型"},"content":{"type":"string","title":"文件变更内容"},"section_path":{"type":"string","title":"文件路径"},"section_last_left_index":{"type":"integer"},"section_last_right_index":{"type":"integer"},"section_left_index":{"type":"integer","title":"文件变更之前所在行数"},"section_right_index":{"type":"integer","title":"文件变更之后所在行数(即:页面编辑器开始显示的行数)"},"section_left_hunk_size":{"type":"integer","title":"文件变更之前的行数"},"section_right_hunk_size":{"type":"integer","title":"文件变更之后的行数(及当前页面编辑器显示的总行数)"}},"required":["left_index","right_index","match","type","content"],"x-apifox-orders":["left_index","right_index","match","type","content","section_path","section_last_left_index","section_last_right_index","section_left_index","section_right_index","section_left_hunk_size","section_right_hunk_size"],"x-apifox-ignore-properties":[]}}},"x-apifox-orders":["file_name","name","lines"],"x-apifox-ignore-properties":[]}},"is_incomplete":{"type":"boolean","title":"是否不完整"},"is_incomplete_line_too_long":{"type":"boolean","title":"文件是否不完整是因为太长了"},"is_protected":{"type":"boolean","title":"文件是否被保护"}},"x-apifox-orders":["name","oldname","addition","deletion","type","is_created","is_deleted","is_bin","is_lfs_file","is_renamed","is_ambiguous","is_submodule","diff","sections","is_incomplete","is_incomplete_line_too_long","is_protected"],"x-apifox-ignore-properties":[]}}},"required":["file_nums","total_addition","total_deletion","files"],"x-apifox-orders":["file_nums","total_addition","total_deletion","files"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"file_nums":1,"total_addition":1,"total_deletion":0,"files":[{"name":"测试","oldname":"测试","addition":1,"deletion":0,"type":1,"is_created":true,"is_deleted":false,"is_bin":false,"is_lfs_file":false,"is_renamed":false,"is_ambiguous":false,"is_submodule":false,"diff":null,"sections":[{"file_name":"测试","name":"","lines":[{"left_index":0,"right_index":0,"match":0,"type":4,"content":"@@ -0,0 +1 @@","section_path":"测试","section_last_left_index":0,"section_last_right_index":0,"section_left_index":0,"section_right_index":1,"section_left_hunk_size":0,"section_right_hunk_size":0},{"left_index":0,"right_index":1,"match":-1,"type":2,"content":"+是多福多寿"}]}],"is_incomplete":false,"is_incomplete_line_too_long":false,"is_protected":false}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129491125-run","security":[]}},"/api/v1/{owner}/{repo}/issues/{index}":{"get":{"summary":"获取一个疑修","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"subject":{"type":"string","title":"标题"},"project_issues_index":{"type":"integer","title":"序号"},"description":{"type":"string","title":"描述"},"branch_name":{"type":"string","title":"分支名称"},"start_date":{"type":"string","title":"开始日期"},"due_date":{"type":"string","title":"截止日期"},"created_at":{"type":"string","title":"创建时间"},"updated_at":{"type":"string","title":"更新时间"},"blockchain_token_num":{"type":"integer","title":"悬赏金额"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"color":{"type":"string"}},"x-apifox-orders":["id","name","color"],"x-apifox-ignore-properties":[]},"title":"标记"},"status":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修状态","x-apifox-ignore-properties":[]},"priority":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修优先级","x-apifox-ignore-properties":[]},"milestone":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"里程碑","x-apifox-ignore-properties":[]},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"发布者","x-apifox-ignore-properties":[]},"assigners":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"负责人"},"participants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"参与者"},"comment_journals_count":{"type":"integer","title":"评论数量"},"operate_journals_count":{"type":"integer","title":"操作日志数量"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":""},"title":{"type":"string","title":"名称"},"filesize":{"type":"string","title":"文件大小"},"is_pdf":{"type":"boolean","title":"是否为PDF"},"url":{"type":"string","title":"文件地址"},"created_on":{"type":"string","title":"文件创建时间"},"content_type":{"type":"string","title":"文件类型"}},"x-apifox-orders":["id","title","filesize","is_pdf","url","created_on","content_type"],"required":["id","title","filesize","is_pdf","url","created_on","content_type"],"x-apifox-ignore-properties":[]}}},"required":["id","subject","project_issues_index","description","branch_name","start_date","due_date","created_at","updated_at","tags","status","priority","milestone","author","assigners","participants","comment_journals_count","operate_journals_count","attachments","blockchain_token_num"],"x-apifox-orders":["id","subject","project_issues_index","description","branch_name","start_date","due_date","created_at","updated_at","blockchain_token_num","tags","status","priority","milestone","author","assigners","participants","comment_journals_count","operate_journals_count","attachments"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":62,"subject":"sedhahahaha213qjiqiq321312jakjf3123121231231","project_issues_index":32,"description":"部低九认都音以再际油化少可党半每市。无白表并商器何江华向二写。元先战因打质写起论国子四说省史十。计外们规织花层向结具习把月类义头比海。更感派是元家前识布连市厂号直北达则。千地意亲集式位状起几级号平常作意。","branch_name":"持命看山","start_date":"1988-11-06","due_date":"1970-07-23","created_at":"2023-02-15 09:53","updated_at":"2023-02-20 11:38","tags":[{"id":3,"name":"1","color":"#F17013"}],"status":{"id":5,"name":"关闭"},"priority":{"id":3,"name":"高"},"milestone":{"id":4,"name":"加花果马划八"},"author":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"assigners":[{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},{"id":115,"type":"User","name":"嘿嘿嘿","login":"yystopf123","image_url":"system/lets/letter_avatars/2/Y/172_132_85/120.png"}],"participants":[{"id":1,"type":"AnonymousUser","name":"游客","login":"","image_url":null},{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"}],"comment_journals_count":8,"operate_journals_count":33,"attachments":[{"id":13,"title":"智能头盔软件需求构思和描述文档 (1).docx","filesize":"14.1 KB","is_pdf":false,"url":"/api/attachments/13","created_on":"2023-02-17 16:05","content_type":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"id":14,"title":"prv_test-master.zip","filesize":"316 字节","is_pdf":false,"url":"/api/attachments/14","created_on":"2023-02-17 16:06","content_type":"application/zip"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027798-run","security":[]},"patch":{"summary":"更新一个疑修","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"status_id":{"type":"integer","title":"疑修状态ID"},"priority_id":{"type":"integer","title":"疑修优先级ID"},"milestone_id":{"type":"integer","title":"疑修里程碑ID"},"branch_name":{"type":"string","title":"疑修分支名称"},"start_date":{"type":"string","title":"疑修开始日期"},"due_date":{"type":"string","title":"疑修截止日期"},"subject":{"type":"string","title":"疑修标题"},"description":{"type":"string","title":"疑修描述"},"blockchain_token_num":{"type":"integer","title":"疑修悬赏金额"},"issue_tag_ids":{"type":"array","items":{"type":"integer"},"title":"疑修标记ID数组"},"assigner_ids":{"type":"array","items":{"type":"integer"},"title":"疑修负责人ID数组"},"attachment_ids":{"type":"array","items":{"type":"integer"},"title":"疑修附件ID数组"},"receivers_login":{"type":"array","items":{"type":"string"},"title":"疑修@用户标识数组"}},"x-apifox-orders":["status_id","priority_id","milestone_id","branch_name","start_date","due_date","subject","description","blockchain_token_num","issue_tag_ids","assigner_ids","attachment_ids","receivers_login"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"疑修ID"},"subject":{"type":"string","title":"疑修标题"},"project_issues_index":{"type":"integer","title":"疑修序号"},"description":{"type":"string","title":"疑修描述"},"branch_name":{"type":"string","title":"疑修分支名称"},"start_date":{"type":"string","title":"疑修的开始时间"},"due_date":{"type":"string","title":"疑修的结束时间"},"created_at":{"type":"string","title":"疑修的创建时间"},"updated_at":{"type":"string","title":"疑修的更新时间"},"blockchain_token_num":{"type":"integer","title":"疑修悬赏金额"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"疑修标记ID"},"name":{"type":"string","title":"疑修名称"},"color":{"type":"string","title":"疑修色值"}},"x-apifox-orders":["id","name","color"],"x-apifox-ignore-properties":[]},"title":"疑修标记数组"},"status":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修状态","x-apifox-ignore-properties":[]},"priority":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修优先级","x-apifox-ignore-properties":[]},"milestone":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"疑修里程碑","x-apifox-ignore-properties":[]},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"疑修作者","x-apifox-ignore-properties":[]},"assigners":{"type":"array","items":{"type":"string"},"title":"疑修负责人数组"},"participants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"疑修参与人员数组"},"comment_journals_count":{"type":"integer","title":"疑修评论数量"},"operate_journals_count":{"type":"integer","title":"疑修操作日志数量"}},"required":["id","created_at","updated_at","tags","status","priority","milestone","author","assigners","participants","comment_journals_count","operate_journals_count","subject","description","project_issues_index","branch_name","start_date","due_date","blockchain_token_num"],"x-apifox-orders":["id","subject","project_issues_index","description","branch_name","start_date","due_date","created_at","updated_at","blockchain_token_num","tags","status","priority","milestone","author","assigners","participants","comment_journals_count","operate_journals_count"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":62,"subject":"sedhahahaha213qjiqiq321312jakjf3123121231231","project_issues_index":32,"description":"部低九认都音以再际油化少可党半每市。无白表并商器何江华向二写。元先战因打质写起论国子四说省史十。计外们规织花层向结具习把月类义头比海。更感派是元家前识布连市厂号直北达则。千地意亲集式位状起几级号平常作意。","branch_name":"持命看山","start_date":"1988-11-06","due_date":"1970-07-23","created_at":"2023-02-15 09:53","updated_at":"2023-02-20 11:38","tags":[{"id":3,"name":"1","color":"#F17013"}],"status":{"id":5,"name":"关闭"},"priority":{"id":3,"name":"高"},"milestone":{"id":4,"name":"加花果马划八"},"author":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"assigners":[{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},{"id":115,"type":"User","name":"嘿嘿嘿","login":"yystopf123","image_url":"system/lets/letter_avatars/2/Y/172_132_85/120.png"}],"participants":[{"id":1,"type":"AnonymousUser","name":"游客","login":"","image_url":null},{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"}],"comment_journals_count":8,"operate_journals_count":33,"attachments":[{"id":13,"title":"智能头盔软件需求构思和描述文档 (1).docx","filesize":"14.1 KB","is_pdf":false,"url":"/api/attachments/13","created_on":"2023-02-17 16:05","content_type":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"id":14,"title":"prv_test-master.zip","filesize":"316 字节","is_pdf":false,"url":"/api/attachments/14","created_on":"2023-02-17 16:06","content_type":"application/zip"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027799-run","security":[]},"delete":{"summary":"删除一个疑修","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027800-run","security":[]}},"/api/v1/{owner}/{repo}/pulls/{index}/reviews":{"get":{"summary":"获取合并请求审查列表","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"合并请求序号","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","description":"审查类型, common: 评论类型, approved: 已通过, rejected: 已拒绝","required":false,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"审查总数"},"reviews":{"type":"array","items":{"type":"object","properties":{"reviewer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"审查者","x-apifox-ignore-properties":[]},"pull_request":{"type":"object","properties":{"id":{"type":"integer","title":"合并请求ID"},"title":{"type":"string","title":"合并请求标题"},"body":{"type":"null","title":"合并请求内容"},"head":{"type":"string","title":"合并请求源分支"},"base":{"type":"string","title":"合并请求目标分支"},"is_original":{"type":"boolean","title":"合并请求目标分支"},"fork_project":{"type":"object","properties":{"id":{"type":"integer","title":"fork仓库的id"},"identifier":{"type":"string","title":"fork仓库的标识"},"login":{"type":"string","title":"fork仓库拥有者的标识"}},"x-apifox-orders":["id","identifier","login"],"x-apifox-ignore-properties":[]},"index":{"type":"integer","title":"合并请求的序号"},"status":{"type":"string","title":"合并请求的状态","description":"open: 打开的, merged: 合并的, closed: 关闭的"},"issue":{"type":"object","properties":{"id":{"type":"integer","title":"合并请求下疑修的ID"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"合并请求以及疑修的创建着","x-apifox-ignore-properties":[]},"priority":{"type":"null","title":"疑修的优先级"},"version":{"type":"null","title":"疑修的里程碑"},"journals_count":{"type":"integer","title":"普通评论数量"},"issue_tags":{"type":"null","title":"所属标记"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"reviewers":{"type":"array","items":{"type":"string"},"title":"审查者数组"},"journals_count":{"type":"integer","title":"审查评论数量"}},"required":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-orders":["id","title","body","head","base","is_original","fork_project","index","status","issue","reviewers","journals_count"],"x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"审查ID"},"commit_id":{"type":"null","title":"审查的commit标识"},"content":{"type":"string","title":"审查的内容"},"status":{"type":"string","title":"审查类型","description":"common: 普通, approved: 通过,rejected: 拒绝通过"},"created_at":{"type":"string","title":"审查创建时间"}},"x-apifox-orders":["reviewer","pull_request","id","commit_id","content","status","created_at"],"x-apifox-ignore-properties":[]}}},"required":["total_count","reviews"],"x-apifox-orders":["total_count","reviews"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":1,"reviews":[{"reviewer":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"pull_request":{"id":163,"title":"新合并请求1","body":null,"head":"master_1","base":"master","is_original":false,"index":1,"status":"closed","issue":{"id":260,"author":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"priority":null,"version":null,"journals_count":0,"issue_tags":null},"reviewers":[],"journals_count":8},"id":5,"commit_id":null,"content":"新建一个审查","status":"common","created_at":"2022-07-25 17:08"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129497448-run","security":[]},"post":{"summary":"创建一个合并请求审查","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string","title":"审查内容"},"commit_id":{"type":"string","title":"当前合并请求的提交标识"},"status":{"type":"string","title":"审查类型","description":"common 普通 approved 通过 rejected 拒绝"}},"required":["status"],"x-apifox-orders":["content","commit_id","status"],"x-apifox-ignore-properties":[]},"example":{"content":"新建一个审查","commit_id":"e506844b2467ce25a35dd46dad8236a1595a02da","status":"common"}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"reviewer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"审查者","x-apifox-ignore-properties":[]},"pull_request":{"type":"object","properties":{"id":{"type":"integer","title":"合并请求ID"},"head":{"type":"string","title":"合并请求源分支"},"base":{"type":"string","title":"合并请求目标分支"},"is_original":{"type":"boolean","title":"合并请求是否从fork仓库所来"},"index":{"type":"integer","title":"合并请求的序号"},"status":{"type":"string","title":"合并请求的状态","description":"open: 打开的, merged: 合并的, closed: 关闭的"},"issue":{"type":"object","properties":{"id":{"type":"integer","title":"合并请求下疑修的ID"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"合并请求以及疑修的创建着","x-apifox-ignore-properties":[]},"priority":{"type":"null","title":"疑修的优先级"},"version":{"type":"null","title":"疑修的里程碑"},"journals_count":{"type":"integer","title":"普通评论数量"},"issue_tags":{"type":"null","title":"所属标记"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"journals_count":{"type":"integer","title":"审查评论数量"}},"required":["id","head","base","is_original","index","status","issue","journals_count"],"x-apifox-orders":["id","head","base","is_original","index","status","issue","journals_count"],"x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"审查ID"},"commit_id":{"type":"string","title":"审查的提交标识"},"content":{"type":"string","title":"审查的内容"},"status":{"type":"string","title":"审查类型","description":"common: 普通, approved: 通过,rejected: 拒绝通过"},"created_at":{"type":"string","title":"审查创建时间"}},"required":["reviewer","pull_request","id","commit_id","content","status","created_at"],"x-apifox-orders":["reviewer","pull_request","id","commit_id","content","status","created_at"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"reviewer":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"pull_request":{"id":163,"head":"master_1","base":"master","is_original":false,"index":1,"status":"closed","issue":{"id":260,"author":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"priority":null,"version":null,"journals_count":0,"issue_tags":null},"journals_count":6},"id":10,"commit_id":"e506844b2467ce25a35dd46dad8236a1595a02da","content":"新建一个审查","status":"common","created_at":"2022-07-26 11:45"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130132340-run","security":[]}},"/api/v1/{owner}/{repo}/issues/batch_update":{"patch":{"summary":"批量更新疑修","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"}},"status_id":{"type":"integer","title":"疑修状态ID"},"priority_id":{"type":"integer","title":"疑修优先级ID"},"milestone_id":{"type":"integer","title":"疑修里程碑ID"},"issue_tag_ids":{"type":"array","items":{"type":"integer"},"title":"疑修标记ID数组"},"assigner_ids":{"type":"array","items":{"type":"integer"},"title":"疑修负责人ID数组"}},"required":["status_id","priority_id","milestone_id","issue_tag_ids","assigner_ids","ids"],"x-apifox-orders":["ids","status_id","priority_id","milestone_id","issue_tag_ids","assigner_ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027803-run","security":[]}},"/api/users/{owner}":{"put":{"summary":"用户信息更改","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"nickname":{"type":"string","title":"用户昵称"},"user_extension_attributes":{"type":"object","properties":{"gender":{"type":"integer","title":"用户性别"},"province":{"type":"string","title":"用户所在省份"},"city":{"type":"string","title":"用户所在城市"},"description":{"type":"string","title":"用户简介"},"custom_department":{"type":"string","title":"用户所在单位"}},"required":["gender","province","city","description","custom_department"],"x-apifox-orders":["gender","province","city","description","custom_department"],"x-apifox-ignore-properties":[]}},"required":["nickname","user_extension_attributes"],"x-apifox-orders":["nickname","user_extension_attributes"],"x-apifox-ignore-properties":[]}},"required":["user"],"x-apifox-orders":["user"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"name":{"type":"string","title":"用户昵称"},"username":{"type":"string","title":"用户昵称"},"real_name":{"type":"string","title":"用户昵称"},"gender":{"type":"integer","title":"用户性别"},"login":{"type":"string","title":"用户标识"},"image_url":{"type":"string","title":"用户头像"},"admin":{"type":"boolean","title":"是否为管理员"},"is_watch":{"type":"boolean","title":"是否关注"},"watched_count":{"type":"integer","title":"用户被关注数量"},"watching_count":{"type":"integer","title":"用户关注的用户数"},"created_time":{"type":"string","title":"用户创建时间"},"email":{"type":"null","title":"用户邮箱"},"province":{"type":"null","title":"用户所在省份"},"city":{"type":"null","title":"用户所在城市"},"custom_department":{"type":"null","title":"用户所在单位"},"description":{"type":"string","title":"用户个性签名"}},"required":["user_id","name","username","real_name","gender","login","image_url","admin","is_watch","watched_count","watching_count","created_time","email","province","city","custom_department","description"],"x-apifox-orders":["user_id","name","username","real_name","gender","login","image_url","admin","is_watch","watched_count","watching_count","created_time","email","province","city","custom_department","description"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"user_id":110,"name":"咸蛋黄土豆丝xxx","username":"咸蛋黄土豆丝xxx","real_name":"咸蛋黄土豆丝xxx","grade":0,"gender":0,"login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png","admin":true,"user_identity":"专业人士","is_watch":false,"watched_count":0,"watching_count":0,"created_time":"2022-09-19 11:45","email":null,"province":null,"city":null,"custom_department":null,"description":"个性签名"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99657106-run","security":[]}},"/api/v1/{owner}/{repo}/pulls/{index}/journals":{"get":{"summary":"获取合并请求评论列表","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"合并请求序号","required":true,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"review_id","in":"query","description":"审查ID\n","required":false,"schema":{"type":"string"}},{"name":"need_respond","in":"query","description":"是否需要回应","required":false,"example":"true","schema":{"type":"string"}},{"name":"state","in":"query","description":"状态, opened: 开启的, resolved: 已解决的, disabled: 无效的","required":false,"schema":{"type":"string"}},{"name":"parent_id","in":"query","description":"父评论ID\n","required":false,"schema":{"type":"integer"}},{"name":"path","in":"query","description":"评论文件路径\n","required":false,"schema":{"type":"string"}},{"name":"is_full","in":"query","description":"是否展示全部评论(包括回复)","required":false,"example":"true","schema":{"type":"string"}},{"name":"sort_by","in":"query","description":"排序字段 created_on: 创建时间, updated_on: 更新时间","required":false,"schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序类型 desc: 倒序, asc: 正序","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"评论总数"},"journals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"评论ID"},"note":{"type":"string","title":"评论内容"},"commit_id":{"type":"null","title":"提交标识"},"line_code":{"type":"string","title":"评论行数"},"path":{"type":"string","title":"评论文件路径"},"diff":{"type":"object","properties":{},"x-apifox-orders":[],"title":"评论文件diff内容","x-apifox-ignore-properties":[]},"need_respond":{"type":"boolean","title":"评论是否要回应"},"state":{"type":"string","title":"评论状态","description":"opened: 开启的, resolved: 已解决的, disabled: 无效的"},"parent_id":{"type":"integer","title":"父评论ID"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论创建者","x-apifox-ignore-properties":[]},"review":{"type":"object","properties":{"reviewer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"pull_request":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"body":{"type":"null"},"head":{"type":"string"},"base":{"type":"string"},"is_original":{"type":"boolean"},"index":{"type":"integer"},"status":{"type":"string"},"issue":{"type":"object","properties":{"id":{"type":"integer"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"priority":{"type":"null"},"version":{"type":"null"},"journals_count":{"type":"integer"},"issue_tags":{"type":"null"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"reviewers":{"type":"array","items":{"type":"string"}},"journals_count":{"type":"integer"}},"required":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-orders":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-ignore-properties":[]},"id":{"type":"integer"},"commit_id":{"type":"string"},"content":{"type":"string"},"status":{"type":"string"},"created_at":{"type":"string"}},"required":["reviewer","pull_request","id","commit_id","content","status","created_at"],"x-apifox-orders":["reviewer","pull_request","id","commit_id","content","status","created_at"],"title":"评论所属评审","x-apifox-ignore-properties":[]},"resolveer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论解决者","x-apifox-ignore-properties":[]},"resolve_at":{"type":"string","title":"评论解决时间"},"created_at":{"type":"string","title":"评论创建时间"},"updated_at":{"type":"string","title":"评论更新时间"}},"x-apifox-orders":["id","note","commit_id","line_code","path","diff","need_respond","state","parent_id","user","review","resolveer","resolve_at","created_at","updated_at"],"x-apifox-ignore-properties":[]}}},"required":["total_count","journals"],"x-apifox-orders":["total_count","journals"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":"{\n \"total_count\": 1,\n \"journals\": [\n {\n \"id\": 200,\n \"note\": \"测试评论修改\",\n \"commit_id\": null,\n \"line_code\": \"70eede447ccc01c1902260fd377af5d90be28e0d_0_29\",\n \"path\": \"Gemfile.lock\",\n \"diff\": {},\n \"need_respond\": true,\n \"state\": \"resolved\",\n \"parent_id\": nil,\n \"user\": {\n \"id\": 2,\n \"type\": \"User\",\n \"name\": \"heh\",\n \"login\": \"yystopf\",\n \"image_url\": \"system/lets/letter_avatars/2/H/188_239_142/120.png\"\n },\n \"review\": {\n \"reviewer\": {\n \"id\": 2,\n \"type\": \"User\",\n \"name\": \"heh\",\n \"login\": \"yystopf\",\n \"image_url\": \"system/lets/letter_avatars/2/H/188_239_142/120.png\"\n },\n \"pull_request\": {\n \"id\": 163,\n \"title\": \"新合并请求1\",\n \"body\": null,\n \"head\": \"master_1\",\n \"base\": \"master\",\n \"is_original\": false,\n \"index\": 1,\n \"status\": \"closed\",\n \"issue\": {\n \"id\": 260,\n \"author\": {\n \"id\": 2,\n \"type\": \"User\",\n \"name\": \"heh\",\n \"login\": \"yystopf\",\n \"image_url\": \"system/lets/letter_avatars/2/H/188_239_142/120.png\"\n },\n \"priority\": null,\n \"version\": null,\n \"journals_count\": 0,\n \"issue_tags\": null\n },\n \"reviewers\": [],\n \"journals_count\": 9\n },\n \"id\": 10,\n \"commit_id\": \"1\",\n \"content\": \"新建一个审查\",\n \"status\": \"common\",\n \"created_at\": \"2022-07-26 11:45\"\n },\n \"resolveer\": {\n \"id\": 2,\n \"type\": \"User\",\n \"name\": \"heh\",\n \"login\": \"yystopf\",\n \"image_url\": \"system/lets/letter_avatars/2/H/188_239_142/120.png\"\n },\n \"resolve_at\": \"2022-07-27 14:50\",\n \"created_at\": \"2022-07-27 14:31\",\n \"updated_at\": \"2022-07-27 14:50\"\n }\n ]\n}"}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130149780-run","security":[]},"post":{"summary":"创建一个合并请求评论","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"合并请求序号","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","title":"评论类型","description":"comment: 普通, problem: 需要回应的评论"},"note":{"type":"string","title":"评论内容"},"review_id":{"type":"string","title":"审查ID"},"line_code":{"type":"string","title":"行号"},"commit_id":{"type":"string","title":"提交标识"},"path":{"type":"string","title":"文件路径"},"parent_id":{"type":"integer","title":"父评论ID"},"diff":{"type":"object","properties":{"name":{"type":"string"},"oldname":{"type":"string"},"addition":{"type":"integer"},"deletion":{"type":"integer"},"type":{"type":"integer"},"is_created":{"type":"boolean"},"is_deleted":{"type":"boolean"},"is_bin":{"type":"boolean"},"is_lfs_file":{"type":"boolean"},"is_renamed":{"type":"boolean"},"is_ambiguous":{"type":"boolean"},"is_submodule":{"type":"boolean"},"sections":{"type":"array","items":{"type":"object","properties":{"file_name":{"type":"string"},"name":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"left_index":{"type":"integer"},"right_index":{"type":"integer"},"match":{"type":"integer"},"type":{"type":"integer"},"content":{"type":"string"},"section_path":{"type":"string"},"section_last_left_index":{"type":"integer"},"section_last_right_index":{"type":"integer"},"section_left_index":{"type":"integer"},"section_right_index":{"type":"integer"},"section_left_hunk_size":{"type":"integer"},"section_right_hunk_size":{"type":"integer"}},"required":["left_index","right_index","match","type","content","section_path","section_last_left_index","section_last_right_index","section_left_index","section_right_index","section_left_hunk_size","section_right_hunk_size"],"x-apifox-orders":["left_index","right_index","match","type","content","section_path","section_last_left_index","section_last_right_index","section_left_index","section_right_index","section_left_hunk_size","section_right_hunk_size"],"x-apifox-ignore-properties":[]}}},"required":["file_name","name","lines"],"x-apifox-orders":["file_name","name","lines"],"x-apifox-ignore-properties":[]}},"is_incomplete":{"type":"boolean"},"is_incomplete_line_too_long":{"type":"boolean"},"is_protected":{"type":"boolean"}},"required":["name","oldname","addition","deletion","type","is_created","is_deleted","is_bin","is_lfs_file","is_renamed","is_ambiguous","is_submodule","sections","is_incomplete","is_incomplete_line_too_long","is_protected"],"x-apifox-orders":["name","oldname","addition","deletion","type","is_created","is_deleted","is_bin","is_lfs_file","is_renamed","is_ambiguous","is_submodule","sections","is_incomplete","is_incomplete_line_too_long","is_protected"],"title":"文件diff内容","x-apifox-ignore-properties":[]}},"required":["type","note","review_id","line_code","commit_id","path","diff","parent_id"],"x-apifox-orders":["type","note","review_id","line_code","commit_id","path","parent_id","diff"],"x-apifox-ignore-properties":[]},"example":{"type":"problem","note":"测试评论","review_id":"10","line_code":"70eede447ccc01c1902260fd377af5d90be28e0d_0_29","commit_id":"70eede447ccc01c1902260fd377af5d90be28e0d","path":"Gemfile.lock","diff":{"name":"README.md","oldname":"README.md","addition":1,"deletion":2,"type":2,"is_created":false,"is_deleted":false,"is_bin":false,"is_lfs_file":false,"is_renamed":false,"is_ambiguous":false,"is_submodule":false,"sections":[{"file_name":"README.md","name":"","lines":[{"left_index":0,"right_index":0,"match":0,"type":4,"content":"@@ -1,2 +1 @@","section_path":"README.md","section_last_left_index":0,"section_last_right_index":0,"section_left_index":1,"section_right_index":1,"section_left_hunk_size":2,"section_right_hunk_size":0},{"left_index":1,"right_index":0,"match":3,"type":3,"content":"-# ceshi_commit"},{"left_index":2,"right_index":0,"match":-1,"type":3,"content":"-"},{"left_index":0,"right_index":1,"match":1,"type":2,"content":"+adsa"}]},{"file_name":"README.md","name":"","lines":[{"left_index":0,"right_index":0,"match":0,"type":4,"content":" ","section_path":"README.md","section_last_left_index":0,"section_last_right_index":1,"section_left_index":3,"section_right_index":2,"section_left_hunk_size":0,"section_right_hunk_size":0}]}],"is_incomplete":false,"is_incomplete_line_too_long":false,"is_protected":false}}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"评论ID"},"note":{"type":"string","title":"评论内容"},"commit_id":{"type":"null","title":"提交标识"},"line_code":{"type":"string","title":"评论行数"},"path":{"type":"string","title":"评论文件路径"},"diff":{"type":"object","properties":{},"x-apifox-orders":[],"title":"评论文件diff内容","x-apifox-ignore-properties":[]},"need_respond":{"type":"boolean","title":"评论是否要回应"},"state":{"type":"string","title":"评论状态","description":"opened: 开启的, resolved: 已解决的, disabled: 无效的"},"parent_id":{"type":"integer","title":"父评论ID"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论创建者","x-apifox-ignore-properties":[]},"review":{"type":"object","properties":{"reviewer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"pull_request":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"body":{"type":"null"},"head":{"type":"string"},"base":{"type":"string"},"is_original":{"type":"boolean"},"index":{"type":"integer"},"status":{"type":"string"},"issue":{"type":"object","properties":{"id":{"type":"integer"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"priority":{"type":"null"},"version":{"type":"null"},"journals_count":{"type":"integer"},"issue_tags":{"type":"null"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"reviewers":{"type":"array","items":{"type":"string"}},"journals_count":{"type":"integer"}},"required":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-orders":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-ignore-properties":[]},"id":{"type":"integer"},"commit_id":{"type":"string"},"content":{"type":"string"},"status":{"type":"string"},"created_at":{"type":"string"}},"required":["reviewer","pull_request","id","commit_id","content","status","created_at"],"x-apifox-orders":["reviewer","pull_request","id","commit_id","content","status","created_at"],"title":"评论所属评审","x-apifox-ignore-properties":[]},"resolveer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论解决者","x-apifox-ignore-properties":[]},"resolve_at":{"type":"string","title":"评论解决时间"},"created_at":{"type":"string","title":"评论创建时间"},"updated_at":{"type":"string","title":"评论更新时间"}},"required":["id","note","commit_id","line_code","path","diff","need_respond","state","user","review","resolveer","resolve_at","created_at","updated_at","parent_id"],"x-apifox-orders":["id","note","commit_id","line_code","path","diff","need_respond","state","parent_id","user","review","resolveer","resolve_at","created_at","updated_at"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"id":200,"note":"测试评论修改","commit_id":null,"line_code":"70eede447ccc01c1902260fd377af5d90be28e0d_0_29","path":"Gemfile.lock","diff":{},"need_respond":true,"state":"resolved","user":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"review":{"reviewer":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"pull_request":{"id":163,"title":"新合并请求1","body":null,"head":"master_1","base":"master","is_original":false,"index":1,"status":"closed","issue":{"id":260,"author":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"priority":null,"version":null,"journals_count":0,"issue_tags":null},"reviewers":[],"journals_count":9},"id":10,"commit_id":"1","content":"新建一个审查","status":"common","created_at":"2022-07-26 11:45"},"resolveer":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"resolve_at":"2022-07-27 14:50","created_at":"2022-07-27 14:31","updated_at":"2022-07-27 14:50"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130161707-run","security":[]}},"/api/v1/{owner}/{repo}/issues/batch_destroy":{"delete":{"summary":"批量删除疑修","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer"}}},"required":["ids"],"x-apifox-orders":["ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027801-run","security":[]}},"/api/template_message_settings":{"get":{"summary":"平台消息设置","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","title":""},"message":{"type":"string","title":""},"setting_types":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","title":"设置分类类型"},"type_name":{"type":"string","title":"设置分类名称"},"total_settings_count":{"type":"integer","title":"设置分类下设置总数"},"settings":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"设置名称"},"key":{"type":"string","title":"设置的Key"},"notification_disabled":{"type":"boolean","title":"系统消息是否禁用"},"email_disabled":{"type":"boolean","title":"@我消息是否禁用"}},"required":["name","key","notification_disabled","email_disabled"],"x-apifox-orders":["name","key","notification_disabled","email_disabled"],"x-apifox-ignore-properties":[]}}},"required":["type","type_name","total_settings_count","settings"],"x-apifox-orders":["type","type_name","total_settings_count","settings"],"x-apifox-ignore-properties":[]},"title":""}},"required":["status","message","setting_types"],"x-apifox-orders":["status","message","setting_types"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"响应成功","setting_types":[{"type":"TemplateMessageSetting::Normal","type_name":"我的状态","total_settings_count":5,"settings":[{"name":"账号有权限变更","key":"Permission","notification_disabled":true,"email_disabled":false},{"name":"被拉入或移出组织","key":"Organization","notification_disabled":true,"email_disabled":false},{"name":"被拉入或移出项目","key":"Project","notification_disabled":true,"email_disabled":false},{"name":"有新的疑修指派给我","key":"IssueAssigned","notification_disabled":true,"email_disabled":false},{"name":"有新的合并请求指派给我","key":"PullRequestAssigned","notification_disabled":true,"email_disabled":false}]},{"type":"TemplateMessageSetting::CreateOrAssign","type_name":"我创建的或负责的","total_settings_count":3,"settings":[{"name":"疑修状态变更","key":"IssueChanged","notification_disabled":true,"email_disabled":false},{"name":"合并请求状态变更","key":"PullRequestChanged","notification_disabled":true,"email_disabled":false},{"name":"疑修截止日期到达最后一天","key":"IssueExpire","notification_disabled":false,"email_disabled":false}]},{"type":"TemplateMessageSetting::ManageProject","type_name":"我管理的仓库","total_settings_count":8,"settings":[{"name":"有新的疑修","key":"Issue","notification_disabled":true,"email_disabled":false},{"name":"有新的合并请求","key":"PullRequest","notification_disabled":true,"email_disabled":false},{"name":"有成员变动","key":"Member","notification_disabled":true,"email_disabled":false},{"name":"仓库设置被更改","key":"SettingChanged","notification_disabled":true,"email_disabled":false},{"name":"被点赞","key":"Praised","notification_disabled":false,"email_disabled":true},{"name":"被fork","key":"Forked","notification_disabled":false,"email_disabled":true},{"name":"有新的里程碑","key":"Milestone","notification_disabled":false,"email_disabled":false},{"name":"有里程碑已完成","key":"MilestoneCompleted","notification_disabled":false,"email_disabled":false}]}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99661033-run","security":[]}},"/api/v1/{owner}/{repo}/collaborators":{"get":{"summary":"项目所有成员列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"example":"","schema":{"type":"string"}},{"name":"keyword","in":"query","description":"","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"collaborators":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"用户ID"},"type":{"type":"string","title":"用户类型"},"name":{"type":"string","title":"用户名称"},"login":{"type":"string","title":"用户标识"},"image_url":{"type":"string","title":"用户头像"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"title":"成员列表"}},"required":["total_count","collaborators"],"x-apifox-orders":["total_count","collaborators"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":7,"collaborators":[{"id":36480,"type":"User","name":"段甲生","login":"pxicb3wke","image_url":"images/avatars/User/36480?t=1672730523"},{"id":85605,"type":"User","name":"Floraachy","login":"p10789563","image_url":"system/lets/letter_avatars/2/P/158_138_26/120.png"},{"id":85602,"type":"User","name":"确实开源","login":"ccf-gitlink","image_url":"system/lets/letter_avatars/2/C/179_246_101/120.png"},{"id":84727,"type":"User","name":"yystopf.df","login":"yystopf123","image_url":"images/avatars/User/84727?t=1650252387"},{"id":84961,"type":"User","name":"postwoman釹轻柔","login":"postwoman","image_url":"images/avatars/User/84961?t=1641441279"},{"id":84960,"type":"User","name":"甄晓火","login":"postman","image_url":"system/lets/letter_avatars/2/Z/103_231_238/120.png"},{"id":85589,"type":"User","name":"🌸紫罗兰","login":"floraachy","image_url":"images/avatars/User/85589?t=1669948028"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027802-run","security":[]}},"/api/v1/{owner}/{repo}/issues/{index}/journals":{"get":{"summary":"获取疑修下评论或操作记录列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"category","in":"query","description":"类型,all 所有 comment 评论 operate 操作记录","required":false,"schema":{"type":"string"}},{"name":"keyword","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"sort_by","in":"query","description":"排序字段,created_on 创建时间 updated_on 更新时间","required":false,"schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序类型,asc 正序 desc 倒序","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","description":"分页总数"},"total_journals_count":{"type":"integer","description":"所有评论+操作记录数"},"total_comment_journals_count":{"description":"所有评论数","type":"integer"},"total_operate_journals_count":{"type":"integer","description":"所有操作记录数"},"journals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"评论id"},"is_journal_detail":{"type":"boolean","description":"是否为操作记录"},"created_at":{"type":"string","description":"创建时间"},"updated_at":{"type":"string","description":"更新时间"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string","nullable":true}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"description":"评论用户","x-apifox-ignore-properties":[]},"notes":{"type":"null","description":"评论内容"},"comments_count":{"type":"integer","description":"子评论数量"},"children_journals":{"type":"array","items":{"type":"string"},"description":"子评论,默认只显示10条"},"operate_content":{"type":"string","description":"操作记录内容"},"operate_category":{"type":"string","description":"操作记录类型 issue 创建疑修;attachment 附件;issue_tag 标记;assigner 负责人; subject 标题;description 描述; status_id 状态;priority_id 优先级; fixed_version_id 里程碑; branch_name 关联分支;start_date 开始日期;due_date 结束日期"}},"required":["id","is_journal_detail","created_at","updated_at","user","operate_category"],"x-apifox-orders":["id","is_journal_detail","created_at","updated_at","user","notes","comments_count","children_journals","operate_content","operate_category"],"x-apifox-ignore-properties":[]}}},"required":["total_count","journals","total_journals_count","total_comment_journals_count","total_operate_journals_count"],"x-apifox-orders":["total_count","total_journals_count","total_comment_journals_count","total_operate_journals_count","journals"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_journals_count":42,"total_operate_journals_count":38,"total_comment_journals_count":4,"total_count":42,"journals":[{"id":13,"is_journal_detail":false,"created_at":"2023-02-15 09:53","updated_at":"2023-02-15 09:53","user":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"notes":null,"comments_count":0,"children_journals":[],"attachments":[]},{"id":17,"is_journal_detail":true,"created_at":"2023-02-16 18:20","updated_at":"2023-02-16 18:20","user":{"id":1,"type":"AnonymousUser","name":"游客","login":"","image_url":null},"operate_category":"subject","operate_content":"修改了标题"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027804-run","security":[]},"post":{"summary":"创建一个疑修的评论","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"parent_id":{"type":"integer","description":"父评论ID"},"reply_id":{"type":"integer","description":"回复的评论ID"},"notes":{"type":"string","description":"评论内容"},"attachment_ids":{"type":"array","items":{"type":"integer"},"description":"评论附件ID"}},"required":["notes"],"x-apifox-orders":["parent_id","reply_id","notes","attachment_ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"评论ID"},"is_journal_detail":{"type":"boolean","description":"是否为操作记录"},"created_at":{"type":"string","description":"评论创建时间"},"updated_at":{"type":"string","description":"评论更新时间"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"description":"评论者","x-apifox-ignore-properties":[]},"notes":{"type":"string","description":"评论内容"},"comments_count":{"type":"integer"},"children_journals":{"type":"array","items":{"type":"string"}}},"required":["id","is_journal_detail","created_at","updated_at","user","notes","comments_count","children_journals"],"x-apifox-orders":["id","is_journal_detail","created_at","updated_at","user","notes","comments_count","children_journals"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":58,"is_journal_detail":false,"created_at":"2023-02-18 22:41","updated_at":"2023-02-18 22:41","user":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"notes":"dolore officia minim in","comments_count":0,"children_journals":[]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027806-run","security":[]}},"/api/users/{owner}/template_message_settings":{"get":{"summary":"用户消息设置列表","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"notification_body":{"type":"object","properties":{"Normal::Permission":{"type":"boolean"},"Normal::Project":{"type":"boolean"},"Normal::Organization":{"type":"boolean"},"Normal::IssueAssigned":{"type":"boolean"},"Normal::PullRequestAssigned":{"type":"boolean"},"CreateOrAssign::IssueChanged":{"type":"boolean"},"CreateOrAssign::PullRequestChanged":{"type":"boolean"},"CreateOrAssign::IssueExpire":{"type":"boolean"},"ManageProject::Issue":{"type":"boolean"},"ManageProject::PullRequest":{"type":"boolean"},"ManageProject::Member":{"type":"boolean"},"ManageProject::SettingChanged":{"type":"boolean"},"ManageProject::Praised":{"type":"boolean"},"ManageProject::Forked":{"type":"boolean"},"ManageProject::Milestone":{"type":"boolean"},"ManageProject::MilestoneCompleted":{"type":"boolean"}},"required":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"x-apifox-orders":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"description":"站内信消息配置","x-apifox-ignore-properties":[]},"email_body":{"type":"object","properties":{"Normal::Permission":{"type":"boolean"},"Normal::Project":{"type":"boolean"},"Normal::Organization":{"type":"boolean"},"Normal::IssueAssigned":{"type":"boolean"},"Normal::PullRequestAssigned":{"type":"boolean"},"CreateOrAssign::IssueChanged":{"type":"boolean"},"CreateOrAssign::PullRequestChanged":{"type":"boolean"},"CreateOrAssign::IssueExpire":{"type":"boolean"},"ManageProject::Issue":{"type":"boolean"},"ManageProject::PullRequest":{"type":"boolean"},"ManageProject::Member":{"type":"boolean"},"ManageProject::SettingChanged":{"type":"boolean"},"ManageProject::Praised":{"type":"boolean"},"ManageProject::Forked":{"type":"boolean"},"ManageProject::Milestone":{"type":"boolean"},"ManageProject::MilestoneCompleted":{"type":"boolean"}},"required":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"x-apifox-orders":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"description":"邮件消息配置","x-apifox-ignore-properties":[]}},"required":["status","message","user","notification_body","email_body"],"x-apifox-orders":["status","message","user","notification_body","email_body"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"响应成功","user":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"notification_body":{"Normal::Permission":true,"Normal::Project":true,"Normal::Organization":true,"Normal::IssueAssigned":true,"Normal::PullRequestAssigned":true,"CreateOrAssign::IssueChanged":true,"CreateOrAssign::PullRequestChanged":true,"CreateOrAssign::IssueExpire":true,"ManageProject::Issue":true,"ManageProject::PullRequest":true,"ManageProject::Member":true,"ManageProject::SettingChanged":true,"ManageProject::Praised":true,"ManageProject::Forked":true,"ManageProject::Milestone":true,"ManageProject::MilestoneCompleted":true},"email_body":{"Normal::Permission":false,"Normal::Project":false,"Normal::Organization":false,"Normal::IssueAssigned":false,"Normal::PullRequestAssigned":false,"CreateOrAssign::IssueChanged":false,"CreateOrAssign::PullRequestChanged":false,"CreateOrAssign::IssueExpire":false,"ManageProject::Issue":false,"ManageProject::PullRequest":false,"ManageProject::Member":false,"ManageProject::SettingChanged":false,"ManageProject::Praised":false,"ManageProject::Forked":false,"ManageProject::Milestone":false,"ManageProject::MilestoneCompleted":false}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99666761-run","security":[]}},"/api/v1/{owner}/{repo}/pulls/{index}/journals/{id}":{"put":{"summary":"修改一个合并请求评论","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"合并请求序号\n","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"评论ID\n","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":"string","title":"评论内容"},"commit_id":{"type":"string","title":"提交标识"},"state":{"type":"string","title":"评论状态","description":"opened: 开启的, resolved: 已解决的, disabled: 无效的"}},"required":["note","commit_id","state"],"x-apifox-orders":["note","commit_id","state"],"x-apifox-ignore-properties":[]},"example":{"note":"测试评论","commit_id":"70eede447ccc01c1902260fd377af5d90be28e0d","state":"resolved"}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"评论ID"},"note":{"type":"string","title":"评论内容"},"commit_id":{"type":"null","title":"评论标识"},"line_code":{"type":"string","title":"评论行数"},"path":{"type":"string","title":"评论文件路径"},"diff":{"type":"object","properties":{},"x-apifox-orders":[],"title":"评论文件diff内容","x-apifox-ignore-properties":[]},"need_respond":{"type":"boolean","title":"评论是否要回应"},"state":{"type":"string","title":"评论状态","description":"opened: 开启的, resolved: 已解决的, disabled: 无效的"},"parent_id":{"type":"integer","title":"父评论ID"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论创建者","x-apifox-ignore-properties":[]},"review":{"type":"object","properties":{"reviewer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"pull_request":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"body":{"type":"null"},"head":{"type":"string"},"base":{"type":"string"},"is_original":{"type":"boolean"},"index":{"type":"integer"},"status":{"type":"string"},"issue":{"type":"object","properties":{"id":{"type":"integer"},"author":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"priority":{"type":"null"},"version":{"type":"null"},"journals_count":{"type":"integer"},"issue_tags":{"type":"null"}},"required":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-orders":["id","author","priority","version","journals_count","issue_tags"],"x-apifox-ignore-properties":[]},"reviewers":{"type":"array","items":{"type":"string"}},"journals_count":{"type":"integer"}},"required":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-orders":["id","title","body","head","base","is_original","index","status","issue","reviewers","journals_count"],"x-apifox-ignore-properties":[]},"id":{"type":"integer"},"commit_id":{"type":"string"},"content":{"type":"string"},"status":{"type":"string"},"created_at":{"type":"string"}},"required":["reviewer","pull_request","id","commit_id","content","status","created_at"],"x-apifox-orders":["reviewer","pull_request","id","commit_id","content","status","created_at"],"title":"评论所属评审","x-apifox-ignore-properties":[]},"resolveer":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论解决者","x-apifox-ignore-properties":[]},"resolve_at":{"type":"string","title":"评论解决时间"},"created_at":{"type":"string","title":"评论创建时间"},"updated_at":{"type":"string","title":"评论更新时间"}},"required":["id","note","commit_id","line_code","path","diff","need_respond","state","user","review","resolveer","resolve_at","created_at","updated_at","parent_id"],"x-apifox-orders":["id","note","commit_id","line_code","path","diff","need_respond","state","parent_id","user","review","resolveer","resolve_at","created_at","updated_at"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"id":200,"note":"测试评论修改","commit_id":null,"line_code":"70eede447ccc01c1902260fd377af5d90be28e0d_0_29","path":"Gemfile.lock","diff":{},"need_respond":true,"state":"resolved","user":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"review":{"reviewer":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"pull_request":{"id":163,"title":"新合并请求1","body":null,"head":"master_1","base":"master","is_original":false,"index":1,"status":"closed","issue":{"id":260,"author":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"priority":null,"version":null,"journals_count":0,"issue_tags":null},"reviewers":[],"journals_count":9},"id":10,"commit_id":"1","content":"新建一个审查","status":"common","created_at":"2022-07-26 11:45"},"resolveer":{"id":2,"type":"User","name":"heh","login":"yystopf","image_url":"system/lets/letter_avatars/2/H/188_239_142/120.png"},"resolve_at":"2022-07-27 14:50","created_at":"2022-07-27 14:31","updated_at":"2022-07-27 14:50"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130171580-run","security":[]},"delete":{"summary":"删除一个合并请求评论","x-apifox-folder":"合并请求","x-apifox-status":"released","deprecated":false,"description":"","tags":["合并请求"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"合并请求序号","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"评论ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130173917-run","security":[]}},"/api/users/{owner}/template_message_settings/update_setting":{"post":{"summary":"用户消息设置更新","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"setting":{"type":"object","properties":{"notification_body":{"type":"object","properties":{"CreateOrAssign::IssueAssigned":{"type":"boolean"},"CreateOrAssign::PullRequestAssigned":{"type":"boolean"},"ManageProject::Issue":{"type":"boolean"},"ManageProject::PullRequest":{"type":"boolean"},"ManageProject::Member":{"type":"boolean"},"ManageProject::SettingChanged":{"type":"boolean"},"Normal::Organization":{"type":"boolean"},"Normal::Project":{"type":"boolean"},"Normal::Permission":{"type":"boolean"}},"required":["CreateOrAssign::IssueAssigned","CreateOrAssign::PullRequestAssigned","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","Normal::Organization","Normal::Project","Normal::Permission"],"x-apifox-orders":["CreateOrAssign::IssueAssigned","CreateOrAssign::PullRequestAssigned","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","Normal::Organization","Normal::Project","Normal::Permission"],"x-apifox-ignore-properties":[]},"email_body":{"type":"object","properties":{"CreateOrAssign::IssueAssigned":{"type":"boolean"},"CreateOrAssign::PullRequestAssigned":{"type":"boolean"},"ManageProject::Issue":{"type":"boolean"},"ManageProject::PullRequest":{"type":"boolean"},"ManageProject::Member":{"type":"boolean"},"ManageProject::SettingChanged":{"type":"boolean"},"Normal::Organization":{"type":"boolean"},"Normal::Project":{"type":"boolean"},"Normal::Permission":{"type":"boolean"}},"required":["CreateOrAssign::IssueAssigned","CreateOrAssign::PullRequestAssigned","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","Normal::Organization","Normal::Project","Normal::Permission"],"x-apifox-orders":["CreateOrAssign::IssueAssigned","CreateOrAssign::PullRequestAssigned","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","Normal::Organization","Normal::Project","Normal::Permission"],"x-apifox-ignore-properties":[]}},"required":["notification_body","email_body"],"x-apifox-orders":["notification_body","email_body"],"x-apifox-ignore-properties":[]}},"required":["setting"],"x-apifox-orders":["setting"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]},"notification_body":{"type":"object","properties":{"Normal::Permission":{"type":"boolean"},"Normal::Project":{"type":"boolean"},"Normal::Organization":{"type":"boolean"},"Normal::IssueAssigned":{"type":"boolean"},"Normal::PullRequestAssigned":{"type":"boolean"},"CreateOrAssign::IssueChanged":{"type":"boolean"},"CreateOrAssign::PullRequestChanged":{"type":"boolean"},"CreateOrAssign::IssueExpire":{"type":"boolean"},"ManageProject::Issue":{"type":"boolean"},"ManageProject::PullRequest":{"type":"boolean"},"ManageProject::Member":{"type":"boolean"},"ManageProject::SettingChanged":{"type":"boolean"},"ManageProject::Praised":{"type":"boolean"},"ManageProject::Forked":{"type":"boolean"},"ManageProject::Milestone":{"type":"boolean"},"ManageProject::MilestoneCompleted":{"type":"boolean"}},"required":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"x-apifox-orders":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"description":"站内信消息配置","x-apifox-ignore-properties":[]},"email_body":{"type":"object","properties":{"Normal::Permission":{"type":"boolean"},"Normal::Project":{"type":"boolean"},"Normal::Organization":{"type":"boolean"},"Normal::IssueAssigned":{"type":"boolean"},"Normal::PullRequestAssigned":{"type":"boolean"},"CreateOrAssign::IssueChanged":{"type":"boolean"},"CreateOrAssign::PullRequestChanged":{"type":"boolean"},"CreateOrAssign::IssueExpire":{"type":"boolean"},"ManageProject::Issue":{"type":"boolean"},"ManageProject::PullRequest":{"type":"boolean"},"ManageProject::Member":{"type":"boolean"},"ManageProject::SettingChanged":{"type":"boolean"},"ManageProject::Praised":{"type":"boolean"},"ManageProject::Forked":{"type":"boolean"},"ManageProject::Milestone":{"type":"boolean"},"ManageProject::MilestoneCompleted":{"type":"boolean"}},"required":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"x-apifox-orders":["Normal::Permission","Normal::Project","Normal::Organization","Normal::IssueAssigned","Normal::PullRequestAssigned","CreateOrAssign::IssueChanged","CreateOrAssign::PullRequestChanged","CreateOrAssign::IssueExpire","ManageProject::Issue","ManageProject::PullRequest","ManageProject::Member","ManageProject::SettingChanged","ManageProject::Praised","ManageProject::Forked","ManageProject::Milestone","ManageProject::MilestoneCompleted"],"description":"邮件消息配置","x-apifox-ignore-properties":[]}},"required":["status","message","user","notification_body","email_body"],"x-apifox-orders":["status","message","user","notification_body","email_body"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"响应成功","user":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"notification_body":{"Normal::Permission":true,"Normal::Project":true,"Normal::Organization":true,"Normal::IssueAssigned":true,"Normal::PullRequestAssigned":true,"CreateOrAssign::IssueChanged":true,"CreateOrAssign::PullRequestChanged":true,"CreateOrAssign::IssueExpire":true,"ManageProject::Issue":true,"ManageProject::PullRequest":true,"ManageProject::Member":true,"ManageProject::SettingChanged":true,"ManageProject::Praised":true,"ManageProject::Forked":true,"ManageProject::Milestone":true,"ManageProject::MilestoneCompleted":true},"email_body":{"Normal::Permission":false,"Normal::Project":false,"Normal::Organization":false,"Normal::IssueAssigned":false,"Normal::PullRequestAssigned":false,"CreateOrAssign::IssueChanged":false,"CreateOrAssign::PullRequestChanged":false,"CreateOrAssign::IssueExpire":false,"ManageProject::Issue":false,"ManageProject::PullRequest":false,"ManageProject::Member":false,"ManageProject::SettingChanged":false,"ManageProject::Praised":false,"ManageProject::Forked":false,"ManageProject::Milestone":false,"ManageProject::MilestoneCompleted":false}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-99669647-run","security":[]}},"/api/v1/{owner}/{repo}/issues/{index}/journals/{id}":{"patch":{"summary":"修改疑修评论的内容","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"notes":{"type":"string"},"attachment_ids":{"type":"array","items":{"type":"integer"}}},"required":["notes","attachment_ids"],"x-apifox-orders":["notes","attachment_ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","description":"评论ID"},"is_journal_detail":{"type":"boolean","description":"是否为操作记录"},"created_at":{"type":"string","description":"评论创建时间"},"updated_at":{"type":"string","description":"评论更新时间"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"description":"评论用户","x-apifox-ignore-properties":[]},"notes":{"type":"string","description":"评论内容"},"comments_count":{"type":"integer","description":"子评论数量"},"children_journals":{"type":"array","items":{"type":"string"},"description":"子评论内容"}},"required":["id","is_journal_detail","created_at","updated_at","user","notes","comments_count","children_journals"],"x-apifox-orders":["id","is_journal_detail","created_at","updated_at","user","notes","comments_count","children_journals"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":58,"is_journal_detail":false,"created_at":"2023-02-18 22:41","updated_at":"2023-02-18 23:00","user":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"notes":"dskflsk","comments_count":0,"children_journals":[]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027805-run","security":[]},"delete":{"summary":"删除一个疑修评论","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027807-run","security":[]}},"/api/users/{owner}/is_pinned_projects":{"get":{"summary":"用户星标项目列表","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"星标项目ID"},"identifier":{"type":"string","title":"项目标识"},"name":{"type":"string","title":"项目名称"},"description":{"type":"string","title":"项目描述"},"visits":{"type":"integer","title":"项目访问数"},"praises_count":{"type":"integer","title":"项目点赞数"},"watchers_count":{"type":"integer","title":"项目关注数"},"issues_count":{"type":"integer","title":"项目疑修数"},"pull_requests_count":{"type":"integer","title":"项目合并请求数"},"forked_count":{"type":"integer","title":"项目复刻数量"},"is_public":{"type":"boolean","title":"项目是否公开"},"mirror_url":{"type":"null","title":"项目镜像地址"},"type":{"type":"integer","title":"项目类型","description":"0普通项目 1 普通镜像项目 2 同步镜像项目"},"last_update_time":{"type":"integer","title":"项目上次更新时间戳"},"time_ago":{"type":"string","title":"项目上次更新时间"},"forked_from_project_id":{"type":"null","title":"项目fork项目ID"},"open_devops":{"type":"boolean","title":"是否开启流水线"},"platform":{"type":"string","title":"项目平台"},"is_pinned":{"type":"boolean","title":"是否为精选项目"},"author":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["name","type","login","image_url"],"x-apifox-orders":["name","type","login","image_url"],"title":"项目拥有着","x-apifox-ignore-properties":[]},"category":{"type":"null","title":"项目分类"},"language":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"项目语言","x-apifox-ignore-properties":[],"nullable":true},"topics":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]},"title":"项目搜索标签","nullable":true},"position":{"type":"integer","title":"项目排序"},"project_id":{"type":"integer","title":"项目ID"}},"x-apifox-orders":["id","identifier","name","description","visits","praises_count","watchers_count","issues_count","pull_requests_count","forked_count","is_public","mirror_url","type","last_update_time","time_ago","forked_from_project_id","open_devops","platform","is_pinned","author","category","language","topics","position","project_id"],"required":["project_id"],"x-apifox-ignore-properties":[]}}},"required":["total_count","projects"],"x-apifox-orders":["total_count","projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"projects":[{"id":1,"repo_id":17,"identifier":"testdevops","name":"testdevops","description":"","visits":8,"praises_count":0,"watchers_count":0,"issues_count":1,"pull_requests_count":0,"forked_count":0,"is_public":true,"mirror_url":null,"type":0,"last_update_time":1688266261,"time_ago":"1个月前","forked_from_project_id":null,"open_devops":false,"platform":"forge","is_pinned":true,"author":{"name":"咸蛋黄土豆丝xxx","type":"User","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"category":null,"language":{"id":8,"name":"JavaScript"},"topics":[{"id":8,"name":"javascript"},{"id":7,"name":"python"}],"position":0,"project_id":17}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100229455-run","security":[]}},"/api/v1/{owner}/{repo}/issues/{index}/journals/{id}/children_journals":{"get":{"summary":"获取疑修评论的子评论列表","x-apifox-folder":"疑修","x-apifox-status":"released","deprecated":false,"description":"","tags":["疑修"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"index","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"","required":false,"schema":{"type":"integer"}},{"name":"keyword","in":"query","description":"搜索关键词,可搜索评论内容","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"journals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"notes":{"type":"string","title":"评论内容"},"comments_count":{"type":"integer","title":"子评论数量"},"created_at":{"type":"string","title":"创建时间"},"updated_at":{"type":"string","title":"更新时间"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"评论的用户","x-apifox-ignore-properties":[]},"reply_user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"回复的用户","x-apifox-ignore-properties":[]}},"x-apifox-orders":["id","notes","comments_count","created_at","updated_at","user","reply_user"],"x-apifox-ignore-properties":[]}}},"required":["total_count","journals"],"x-apifox-orders":["total_count","journals"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":2,"journals":[{"id":58,"notes":"dskflsk","comments_count":0,"created_at":"2023-02-18 22:41","updated_at":"2023-02-18 23:00","user":{"id":110,"type":"User","name":"咸蛋黄土豆丝","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"reply_user":{"id":115,"type":"User","name":"嘿嘿嘿","login":"yystopf123","image_url":"system/lets/letter_avatars/2/Y/172_132_85/120.png"}}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-76027808-run","security":[]}},"/api/users/{owner}/is_pinned_projects/pin":{"post":{"summary":"用户星标项目更新","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"is_pinned_project_ids":{"type":"array","items":{"type":"integer"}}},"required":["is_pinned_project_ids"],"x-apifox-orders":["is_pinned_project_ids"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100234940-run","security":[]}},"/api/users/{owner}/is_pinned_projects/{id}":{"put":{"summary":"用户星标项目排序","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"星标项目ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"pinned_project":{"type":"object","properties":{"position":{"type":"integer","title":"排序大小,数字越大,排名越靠前"}},"required":["position"],"x-apifox-orders":["position"],"x-apifox-ignore-properties":[]}},"required":["pinned_project"],"x-apifox-orders":["pinned_project"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100236125-run","security":[]}},"/api/users/{owner}/statistics/activity":{"get":{"summary":"用户近期活动统计","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"dates":{"type":"array","items":{"type":"string"},"title":"日期"},"issues_count":{"type":"array","items":{"type":"integer"},"title":"疑修数量"},"pull_requests_count":{"type":"array","items":{"type":"integer"},"title":"合并请求数量"},"commits_count":{"type":"array","items":{"type":"integer"},"title":"代码提交数量"}},"required":["dates","issues_count","pull_requests_count","commits_count"],"x-apifox-orders":["dates","issues_count","pull_requests_count","commits_count"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"dates":["2023.07.27","2023.07.28","2023.07.29","2023.07.30","2023.07.31","2023.08.01","2023.08.02","2023.08.03"],"issues_count":[0,0,0,0,0,0,0,0],"pull_requests_count":[0,0,0,0,0,0,0,0],"commits_count":[0,0,0,0,0,0,0,0]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100238414-run","security":[]}},"/api/users/{owner}/headmaps":{"get":{"summary":"用户贡献度统计","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"year","in":"query","description":"年份","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_contributions":{"type":"integer","title":"日期范围内提交总数"},"headmaps":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","title":"日期"},"contributions":{"type":"integer","title":"贡献度"}},"required":["date","contributions"],"x-apifox-orders":["date","contributions"],"x-apifox-ignore-properties":[]},"title":""}},"required":["total_contributions","headmaps"],"x-apifox-orders":["total_contributions","headmaps"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_contributions":12,"headmaps":[{"date":"2023-01-05","contributions":2},{"date":"2023-01-06","contributions":1},{"date":"2023-01-11","contributions":6},{"date":"2023-04-17","contributions":1},{"date":"2023-07-02","contributions":2}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100239110-run","security":[]}},"/api/users/{owner}/statistics/develop":{"get":{"summary":"用户开发能力","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"start_time","in":"query","description":"开始时间戳","required":false,"example":"1659507208","schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"结束时间戳","required":false,"example":"1691043164","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"platform":{"type":"object","properties":{"influence":{"type":"integer","title":"平台影响力"},"contribution":{"type":"integer","title":"平台贡献度"},"activity":{"type":"integer","title":"平台活跃度"},"experience":{"type":"integer","title":"平台项目经验"},"language":{"type":"integer","title":"平台语言能力"}},"required":["influence","contribution","activity","experience","language"],"x-apifox-orders":["influence","contribution","activity","experience","language"],"x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"influence":{"type":"integer","title":"用户影响力"},"contribution":{"type":"integer","title":"用户贡献度"},"activity":{"type":"integer","title":"用户活跃度"},"experience":{"type":"integer","title":"用户项目经验"},"language":{"type":"integer","title":"用户语言能力"},"languages_percent":{"type":"object","properties":{"JSX":{"type":"number"},"Python":{"type":"number"},"JavaScript":{"type":"number"},"Markdown":{"type":"number"},"Yaml":{"type":"number"}},"required":["JSX","Python","JavaScript","Markdown","Yaml"],"x-apifox-orders":["JSX","Python","JavaScript","Markdown","Yaml"],"title":"用户语言百分比","x-apifox-ignore-properties":[]},"each_language_score":{"type":"object","properties":{"JSX":{"type":"integer"},"Python":{"type":"integer"},"JavaScript":{"type":"integer"},"Markdown":{"type":"integer"},"Yaml":{"type":"integer"}},"required":["JSX","Python","JavaScript","Markdown","Yaml"],"x-apifox-orders":["JSX","Python","JavaScript","Markdown","Yaml"],"title":"用户各门语言分数","x-apifox-ignore-properties":[]}},"required":["influence","contribution","activity","experience","language","languages_percent","each_language_score"],"x-apifox-orders":["influence","contribution","activity","experience","language","languages_percent","each_language_score"],"x-apifox-ignore-properties":[]}},"required":["platform","user"],"x-apifox-orders":["platform","user"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"platform":{"influence":60,"contribution":78,"activity":94,"experience":88,"language":81},"user":{"influence":60,"contribution":78,"activity":94,"experience":87,"language":80,"languages_percent":{"JSX":0.06,"Python":0.31,"JavaScript":0.5,"Markdown":0.06,"Yaml":0.06},"each_language_score":{"JSX":66,"Python":80,"JavaScript":84,"Markdown":66,"Yaml":66}}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100242043-run","security":[]}},"/api/users/{owner}/statistics/role":{"get":{"summary":"用户角色定位","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"start_time","in":"query","description":"开始时间戳","required":false,"example":"1659507208","schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"结束时间戳","required":false,"example":"1691043164","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_projects_count":{"type":"integer"},"role":{"type":"object","properties":{"owner":{"type":"object","properties":{"count":{"type":"integer","title":"用户角色为拥有者数量"},"percent":{"type":"integer","title":"用户角色为拥有者占比"}},"required":["count","percent"],"x-apifox-orders":["count","percent"],"x-apifox-ignore-properties":[]},"manager":{"type":"object","properties":{"count":{"type":"integer","title":"用户角色为管理员数量"},"percent":{"type":"integer","title":"用户角色为管理员占比"}},"required":["count","percent"],"x-apifox-orders":["count","percent"],"title":"","x-apifox-ignore-properties":[]},"developer":{"type":"object","properties":{"count":{"type":"integer","title":"用户角色为开发者数量"},"percent":{"type":"integer","title":"用户角色为开发者占比"}},"required":["count","percent"],"x-apifox-orders":["count","percent"],"x-apifox-ignore-properties":[]},"reporter":{"type":"object","properties":{"count":{"type":"integer","title":"用户角色为报告者数量"},"percent":{"type":"integer","title":"用户角色为报告者占比"}},"required":["count","percent"],"x-apifox-orders":["count","percent"],"title":"","x-apifox-ignore-properties":[]}},"required":["owner","manager","developer","reporter"],"x-apifox-orders":["owner","manager","developer","reporter"],"title":"","x-apifox-ignore-properties":[]}},"required":["total_projects_count","role"],"x-apifox-orders":["total_projects_count","role"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_projects_count":25,"role":{"owner":{"count":25,"percent":1},"manager":{"count":0,"percent":0},"developer":{"count":0,"percent":0},"reporter":{"count":0,"percent":0}}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100245084-run","security":[]}},"/api/users/{owner}/statistics/major":{"get":{"summary":"用户专业定位","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"start_time","in":"query","description":"开始时间戳","required":false,"example":"1659507208","schema":{"type":"integer"}},{"name":"end_time","in":"query","description":"结束时间戳","required":false,"example":"1691043164","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"string"},"title":"项目分类数组"}},"required":["categories"],"x-apifox-orders":["categories"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"categories":["深度学习","量子计算","智慧医疗"]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100790543-run","security":[]}},"/api/users/{owner}/applied_transfer_projects":{"get":{"summary":"待办事项-接受项目","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"example":"1","schema":{"type":"integer"}},{"name":"per_page","in":"query","description":"每页个数","required":false,"example":"15","schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"applied_transfer_projects":{"type":"array","items":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer","title":"迁移项目ID"},"identifier":{"type":"string","title":"迁移项目标识"},"name":{"type":"string","title":"迁移项目名称"},"description":{"type":"null","title":"迁移项目的描述"},"is_public":{"type":"boolean","title":"迁移项目是否公开"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"null"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移项目拥有者","x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"迁移项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移创建者","x-apifox-ignore-properties":[]},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"null"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移接收者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"项目迁移ID"},"status":{"type":"string","title":"迁移状态","description":"canceled:取消,common:正在迁移, accept:已接受,refuse:已拒绝"},"created_at":{"type":"string","title":"迁移创建的时间"},"time_ago":{"type":"string","title":"迁移创建的时间"}},"x-apifox-orders":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-ignore-properties":[]}}},"required":["total_count","applied_transfer_projects"],"x-apifox-orders":["total_count","applied_transfer_projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":3,"applied_transfer_projects":[{"project":{"id":12,"identifier":"ceshi","name":"ceshi","description":null,"is_public":true,"owner":{"id":114,"type":"Organization","name":"测试组织test","login":"test_org","image_url":null}},"user":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"},"owner":{"id":114,"type":"Organization","name":"测试组织test","login":"test_org","image_url":null},"id":5,"status":"accepted","created_at":"2022-10-27 10:47","time_ago":"9个月前"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100793695-run","security":[]}},"/api/users/{owner}/applied_transfer_projects/{id}/accept":{"post":{"summary":"用户接受迁移","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"迁移ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"迁移项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移创建者","x-apifox-ignore-properties":[]},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移接收者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"迁移ID"},"status":{"type":"string","title":"迁移状态","description":"canceled:取消,common:正在迁移, accept:已接受,refuse:已拒绝"},"created_at":{"type":"string","title":"迁移创建时间"},"time_ago":{"type":"string","title":"迁移创建时间"}},"required":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-orders":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"project":{"id":86,"identifier":"ceshi_repo1","name":"测试项目啊1","description":"二十多","is_public":true,"owner":{"id":52,"type":"Organization","name":"身份卡手动阀","login":"ceshi1","image_url":"images/avatars/Organization/52?t=1618805056"}},"user":{"id":6,"type":"User","name":"yystopf","login":"yystopf","image_url":"system/lets/letter_avatars/2/Y/241_125_89/120.png"},"owner":{"id":52,"type":"Organization","name":"身份卡手动阀","login":"ceshi1","image_url":"images/avatars/Organization/52?t=1618805056"},"id":1,"status":"canceled","created_at":"2021-04-25 18:06","time_ago":"16小时前"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100794239-run","security":[]}},"/api/users/{owner}/applied_transfer_projects/{id}/refuse":{"post":{"summary":"用户拒绝迁移","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"迁移ID","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"迁移项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移创建者","x-apifox-ignore-properties":[]},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移接收者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"迁移ID"},"status":{"type":"string","title":"迁移状态","description":"canceled:取消,common:正在迁移, accept:已接受,refuse:已拒绝"},"created_at":{"type":"string","title":"迁移创建时间"},"time_ago":{"type":"string","title":"迁移创建时间"}},"required":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-orders":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"project":{"id":86,"identifier":"ceshi_repo1","name":"测试项目啊1","description":"二十多","is_public":true,"owner":{"id":52,"type":"Organization","name":"身份卡手动阀","login":"ceshi1","image_url":"images/avatars/Organization/52?t=1618805056"}},"user":{"id":6,"type":"User","name":"yystopf","login":"yystopf","image_url":"system/lets/letter_avatars/2/Y/241_125_89/120.png"},"owner":{"id":52,"type":"Organization","name":"身份卡手动阀","login":"ceshi1","image_url":"images/avatars/Organization/52?t=1618805056"},"id":1,"status":"canceled","created_at":"2021-04-25 18:06","time_ago":"16小时前"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100794866-run","security":[]}},"/api/applied_projects":{"post":{"summary":"加入项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"applied_project":{"type":"object","properties":{"code":{"type":"string"},"role":{"type":"string"}},"required":["code","role"],"x-apifox-orders":["code","role"],"x-apifox-ignore-properties":[]}},"required":["applied_project"],"x-apifox-orders":["applied_project"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"null"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"申请加入的项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"申请者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"申请ID"},"status":{"type":"string","title":"申请状态","description":"canceled:取消,common:正在申请, accept:已接受,refuse:已拒绝"},"role":{"type":"string","title":"申请的角色"},"created_at":{"type":"string","title":"申请创建时间"},"time_ago":{"type":"string","title":"申请创建时间"}},"required":["project","user","id","status","role","created_at","time_ago"],"x-apifox-orders":["project","user","id","status","role","created_at","time_ago"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"project":{"id":17,"identifier":"testdevops","name":"testdevops","description":null,"is_public":true,"owner":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}},"user":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"id":1,"status":"common","role":"developer","created_at":"2023-08-05 18:27","time_ago":"刚刚"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100795659-run","security":[]}},"/api/users/{owner}/applied_projects":{"get":{"summary":"待办事项-项目申请","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"schema":{"type":"integer"}},{"name":"per_page","in":"query","description":"每页个数","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"applied_projects":{"type":"array","items":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"null"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"申请加入的项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"申请者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"申请ID"},"status":{"type":"string","title":"申请状态","description":"canceled:取消,common:正在申请, accept:已接受,refuse:已拒绝","enum":["canceled","common","accept","refuse"],"x-apifox":{"enumDescriptions":{"canceled":"取消","common":"正在申请","accept":"已接受","refuse":"已拒绝"}}},"role":{"type":"string","title":"申请角色","description":"manager: 管理员,developer:开发者,reporter:报告者","enum":["manager","developer","reporter"],"x-apifox":{"enumDescriptions":{"manager":"管理员","developer":"开发者","reporter":"报告者"}}},"created_at":{"type":"string","title":"申请创建时间"},"time_ago":{"type":"string","title":"申请创建时间"}},"x-apifox-orders":["project","user","id","status","role","created_at","time_ago"],"x-apifox-ignore-properties":[]}}},"required":["total_count","applied_projects"],"x-apifox-orders":["total_count","applied_projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":1,"applied_projects":[{"project":{"id":17,"identifier":"testdevops","name":"testdevops","description":null,"is_public":true,"owner":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}},"user":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"id":1,"status":"common","role":"developer","created_at":"2023-08-05 18:27","time_ago":"5分钟前"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796144-run","security":[]}},"/api/users/{owner}/applied_projects/{id}/accept":{"post":{"summary":"用户接受申请","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"applied_projects":{"type":"array","items":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"null"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"申请加入的项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"申请者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"申请ID"},"status":{"type":"string","title":"申请状态","description":"canceled:取消,common:正在申请, accept:已接受,refuse:已拒绝","enum":["canceled","common","accept","refuse"],"x-apifox":{"enumDescriptions":{"canceled":"取消","common":"正在申请","accept":"已接受","refuse":"已拒绝"}}},"role":{"type":"string","title":"申请角色","description":"manager: 管理员,developer:开发者,reporter:报告者","enum":["manager","developer","reporter"],"x-apifox":{"enumDescriptions":{"manager":"管理员","developer":"开发者","reporter":"报告者"}}},"created_at":{"type":"string","title":"申请创建时间"},"time_ago":{"type":"string","title":"申请创建时间"}},"x-apifox-orders":["project","user","id","status","role","created_at","time_ago"],"x-apifox-ignore-properties":[]}}},"required":["total_count","applied_projects"],"x-apifox-orders":["total_count","applied_projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"project":{"id":17,"identifier":"testdevops","name":"testdevops","description":null,"is_public":true,"owner":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}},"user":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"id":1,"status":"accepted","role":"developer","created_at":"2023-08-05 18:27","time_ago":"14分钟前"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796628-run","security":[]}},"/api/projects":{"get":{"summary":"项目列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"page","in":"query","description":"","required":false,"example":"1","schema":{"type":"integer"}},{"name":"limit","in":"query","description":"","required":false,"example":"20","schema":{"type":"integer"}},{"name":"sort_by","in":"query","description":"排序方式。desc 倒序,asc正序","required":false,"example":"desc","schema":{"type":"string"}},{"name":"sort_direction","in":"query","description":"排序字段。updated_on 更新时间,created_on 创建时间,forked_count fork数量,praises_count 点赞数量,不填为updated_on","required":false,"example":"created_on","schema":{"type":"string"}},{"name":"search","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"category_id","in":"query","description":"项目分类id","required":false,"schema":{"type":"string"}},{"name":"language_id","in":"query","description":"项目语言id","required":false,"schema":{"type":"string"}},{"name":"project_type","in":"query","description":"项目类型。common 普通项目,mirror 镜像项目,sync_mirror 同步镜像项目","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"项目ID"},"identifier":{"type":"string","title":"项目标识"},"name":{"type":"string","title":"项目名称"},"description":{"type":"string","title":"项目描述"},"visits":{"type":"integer","title":"项目访问数量"},"praises_count":{"type":"integer","title":"项目点赞数量"},"forked_count":{"type":"integer","title":"项目fork数量"},"is_public":{"type":"boolean","title":"项目是否为公开项目"},"mirror_url":{"type":"string","title":"镜像地址"},"type":{"type":"integer","title":"项目类型","description":"1:普通项目 2: 镜像项目 3: 同步镜像项目"},"last_update_time":{"type":"integer","title":"上次更新时间"},"time_ago":{"type":"string","title":"上次更新时间距离现在时间差"},"forked_from_project_id":{"type":"null","title":"源fork项目id"},"open_devops":{"type":"boolean","title":"是否开启devops"},"platform":{"type":"string","title":"项目平台","description":"forge、educoder"},"author":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["type","name","login","image_url"],"x-apifox-orders":["type","name","login","image_url"],"title":"项目拥有者","x-apifox-ignore-properties":[]},"category":{"type":"null","title":"项目分类"},"language":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"title":"项目语言","x-apifox-ignore-properties":[]},"topics":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]},"title":"项目搜索标签列表"}},"x-apifox-orders":["id","identifier","name","description","visits","praises_count","forked_count","is_public","mirror_url","type","last_update_time","time_ago","forked_from_project_id","open_devops","platform","author","category","language","topics"],"x-apifox-ignore-properties":[]}}},"required":["total_count","projects"],"x-apifox-orders":["total_count","projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":21,"projects":[{"id":2,"repo_id":2,"identifier":"yolk","name":"yolk","description":"","visits":7,"praises_count":0,"forked_count":0,"is_public":true,"mirror_url":"https://github.com/viletyy/yolk.git","type":1,"last_update_time":1663725968,"time_ago":"11个月前","forked_from_project_id":null,"open_devops":false,"platform":"forge","author":{"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"category":null,"language":{"id":13,"name":"JSX"},"topics":[{"id":6,"name":"go"}]}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-102299292-run","security":[]},"post":{"summary":"创建项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer","title":"用户或组织ID"},"name":{"type":"string","title":"项目名称"},"description":{"type":"string","title":"项目描述"},"repository_name":{"type":"string","title":"项目标识"},"project_category_id":{"type":"integer","title":"项目分类ID"},"project_language_id":{"type":"integer","title":"项目语言ID"},"ignore_id":{"type":"integer","title":"项目忽略文件ID"},"license_id":{"type":"integer","title":"项目许可证ID"},"private":{"type":"boolean","title":"项目是否为私有项目"},"blockchain":{"type":"boolean","title":"是否为区块链激励项目"},"blockchain_token_all":{"type":"integer","title":"区块链激励金额总数"}},"required":["user_id","name","repository_name"],"x-apifox-orders":["user_id","name","description","repository_name","project_category_id","project_language_id","ignore_id","license_id","private","blockchain","blockchain_token_all"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"项目ID"},"name":{"type":"string","title":"项目名称"},"identifier":{"type":"string","title":"项目标识"},"login":{"type":"string","title":"项目拥有者标识"}},"required":["id","name","identifier","login"],"x-apifox-orders":["id","name","identifier","login"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":46,"name":"ceshi","identifier":"ceshi","login":"yystopfceshi"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118622267-run","security":[]}},"/api/users/{owner}/applied_projects/{id}/refuse":{"post":{"summary":"用户拒绝申请","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"applied_projects":{"type":"array","items":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"null"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"申请加入的项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"申请者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"申请ID"},"status":{"type":"string","title":"申请状态","description":"canceled:取消,common:正在申请, accept:已接受,refuse:已拒绝","enum":["canceled","common","accept","refuse"],"x-apifox":{"enumDescriptions":{"canceled":"取消","common":"正在申请","accept":"已接受","refuse":"已拒绝"}}},"role":{"type":"string","title":"申请角色","description":"manager: 管理员,developer:开发者,reporter:报告者","enum":["manager","developer","reporter"],"x-apifox":{"enumDescriptions":{"manager":"管理员","developer":"开发者","reporter":"报告者"}}},"created_at":{"type":"string","title":"申请创建时间"},"time_ago":{"type":"string","title":"申请创建时间"}},"x-apifox-orders":["project","user","id","status","role","created_at","time_ago"],"x-apifox-ignore-properties":[]}}},"required":["total_count","applied_projects"],"x-apifox-orders":["total_count","applied_projects"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"project":{"id":17,"identifier":"testdevops","name":"testdevops","description":null,"is_public":true,"owner":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}},"user":{"id":110,"type":"User","name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"id":1,"status":"accepted","role":"developer","created_at":"2023-08-05 18:27","time_ago":"14分钟前"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796655-run","security":[]}},"/api/projects/recommend":{"get":{"summary":"推荐项目列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"项目ID"},"identifier":{"type":"string","title":"项目标识"},"name":{"type":"string","title":"项目名称"},"visits":{"type":"integer","title":"项目访问数"},"author":{"type":"object","properties":{"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["name","login","image_url"],"x-apifox-orders":["name","login","image_url"],"title":"项目拥有者","x-apifox-ignore-properties":[]},"category":{"type":"null","title":"项目分类"}},"x-apifox-orders":["id","identifier","name","visits","author","category"],"x-apifox-ignore-properties":[]}},"examples":{"1":{"summary":"成功示例 ","value":[{"id":2,"repo_id":2,"identifier":"yolk","name":"yolk","visits":7,"author":{"name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"category":null}]}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-102300076-run","security":[]}},"/api/v1/{owner}/send_email_vefify_code.json":{"get":{"summary":"用户发送邮箱验证码","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"code_type":{"type":"integer","title":"验证码类型","description":"10: 更新邮箱"},"email":{"type":"string","title":"邮箱"},"smscode":{"type":"string","title":"邮箱md5加密值"}},"required":["code_type","email","smscode"],"x-apifox-orders":["code_type","email","smscode"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796697-run","security":[]}},"/api/{owner}/{repo}/menu_list":{"get":{"summary":"项目导航列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"menu_name":{"type":"string","enum":["home","code","issues","pulls","devops","versions","wiki","services","activity","setting"],"x-apifox":{"enumDescriptions":{"home":"主页","code":"代码库","issues":"疑修","pulls":"合并请求","devops":"工作流","versions":"里程碑","wiki":"维基","services":"服务","activity":"动态","setting":"仓库设置"}}}},"required":["menu_name"],"x-apifox-orders":["menu_name"],"x-apifox-ignore-properties":[]}},"examples":{"1":{"summary":"成功示例 ","value":[{"menu_name":"home"},{"menu_name":"code"},{"menu_name":"issues"},{"menu_name":"pulls"},{"menu_name":"devops"},{"menu_name":"versions"},{"menu_name":"wiki"},{"menu_name":"resources"},{"menu_name":"activity"},{"menu_name":"settings"}]}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-102303158-run","security":[]}},"/api/{owner}/{repo}/project_units":{"get":{"summary":"项目设置-项目导航","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"array","items":{"type":"string","enum":["code","issues","pulls","wiki","devops","versions","services"],"x-apifox":{"enumDescriptions":{"code":"代码库","issues":"疑修","pulls":"合并请求","wiki":"维基","devops":"工作流","versions":"里程碑","services":"服务"}}}},"examples":{"1":{"summary":"成功示例 ","value":["code","issues","pulls","wiki","devops","versions","resources"]}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-102304019-run","security":[]},"post":{"summary":"项目设置-更改项目导航","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"unit_types":{"type":"array","items":{"type":"string","enum":["code","issues","pulls","devops","versions","wiki","services"],"x-apifox":{"enumDescriptions":{"code":"代码库","issues":"疑修","pulls":"合并请求","devops":"工作流","versions":"里程碑","wiki":"维基","services":"服务"}}}}},"required":["unit_types"],"x-apifox-orders":["unit_types"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-102304885-run","security":[]}},"/api/v1/{owner}/check_email_verify_code":{"post":{"summary":"用户验证邮箱验证码","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"code_type":{"type":"integer","title":"验证码类型","description":"10: 更新邮箱"},"email":{"type":"string","title":"邮箱"},"code":{"type":"string","title":"验证码"}},"required":["code_type","email","code"],"x-apifox-orders":["code_type","email","code"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796833-run","security":[]}},"/api/{owner}/{repo}/about":{"get":{"summary":"项目主页","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{},"x-apifox-ignore-properties":[],"x-apifox-orders":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-102303730-run","security":[]}},"/api/v1/{owner}/check_password":{"post":{"summary":"用户验证密码","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"}},"required":["password"],"x-apifox-orders":["password"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}},"2":{"summary":"异常示例 ","value":{"status":-5,"message":"密码错误"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796884-run","security":[]}},"/api/v1/{owner}/check_email":{"post":{"summary":"用户验证邮箱","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"],"x-apifox-orders":["email"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}},"2":{"summary":"异常示例 ","value":{"status":-2,"message":"邮箱已被使用"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796903-run","security":[]}},"/api/{owner}/{repo}/project_invite_links/current_link":{"get":{"summary":"项目邀请链接生成","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"当前登录(管理员)用户获取项目邀请链接的接口(第一次请求会默认生成role类型为developer和is_apply为true的链接)","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"role","in":"query","description":"项目权限,reporter: 报告者, developer: 开发者,manager:管理员","required":true,"example":"developer","schema":{"type":"string"}},{"name":"is_apply","in":"query","description":"是否需要审核","required":true,"example":"true","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":"链接ID"},"role":{"type":"string","title":"邀请的角色"},"is_apply":{"type":"boolean","title":"邀请是否需要审核"},"sign":{"type":"string","title":"邀请标识"},"expired_at":{"type":"string","title":"邀请过期的时间"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"邀请创建者","x-apifox-ignore-properties":[]},"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"null"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"邀请所属项目","x-apifox-ignore-properties":[]}},"required":["id","role","is_apply","sign","expired_at","user","project"],"x-apifox-orders":["id","role","is_apply","sign","expired_at","user","project"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":2,"role":"developer","is_apply":true,"sign":"f5dc6f8191c234fe2bee3e44c7fd770538af3e1db0e34934b9718c325614f578","expired_at":"2023-10-24 16:48","user":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"},"project":{"id":17,"identifier":"testdevops","name":"testdevops","description":null,"is_public":true,"owner":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118617843-run","security":[]}},"/api/v1/{owner}/update_email":{"post":{"summary":"用户更改邮箱","x-apifox-folder":"用户","x-apifox-status":"released","deprecated":false,"description":"","tags":["用户"],"parameters":[{"name":"owner","in":"path","description":"用户标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"},"email":{"type":"string"},"code":{"type":"string"}},"required":["password","email","code"],"x-apifox-orders":["password","email","code"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}},"2":{"summary":"异常示例 ","value":{"status":-2,"message":"邮箱已被使用"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-100796995-run","security":[]}},"/api/v1/{owner}/{repo}/blame":{"get":{"summary":"获取单个文件的blame信息","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"sha","in":"query","description":"分支、标签或提交标识","required":true,"schema":{"type":"string"}},{"name":"filepath","in":"query","description":"文件路径","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"file_size":{"type":"integer","title":"文件大小"},"file_name":{"type":"string","title":"文件名称"},"num_lines":{"type":"integer","title":"文件总行数"},"blame_parts":{"type":"array","items":{"type":"object","properties":{"commit":{"type":"object","properties":{"sha":{"type":"string","title":"标识"},"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"commit_message":{"type":"string","title":"提交信息"},"authored_time":{"type":"integer","title":"编码时间"},"committed_time":{"type":"integer","title":"提交时间"},"created_time":{"type":"integer","title":"创建时间"}},"required":["sha","author","committer","commit_message","authored_time","committed_time","created_time"],"x-apifox-orders":["sha","author","committer","commit_message","authored_time","committed_time","created_time"],"title":"提交","x-apifox-ignore-properties":[]},"previous_number":{"type":"integer","title":"距离当前行有多少行"},"current_number":{"type":"integer","title":"当前行"},"effect_line":{"type":"integer","title":"影响的行数"},"lines":{"type":"array","items":{"type":"string"},"title":"行内容"}},"x-apifox-orders":["commit","previous_number","current_number","effect_line","lines"],"x-apifox-ignore-properties":[]}}},"required":["file_size","file_name","num_lines","blame_parts"],"x-apifox-orders":["file_size","file_name","num_lines","blame_parts"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"file_size":1,"file_name":"1","num_lines":1,"blame_parts":[{"commit":{"sha":"9d8fc7952c7646feb15a2995bf4b58f77edd6953","author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"commit_message":"Add 1\n","authored_time":1701143246,"committed_time":1701143246,"created_time":1701143246},"previous_number":1,"current_number":1,"effect_line":1,"lines":["1"]}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129294464-run","security":[]}},"/api/{owner}/{repo}/project_invite_links/show_link":{"get":{"summary":"获取邀请链接信息","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"用户请求链接时,通过该接口来获取链接的信息","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"invite_sign","in":"query","description":"项目邀请链接的标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","title":""},"role":{"type":"string","title":"邀请角色"},"is_apply":{"type":"boolean","title":"邀请是否需要审核"},"sign":{"type":"string","title":"邀请标识"},"expired_at":{"type":"string","title":"邀请过期的时间"},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"邀请创建者","x-apifox-ignore-properties":[]},"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"null"},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"邀请所属项目","x-apifox-ignore-properties":[]}},"required":["id","role","is_apply","sign","expired_at","user","project"],"x-apifox-orders":["id","role","is_apply","sign","expired_at","user","project"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":2,"role":"developer","is_apply":true,"sign":"f5dc6f8191c234fe2bee3e44c7fd770538af3e1db0e34934b9718c325614f578","expired_at":"2023-10-24 16:48","user":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"},"project":{"id":17,"identifier":"testdevops","name":"testdevops","description":null,"is_public":true,"owner":{"id":113,"type":"User","name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118620134-run","security":[]}},"/api/{owner}/{repo}/project_invite_links/redirect_link":{"post":{"summary":"通过链接接受邀请","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"用户请求链接时,通过该接口来获取链接的信息","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"invite_sign","in":"query","description":"项目邀请链接的标识","required":true,"example":"","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}},"2":{"summary":"异常示例 ","value":{"status":-1,"message":"您已是仓库成员"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118621824-run","security":[]}},"/api/projects/migrate":{"post":{"summary":"创建镜像项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer","title":"用户或者组织ID"},"name":{"type":"string","title":"项目名称"},"clone_addr":{"type":"string","title":"项目Clone地址"},"description":{"type":"string","title":"项目描述"},"repository_name":{"type":"string","title":"项目标识"},"project_category_id":{"type":"integer","title":"项目分类ID"},"project_language_id":{"type":"integer","title":"项目语言ID"},"is_mirror":{"type":"boolean","title":"项目是否为同步镜像项目"},"auth_username":{"type":"string","title":"镜像源仓库用户名"},"auth_password":{"type":"string","title":"镜像源仓库用户密码"},"private":{"type":"boolean","title":"是否为私有项目"}},"required":["user_id","name","clone_addr","repository_name"],"x-apifox-orders":["user_id","name","clone_addr","description","repository_name","project_category_id","project_language_id","is_mirror","auth_username","auth_password","private"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"identifier":{"type":"string"},"login":{"type":"string"}},"required":["id","name","identifier","login"],"x-apifox-orders":["id","name","identifier","login"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"id":48,"name":"potato","identifier":"potato","login":"yystopfceshi"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118622714-run","security":[]}},"/api/repositories/{id}/sync_mirror":{"post":{"summary":"同步镜像","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"手动同步镜像","tags":["项目"],"parameters":[{"name":"id","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118625242-run","security":[]}},"/api/{owner}/{repo}/forks":{"post":{"summary":"fork项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","title":""},"message":{"type":"string"},"id":{"type":"integer","title":""},"identifier":{"type":"string","title":""}},"required":["status","message","id","identifier"],"x-apifox-orders":["status","message","id","identifier"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"status":0,"message":"fork项目成功","id":49,"identifier":"testtesttest"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118625342-run","security":[]}},"/api/{owner}/{repo}/applied_transfer_projects/organizations":{"get":{"summary":"转移项目-管理的组织列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"organizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","title":"组织ID"},"name":{"type":"string","title":"组织名称"},"nickname":{"type":"string","title":"组织昵称"},"description":{"type":"string","title":"组织描述"},"avatar_url":{"type":"null","title":"组织头像"}},"required":["id","name","nickname","description","avatar_url"],"x-apifox-orders":["id","name","nickname","description","avatar_url"],"x-apifox-ignore-properties":[]}}},"required":["total_count","organizations"],"x-apifox-orders":["total_count","organizations"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"total_count":2,"organizations":[{"id":112,"name":"ceshi_org","nickname":"测试组织","description":"测试组织","avatar_url":null},{"id":114,"name":"test_org","nickname":"测试组织test","description":"地方","avatar_url":null}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118625561-run","security":[]}},"/api/{owner}/{repo}/applied_transfer_projects":{"post":{"summary":"转移项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"edit接口的is_transfering为true表示正在迁移","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"owner_name":{"type":"string","title":"迁移对象标识"}},"required":["owner_name"],"x-apifox-orders":["owner_name"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","title":""},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移项目的拥有者","x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"迁移项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移创建者","x-apifox-ignore-properties":[]},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移拥有者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"项目ID"},"status":{"type":"string","title":"项目迁移状态","description":"canceled:取消,common:正在迁移, accept:已接受,refuse:已拒绝"},"created_at":{"type":"string","title":"项目迁移创建的时间"},"time_ago":{"type":"string","title":"项目迁移创建的时间"}},"required":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-orders":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-ignore-properties":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118626901-run","security":[]}},"/api/{owner}/{repo}/applied_transfer_projects/cancel":{"post":{"summary":"取消转移项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"edit接口的is_transfering为true表示正在迁移","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","title":""},"is_public":{"type":"boolean"},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移项目的拥有者","x-apifox-ignore-properties":[]}},"required":["id","identifier","name","description","is_public","owner"],"x-apifox-orders":["id","identifier","name","description","is_public","owner"],"title":"迁移项目","x-apifox-ignore-properties":[]},"user":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移创建者","x-apifox-ignore-properties":[]},"owner":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"}},"required":["id","type","name","login","image_url"],"x-apifox-orders":["id","type","name","login","image_url"],"title":"迁移拥有者","x-apifox-ignore-properties":[]},"id":{"type":"integer","title":"项目ID"},"status":{"type":"string","title":"项目迁移状态","description":"canceled:取消,common:正在迁移, accept:已接受,refuse:已拒绝"},"created_at":{"type":"string","title":"项目迁移创建的时间"},"time_ago":{"type":"string","title":"项目迁移创建的时间"}},"required":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-orders":["project","user","owner","id","status","created_at","time_ago"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"project":{"id":86,"identifier":"ceshi_repo1","name":"测试项目啊1","description":"二十多","is_public":true,"owner":{"id":52,"type":"Organization","name":"身份卡手动阀","login":"ceshi1","image_url":"images/avatars/Organization/52?t=1618805056"}},"user":{"id":6,"type":"User","name":"yystopf","login":"yystopf","image_url":"system/lets/letter_avatars/2/Y/241_125_89/120.png"},"owner":{"id":9,"type":"Organization","name":"测试组织","login":"ceshi_org","image_url":"images/avatars/Organization/9?t=1612706073"},"id":4,"status":"common","created_at":"2021-04-26 09:54","time_ago":"1分钟前"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118626969-run","security":[]}},"/api/{owner}/{repo}/quit.json":{"post":{"summary":"退出项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118628234-run","security":[]}},"/api/{owner}/{repo}/detail":{"get":{"summary":"项目详情","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"null","title":"仓库简介"},"website":{"type":"null","title":"仓库网址"},"lesson_url":{"type":"null","title":"课程地址"},"identifier":{"type":"string","title":"项目标识"},"invite_code":{"type":"string","title":"项目邀请码"},"name":{"type":"string","title":"项目名称"},"description":{"type":"null","title":"项目描述"},"project_id":{"type":"integer","title":"项目ID"},"repo_id":{"type":"integer","title":"仓库ID"},"issues_count":{"type":"integer","title":"项目疑修数量"},"pull_requests_count":{"type":"integer","title":"项目合并请求数量"},"project_identifier":{"type":"string","title":"项目标识"},"praises_count":{"type":"integer","title":"项目点赞数量"},"forked_count":{"type":"integer","title":"项目复刻数量"},"watchers_count":{"type":"integer","title":"项目关注数量"},"versions_count":{"type":"integer","title":"项目里程碑数量"},"version_releases_count":{"type":"integer","title":"项目里程碑数量"},"version_releasesed_count":{"type":"integer","title":"项目已发布里程碑数量"},"permission":{"type":"string","title":"项目权限","description":"Admin:平台管理员,Manager:项目管理员,Developer: 项目开发者, Reporter: 项目报告者"},"mirror_url":{"type":"null","title":"镜像地址"},"mirror":{"type":"boolean","title":"是否为镜像项目"},"type":{"type":"integer","title":"项目类型","description":" 0 普通项目 1 普通镜像项目 2 同步镜像项目"},"open_devops":{"type":"boolean","title":"是否开启devops"},"topics":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"x-apifox-orders":["id","name"],"x-apifox-ignore-properties":[]},"title":"项目搜索标签"},"watched":{"type":"boolean","title":"是否关注"},"praised":{"type":"boolean","title":"是否点赞"},"status":{"type":"integer","title":"项目状态"},"forked_from_project_id":{"type":"null","title":"项目复刻来源项目ID"},"size":{"type":"string","title":"仓库大小"},"ssh_url":{"type":"string","title":"项目ssh克隆地址"},"clone_url":{"type":"string","title":"项目http克隆地址"},"default_branch":{"type":"string","title":"仓库默认分支"},"empty":{"type":"boolean","title":"仓库是否为空"},"full_name":{"type":"string","title":"仓库全称"},"private":{"type":"boolean","title":"仓库是否为私有项目"},"license_name":{"type":"null","title":"仓库许可证名称"},"branches_count":{"type":"integer","title":"仓库分支总数"},"tags_count":{"type":"integer","title":"仓库标签总数"},"author":{"type":"object","properties":{"id":{"type":"integer"},"login":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","type","name","image_url"],"x-apifox-orders":["id","login","type","name","image_url"],"title":"仓库拥有者","x-apifox-ignore-properties":[]}},"required":["content","website","lesson_url","identifier","invite_code","name","description","project_id","repo_id","issues_count","pull_requests_count","project_identifier","praises_count","forked_count","watchers_count","versions_count","version_releases_count","version_releasesed_count","permission","mirror_url","mirror","type","open_devops","topics","watched","praised","status","forked_from_project_id","size","ssh_url","clone_url","default_branch","empty","full_name","private","license_name","branches_count","tags_count","author"],"x-apifox-orders":["content","website","lesson_url","identifier","invite_code","name","description","project_id","repo_id","issues_count","pull_requests_count","project_identifier","praises_count","forked_count","watchers_count","versions_count","version_releases_count","version_releasesed_count","permission","mirror_url","mirror","type","open_devops","topics","watched","praised","status","forked_from_project_id","size","ssh_url","clone_url","default_branch","empty","full_name","private","license_name","branches_count","tags_count","author"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"content":null,"website":null,"lesson_url":null,"identifier":"testdevops","invite_code":"6YF8y4","name":"testdevops","description":null,"project_id":17,"repo_id":17,"issues_count":1,"pull_requests_count":0,"project_identifier":"testdevops","praises_count":0,"forked_count":0,"watchers_count":0,"versions_count":0,"version_releases_count":0,"version_releasesed_count":0,"permission":"Owner","mirror_url":null,"mirror":false,"type":0,"open_devops":false,"topics":[{"id":8,"name":"javascript"},{"id":7,"name":"python"}],"watched":false,"praised":false,"status":1,"forked_from_project_id":null,"size":"141.0 KB","ssh_url":"virus@127.0.0.1:yystopfceshi/testdevops.git","clone_url":"http://127.0.0.1:10082/yystopfceshi/testdevops.git","default_branch":"master","empty":false,"full_name":"yystopfceshi/testdevops","private":false,"license_name":null,"branches_count":2,"tags_count":0,"author":{"id":113,"login":"yystopfceshi","type":"User","name":"heihei","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118628941-run","security":[]}},"/api/{owner}/{repo}/simple":{"get":{"summary":"项目详情(简版)","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string","title":"项目标识"},"name":{"type":"string","title":"项目名称"},"platform":{"type":"string","title":"项目平台"},"id":{"type":"integer","title":"项目ID"},"repo_id":{"type":"integer","title":"仓库ID"},"open_devops":{"type":"boolean","title":"是否开启工作流"},"type":{"type":"integer","title":"项目类型","description":"0 托管项目 1 镜像项目 2 同步镜像项目"},"author":{"type":"object","properties":{"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["login","name","type","image_url"],"x-apifox-orders":["login","name","type","image_url"],"title":"项目拥有者","x-apifox-ignore-properties":[]},"project_language_id":{"type":"integer","title":"项目语言ID"}},"required":["identifier","name","platform","id","repo_id","open_devops","type","author","project_language_id"],"x-apifox-orders":["identifier","name","platform","id","repo_id","open_devops","type","author","project_language_id"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例 ","value":{"identifier":"testdevops","name":"testdevops","platform":"forge","id":17,"repo_id":17,"open_devops":false,"type":0,"author":{"login":"yystopfceshi","name":"heihei","type":"User","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png"},"project_language_id":8}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118629943-run","security":[]}},"/api/{owner}/{repo}/languages":{"get":{"summary":"获取项目开发语言","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"yystopfceshi","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"example":"testdevops","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{},"x-apifox-orders":[],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"JavaScript":"66.5%","Python":"33.5%"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-118761139-run","security":[]}},"/api/{owner}/{repo}/collaborators":{"post":{"summary":"添加一个项目成员","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"}},"required":["user_id"],"x-apifox-orders":["user_id"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer"},"message":{"type":"string"}},"required":["status","message"],"x-apifox-orders":["status","message"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"status":0,"message":"success"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128585960-run","security":[]},"get":{"summary":"项目成员列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer"},"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"login":{"type":"string"},"image_url":{"type":"string"},"email":{"type":"string"},"is_owner":{"type":"boolean"},"role":{"type":"string"},"role_name":{"type":"string"}},"required":["id","name","login","image_url","email","is_owner","role","role_name"],"x-apifox-orders":["id","name","login","image_url","email","is_owner","role","role_name"],"x-apifox-ignore-properties":[]}}},"required":["total_count","members"],"x-apifox-orders":["total_count","members"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":2,"members":[{"id":110,"name":"咸蛋黄土豆丝xxx","login":"yystopf","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png","email":"yystopf@163.com","is_owner":true,"role":"Manager","role_name":"管理员"},{"id":113,"name":"heihei","login":"yystopfceshi","image_url":"system/lets/letter_avatars/2/H/145_178_168/120.png","email":"yystopfceshi1@163.com","is_owner":false,"role":"Manager","role_name":"管理员"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128615675-run","security":[]}},"/api/{owner}/{repo}/collaborators/remove":{"delete":{"summary":"删除一个项目成员","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer","title":"用户ID"}},"required":["user_id"],"x-apifox-orders":["user_id"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{},"x-apifox-ignore-properties":[],"x-apifox-orders":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128608887-run","security":[]}},"/api/{owner}/{repo}/collaborators/change_role":{"put":{"summary":"更改项目成员权限","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"user_id":{"type":"integer"},"role":{"type":"string","enum":["Manager","Developer","Reporter"],"x-apifox":{"enumDescriptions":{"Manager":"管理员","Developer":"开发者","Reporter":"报告者"}}}},"required":["user_id","role"],"x-apifox-orders":["user_id","role"],"x-apifox-ignore-properties":[]}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{},"x-apifox-ignore-properties":[],"x-apifox-orders":[]}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128612430-run","security":[]}},"/api/{owner}/{repo}/files":{"get":{"summary":"获取项目所有文件","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"search","in":"query","description":"搜索关键词","required":false,"schema":{"type":"string"}},{"name":"ref","in":"query","description":"分支、标签或commit sha","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件名称"},"path":{"type":"string","title":"文件路径"},"sha":{"type":"string","title":"文件标识"},"type":{"type":"string","title":"文件类型"},"size":{"type":"integer","title":"文件大小"},"url":{"type":"string","title":"文件地址"},"html_url":{"type":"string","title":"文件html地址"}},"required":["name","path","sha","type","size","url","html_url"],"x-apifox-orders":["name","path","sha","type","size","url","html_url"],"x-apifox-ignore-properties":[]}},"examples":{"1":{"summary":"成功示例","value":[{"name":"README.md","path":"README.md","sha":"91d1da709ed2610e8bcd7b2f6c988f4b8888e515","type":"file","size":13,"url":"http://127.0.0.1:10082/api/v1/repos/yystopf/ceshi_doc/contents/README.md?ref=main","html_url":"http://127.0.0.1:10082/api/v1/repos/yystopf/ceshi_doc/src/branch/main/README.md"}]}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128623246-run","security":[]}},"/api/v1/{owner}/{repo}/contents/batch":{"post":{"summary":"提交文件到项目","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"action_type":{"type":"string","title":"操作类型","description":"create 创建 update 更新 delete 删除"},"content":{"type":"string","title":"文件内容"},"encoding":{"type":"string","title":"文件加密方式","description":"text 文本 base64加密"},"file_path":{"type":"string","title":"文件路径"}},"x-apifox-orders":["action_type","content","encoding","file_path"],"x-apifox-ignore-properties":[]}},"author_email":{"type":"string","title":"作者邮箱","description":"作者邮箱,不填时需要与作者名称同时为空,默认为当前用户邮箱"},"author_name":{"type":"string","title":"作者名称","description":"作者名称,不填时需要与作者邮箱同时为空,默认为当前用户标识\n"},"author_timeunix":{"type":"integer","title":"作者提交的时间戳","description":"作者提交的时间戳,精确到秒,默认为当前时间戳"},"committer_email":{"type":"string","title":"提交者邮箱","description":"提交者邮箱,不填时需要与提交者名称同时为空,默认为当前用户邮箱"},"committer_name":{"type":"string","title":"提交者名称","description":"提交者名称,不填时需要与提交者名称同时为空,默认为当前用户标识\n"},"committer_timeunix":{"type":"integer","title":"提交者提交的时间戳","description":"提交时间戳,精确到秒,默认为当前时间戳"},"branch":{"type":"string","title":"提交分支"},"new_branch":{"type":"string","title":"新创建的分支","description":"如果需要创建新分支,这个要填"},"message":{"type":"string","title":"提交信息"}},"required":["files","author_email","author_name","author_timeunix","committer_email","committer_name","committer_timeunix","message","branch"],"x-apifox-orders":["files","author_email","author_name","author_timeunix","committer_email","committer_name","committer_timeunix","branch","new_branch","message"],"x-apifox-ignore-properties":[]},"example":{"files":[{"action_type":"create","content":"jfksj","encoding":"text","file_path":"heihei7"}],"author_email":"yystopf@163.com","author_name":"yystopf","author_timeunix":1658214400,"committer_email":"yystopf@163.com","committer_name":"yystopf","committer_timeunix":1658214400,"branch":"hh_ceshi","message":"测试提交"}}}},"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"commit":{"type":"object","properties":{"sha":{"type":"string","title":"提交标识"},"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"commit_message":{"type":"string","title":"提交信息"},"parent_shas":{"type":"array","items":{"type":"string"},"title":"提交父节点标识"},"authored_time":{"type":"integer","title":"编码时间"},"commited_time":{"type":"integer","title":"提交时间"}},"required":["sha","author","committer","commit_message","parent_shas","authored_time","commited_time"],"x-apifox-orders":["sha","author","committer","commit_message","parent_shas","authored_time","commited_time"],"x-apifox-ignore-properties":[]},"contents":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件名称"},"path":{"type":"string","title":"文件路径"},"sha":{"type":"string","title":"文件标识"},"type":{"type":"string","title":"文件类型"},"size":{"type":"integer","title":"文件大小"},"encoding":{"type":"string","title":"编码方式","description":"text文本 base64 加密"},"content":{"type":"string","title":"文件内容"}},"x-apifox-orders":["name","path","sha","type","size","encoding","content"],"x-apifox-ignore-properties":[]}}},"required":["commit","contents"],"x-apifox-orders":["commit","contents"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"commit":{"sha":"88801266695966b11fcd95ba2bcefad56750d1d9","author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"commit_message":"测试提交\n","parent_shas":["a69e40efe2d03dbea650c659540b7a0fd87f0c6b"],"authored_time":1658214400,"commited_time":1658214400},"contents":[{"name":"heihei7","path":"heihei7","sha":"f0acac8efb3021b0f6a7b13b42d033d86e076a4b","type":"file","size":5,"encoding":"base64","content":"amZrc2o="}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128689170-run","security":[]}},"/api/{owner}/{repo}/entries":{"get":{"summary":"获取项目代码目录","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"example":"","schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"ref","in":"query","description":"分支名称、标签名称或是提交标识,默认为master分支","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"last_commit":{"type":"object","properties":{"commit":{"type":"object","properties":{"sha":{"type":"string","title":"commit标识"},"message":{"type":"string","title":"commit信息"},"author":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"date":{"type":"string"}},"required":["name","email","date"],"x-apifox-orders":["name","email","date"],"title":"commit作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"date":{"type":"string"}},"required":["name","email","date"],"x-apifox-orders":["name","email","date"],"title":"commit提交者","x-apifox-ignore-properties":[]},"timestamp":{"type":"integer","title":"提交时间戳"},"time_from_now":{"type":"string","title":"提交时间(距离现在)"}},"required":["sha","message","author","committer","timestamp","time_from_now"],"x-apifox-orders":["sha","message","author","committer","timestamp","time_from_now"],"x-apifox-ignore-properties":[]},"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"x-apifox-ignore-properties":[]}},"required":["commit","author","committer"],"x-apifox-orders":["commit","author","committer"],"title":"最后一次commit","x-apifox-ignore-properties":[]},"commits_count":{"type":"integer","title":"commit总数"},"zip_url":{"type":"string","title":"zip下载地址"},"tar_url":{"type":"string","title":"tar下载地址"},"entries":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件名称"},"path":{"type":"string","title":"文件路径"},"sha":{"type":"string","title":"文件标识"},"type":{"type":"string","title":"文件类型","description":"file 文件 dir 文件夹 submodule 子模块"},"submodule_git_url":{"type":"null","title":"子模块git地址"},"size":{"type":"integer","title":"文件大小"},"is_readme_file":{"type":"boolean","title":"是否为readme文件","nullable":true},"content":{"type":"null","title":"文件内容"},"target":{"type":"null","title":"文件标签"},"commit":{"type":"object","properties":{"message":{"type":"string","title":"提交信息"},"sha":{"type":"string","title":"提交标识"},"created_at":{"type":"string","title":"提交创建时间"},"time_from_now":{"type":"string","title":"提交时间(距离现在)"},"created_at_unix":{"type":"integer","title":"提交时间戳"}},"required":["message","sha","created_at","time_from_now","created_at_unix"],"x-apifox-orders":["message","sha","created_at","time_from_now","created_at_unix"],"title":"最近一次提交记录","x-apifox-ignore-properties":[]}},"required":["name","path","sha","type","submodule_git_url","size","is_readme_file","content","target","commit"],"x-apifox-orders":["name","path","sha","type","submodule_git_url","size","is_readme_file","content","target","commit"],"x-apifox-ignore-properties":[]}}},"required":["last_commit","commits_count","zip_url","tar_url","entries"],"x-apifox-orders":["last_commit","commits_count","zip_url","tar_url","entries"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"last_commit":{"commit":{"sha":"88801266695966b11fcd95ba2bcefad56750d1d9","message":"测试提交\n","author":{"name":"yystopf","email":"yystopf@163.com","date":"2022-07-19T15:06:40+08:00"},"committer":{"name":"yystopf","email":"yystopf@163.com","date":"2022-07-19T15:06:40+08:00"},"timestamp":1658214400,"time_from_now":"1年前"},"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"}},"commits_count":8,"zip_url":"http://localhost:3000/api/yystopf/ceshi_doc/archive/main.zip","tar_url":"http://localhost:3000/api/yystopf/ceshi_doc/archive/main.tar.gz","entries":[{"name":"heihei7","path":"heihei7","sha":"f0acac8efb3021b0f6a7b13b42d033d86e076a4b","type":"file","submodule_git_url":null,"size":5,"is_readme_file":null,"content":null,"target":null,"commit":{"message":"测试提交\n","sha":"88801266695966b11fcd95ba2bcefad56750d1d9","created_at":"2022-07-19 15:06","time_from_now":"1年前","created_at_unix":1658214400}},{"name":"README.md","path":"README.md","sha":"91d1da709ed2610e8bcd7b2f6c988f4b8888e515","type":"file","submodule_git_url":null,"size":13,"is_readme_file":true,"content":null,"target":null,"commit":{"message":"Initial commit\n","sha":"46556cacf0c652e0a5c52ae2b64fe103ddc5d46e","created_at":"2023-11-28 11:47","time_from_now":"3小时前","created_at_unix":1701143230}}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128698154-run","security":[]}},"/api/{owner}/{repo}/sub_entries":{"get":{"summary":"获取项目代码子目录或者文件","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"filepath","in":"query","description":"文件夹、文件的相对路径","required":true,"example":"","schema":{"type":"string"}},{"name":"ref","in":"query","description":"分支名称、标签名称或是提交标识,默认为master分支","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"entries":{"type":"object","properties":{"name":{"type":"string","title":"文件夹或文件名称"},"sha":{"type":"string","title":"文件夹或文件标识"},"path":{"type":"string","title":"文件夹或文件相对路径"},"type":{"type":"string","title":"文件类型","description":"file 文件 dir 文件夹 submodule 子模块"},"submodule_git_url":{"type":"null","title":"子模块git地址"},"size":{"type":"integer","title":"文件大小"},"content":{"type":"string","title":"文件内容"},"target":{"type":"null","title":"标签"},"download_url":{"type":"string","title":"文件下载地址"},"direct_download":{"type":"boolean","title":"是否跳转下载"},"image_type":{"type":"boolean","title":"是否为图片"},"is_readme_file":{"type":"null","title":"是否为readme文件"},"commit":{"type":"object","properties":{"message":{"type":"string","title":"提交信息"},"sha":{"type":"string","title":"提交标识"},"created_at":{"type":"string","title":"提交时间"},"time_from_now":{"type":"string","title":"提交时间(距离现在)"},"created_at_unix":{"type":"integer","title":"提交时间戳"}},"required":["message","sha","created_at","time_from_now","created_at_unix"],"x-apifox-orders":["message","sha","created_at","time_from_now","created_at_unix"],"x-apifox-ignore-properties":[]}},"required":["name","sha","path","type","submodule_git_url","size","content","target","download_url","direct_download","image_type","is_readme_file","commit"],"x-apifox-orders":["name","sha","path","type","submodule_git_url","size","content","target","download_url","direct_download","image_type","is_readme_file","commit"],"x-apifox-ignore-properties":[]}},"required":["entries"],"x-apifox-orders":["entries"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"entries":{"name":"1","sha":"56a6051ca2b02b04ef92d5150c9ef600403cb1de","path":"1","type":"file","submodule_git_url":null,"size":1,"content":"1","target":null,"download_url":"http://localhost:3000/api/yystopf/ceshi_doc/raw/1?ref=main","direct_download":false,"image_type":false,"is_readme_file":null,"commit":{"message":"Add 1\n","sha":"9d8fc7952c7646feb15a2995bf4b58f77edd6953","created_at":"2023-11-28 11:47","time_from_now":"5小时前","created_at_unix":1701143246}}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128768679-run","security":[]}},"/api/{owner}/{repo}/readme":{"get":{"summary":"获取项目README文件","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"filepath","in":"query","description":"子目录名称,默认为空","required":false,"schema":{"type":"string"}},{"name":"ref","in":"query","description":"分支名称、标签名称或是提交记录id,默认为默认分支","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","title":"类型"},"encoding":{"type":"string","title":"文件加密方式"},"size":{"type":"integer","title":"文件大小"},"name":{"type":"string","title":"文件名称"},"path":{"type":"string","title":"文件路径"},"content":{"type":"string","title":"文件内容"},"sha":{"type":"string","title":"文件标识"},"replace_content":{"type":"string","title":"替换后的文件内容"}},"required":["type","encoding","size","name","path","content","sha","replace_content"],"x-apifox-orders":["type","encoding","size","name","path","content","sha","replace_content"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"type":"file","encoding":"base64","size":13,"name":"README.md","path":"README.md","content":"# ceshi_doc\n\n","sha":"91d1da709ed2610e8bcd7b2f6c988f4b8888e515","replace_content":"# ceshi_doc\n\n"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128776531-run","security":[]}},"/api/v1/{owner}/{repo}/git/trees/{sha}":{"get":{"summary":"获取文件树列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","description":"分支名称、标签名称或是提交记录id","required":true,"schema":{"type":"string"}},{"name":"recursive","in":"query","description":"是否显示目录","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"每页个数","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"sha":{"type":"string","title":"标识"},"entries":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件树名称"},"mode":{"type":"string","title":"文件树权限"},"type":{"type":"string","title":"文件树类型","description":" file:文件,dir: 文件夹"},"size":{"type":"integer","title":"文件树大小"},"sha":{"type":"string","title":"文件树commit标识"}},"required":["name","mode","type","size","sha"],"x-apifox-orders":["name","mode","type","size","sha"],"x-apifox-ignore-properties":[]}}},"required":["total_count","sha","entries"],"x-apifox-orders":["total_count","sha","entries"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":2,"sha":"88801266695966b11fcd95ba2bcefad56750d1d9","entries":[{"name":"README.md","mode":"100644","type":"file","size":13,"sha":"91d1da709ed2610e8bcd7b2f6c988f4b8888e515"},{"name":"heihei7","mode":"100644","type":"file","size":5,"sha":"f0acac8efb3021b0f6a7b13b42d033d86e076a4b"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128780673-run","security":[]}},"/api/v1/{owner}/{repo}/git/blobs/{sha}":{"get":{"summary":"获取项目blobs内容","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"sha":{"type":"string"},"size":{"type":"integer"},"encoding":{"type":"string"},"content":{"type":"string"}},"required":["sha","size","encoding","content"],"x-apifox-orders":["sha","size","encoding","content"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"sha":"ef44144e8f53fd19d38c8a7d1400313db73881e4","size":198,"encoding":"base64","content":"dHJlZSA4NmYzZjhkMzg3OWQ2MGJjOWNkZGZkNDliNTcxNjQ4YTBlYWIzOWRmCnBhcmVudCA2M2Y1NTcyZTczM2I4ZjRlMDZjNGZhZGVlZjc3Mzk3MWI1NGFhYjU0CmF1dGhvciB2aXJ1cyA8eXlzdG9wZkAxNjMuY29tPiAxNTQ1OTcxNzI4ICswODAwCmNvbW1pdHRlciB2aXJ1cyA8eXlzdG9wZkAxNjMuY29tPiAxNTQ1OTcxNzI4ICswODAwCgpmaXgK"}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128929110-run","security":[]}},"/api/v1/{owner}/{repo}/commits":{"get":{"summary":"获取项目提交列表","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"sha","in":"query","description":"分支名、标签名或Commit标识","required":false,"schema":{"type":"string"}},{"name":"page","in":"query","description":"页码","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"每页个数","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"commits":{"type":"array","items":{"type":"object","properties":{"sha":{"type":"string","title":"标识"},"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"commit_message":{"type":"string","title":"提交信息"},"parent_shas":{"type":"array","items":{"type":"string"},"title":"父节点标识"},"files":{"type":"array","items":{"type":"string"},"title":"更改的文件"},"commit_date":{"type":"null","title":"提交日期"},"commit_time":{"type":"integer","title":"提交时间戳"},"branch":{"type":"null","title":"分支"}},"x-apifox-orders":["sha","author","committer","commit_message","parent_shas","files","commit_date","commit_time","branch"],"x-apifox-ignore-properties":[]}}},"required":["total_count","commits"],"x-apifox-orders":["total_count","commits"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":8,"commits":[{"sha":"88801266695966b11fcd95ba2bcefad56750d1d9","author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"commit_message":"测试提交\n","parent_shas":["a69e40efe2d03dbea650c659540b7a0fd87f0c6b"],"files":["heihei7"],"commit_date":null,"commit_time":1658214400,"branch":null}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128967623-run","security":[]}},"/api/v1/{owner}/{repo}/commits/{sha}/diff":{"get":{"summary":"获取单个提交的diff信息","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"sha","in":"path","description":"","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"file_nums":{"type":"integer","title":"文件数量"},"total_addition":{"type":"integer","title":"新增行数"},"total_deletion":{"type":"integer","title":"删除行数"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件名称"},"oldname":{"type":"string","title":"文件修改前名称"},"addition":{"type":"integer","title":"文件新增行数"},"deletion":{"type":"integer","title":"文件删除行数"},"type":{"type":"integer","description":" 1: 新增 2: 更改 3: 删除 4: 重命名 5: 复制","title":"文件类型"},"is_created":{"type":"boolean","title":"是否为新建文件"},"is_deleted":{"type":"boolean","title":"是否为删除文件"},"is_bin":{"type":"boolean","title":"是否为二进制文件"},"is_lfs_file":{"type":"boolean","title":"是否为lfs文件"},"is_renamed":{"type":"boolean","title":"是否重命名"},"is_ambiguous":{"type":"boolean"},"is_submodule":{"type":"boolean","title":"是否为子模块"},"diff":{"type":"null"},"sections":{"type":"array","items":{"type":"object","properties":{"file_name":{"type":"string","title":"文件名称"},"name":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"left_index":{"type":"integer","title":"文件变动之前所在行数"},"right_index":{"type":"integer","title":"文件变动之后所在行数"},"match":{"type":"integer"},"type":{"type":"integer","title":"文件变更类型"},"content":{"type":"string","title":"文件变更内容"},"section_path":{"type":"string","title":"文件路径"},"section_last_left_index":{"type":"integer"},"section_last_right_index":{"type":"integer"},"section_left_index":{"type":"integer","title":"文件变更之前所在行数"},"section_right_index":{"type":"integer","title":"文件变更之后所在行数(即:页面编辑器开始显示的行数)"},"section_left_hunk_size":{"type":"integer","title":"文件变更之前的行数"},"section_right_hunk_size":{"type":"integer","title":"文件变更之后的行数(及当前页面编辑器显示的总行数)"}},"required":["left_index","right_index","match","type","content"],"x-apifox-orders":["left_index","right_index","match","type","content","section_path","section_last_left_index","section_last_right_index","section_left_index","section_right_index","section_left_hunk_size","section_right_hunk_size"],"x-apifox-ignore-properties":[]}}},"x-apifox-orders":["file_name","name","lines"],"x-apifox-ignore-properties":[]}},"is_incomplete":{"type":"boolean","title":"是否不完整"},"is_incomplete_line_too_long":{"type":"boolean","title":"文件是否不完整是因为太长了"},"is_protected":{"type":"boolean","title":"文件是否被保护"}},"x-apifox-orders":["name","oldname","addition","deletion","type","is_created","is_deleted","is_bin","is_lfs_file","is_renamed","is_ambiguous","is_submodule","diff","sections","is_incomplete","is_incomplete_line_too_long","is_protected"],"x-apifox-ignore-properties":[]}}},"required":["file_nums","total_addition","total_deletion","files"],"x-apifox-orders":["file_nums","total_addition","total_deletion","files"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"file_nums":1,"total_addition":1,"total_deletion":0,"files":[{"name":"heihei7","oldname":"heihei7","addition":1,"deletion":0,"type":1,"is_created":true,"is_deleted":false,"is_bin":false,"is_lfs_file":false,"is_renamed":false,"is_ambiguous":false,"is_submodule":false,"diff":null,"sections":[{"file_name":"heihei7","name":"","lines":[{"left_index":0,"right_index":0,"match":0,"type":4,"content":"@@ -0,0 +1 @@","section_path":"heihei7","section_last_left_index":0,"section_last_right_index":0,"section_left_index":0,"section_right_index":1,"section_left_hunk_size":0,"section_right_hunk_size":0},{"left_index":0,"right_index":1,"match":-1,"type":2,"content":"+jfksj"}]}],"is_incomplete":false,"is_incomplete_line_too_long":false,"is_protected":false}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-128979946-run","security":[]}},"/api/v1/{owner}/{repo}/compare":{"get":{"summary":"获取比较提交的diff信息","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","description":"源分支、标签、提交标识","required":true,"schema":{"type":"string"}},{"name":"to","in":"query","description":"目标分支、标签、提交标识","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"commits_count":{"type":"integer","title":"提交数量"},"last_commit_sha":{"type":"null"},"commits":{"type":"array","items":{"type":"object","properties":{"author":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交作者","x-apifox-ignore-properties":[]},"committer":{"type":"object","properties":{"id":{"type":"string"},"login":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"string"}},"required":["id","login","name","type","image_url"],"x-apifox-orders":["id","login","name","type","image_url"],"title":"提交者","x-apifox-ignore-properties":[]},"branch":{"type":"null","title":"提交分支"},"commit_message":{"type":"string","title":"提交信息"},"sha":{"type":"string","title":"提交标识"},"parent_shas":{"type":"null","title":"提交信息标识"}},"x-apifox-orders":["author","committer","branch","commit_message","sha","parent_shas"],"x-apifox-ignore-properties":[]}},"diff":{"type":"object","properties":{"file_nums":{"type":"integer","title":"文件数量"},"total_addition":{"type":"integer","title":"新增行数"},"total_deletion":{"type":"integer","title":"删除行数"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"文件名称"},"oldname":{"type":"string","title":"文件名称"},"addition":{"type":"integer","title":"文件新增行数"},"deletion":{"type":"integer","title":"文件删除行数"},"type":{"type":"integer","title":"文件类型","description":" 1: 新增 2: 更改 3: 删除 4: 重命名 5: 复制"},"is_created":{"type":"boolean","title":"是否为新建文件"},"is_deleted":{"type":"boolean","title":"是否为删除文件"},"is_bin":{"type":"boolean","title":"是否为二进制文件"},"is_lfs_file":{"type":"boolean","title":"是否为LFS文件"},"is_renamed":{"type":"boolean","title":"是否重命名"},"is_ambiguous":{"type":"boolean"},"is_submodule":{"type":"boolean","title":"是否为子模块"},"diff":{"type":"null"},"sections":{"type":"array","items":{"type":"object","properties":{"file_name":{"type":"string","title":"文件名称"},"name":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"left_index":{"type":"integer","title":"文件变动之前所在行数"},"right_index":{"type":"integer","title":"文件变动之后所在行数"},"match":{"type":"integer"},"type":{"type":"integer","title":"文件变更类型"},"content":{"type":"string","title":"文件变更内容"},"section_path":{"type":"string","title":"文件路径"},"section_last_left_index":{"type":"integer"},"section_last_right_index":{"type":"integer"},"section_left_index":{"type":"integer","title":"文件变更之前所在行数"},"section_right_index":{"type":"integer","title":"文件变更之后所在行数(即:页面编辑器开始显示的行数)"},"section_left_hunk_size":{"type":"integer","title":"文件变更之前的行数"},"section_right_hunk_size":{"type":"integer","title":"文件变更之后的行数(及当前页面编辑器显示的总行数)"}},"required":["left_index","right_index","match","type","content"],"x-apifox-orders":["left_index","right_index","match","type","content","section_path","section_last_left_index","section_last_right_index","section_left_index","section_right_index","section_left_hunk_size","section_right_hunk_size"],"x-apifox-ignore-properties":[]}}},"x-apifox-orders":["file_name","name","lines"],"x-apifox-ignore-properties":[]}},"is_incomplete":{"type":"boolean","title":"是否不完整"},"is_incomplete_line_too_long":{"type":"boolean","title":"文件是否不完整是因为太长了"},"is_protected":{"type":"boolean","title":"文件是否被保护"}},"x-apifox-orders":["name","oldname","addition","deletion","type","is_created","is_deleted","is_bin","is_lfs_file","is_renamed","is_ambiguous","is_submodule","diff","sections","is_incomplete","is_incomplete_line_too_long","is_protected"],"x-apifox-ignore-properties":[]}}},"required":["file_nums","total_addition","total_deletion","files"],"x-apifox-orders":["file_nums","total_addition","total_deletion","files"],"x-apifox-ignore-properties":[]}},"required":["commits_count","last_commit_sha","commits","diff"],"x-apifox-orders":["commits_count","last_commit_sha","commits","diff"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"commits_count":1,"last_commit_sha":null,"commits":[{"author":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"committer":{"id":"110","login":"yystopf","name":"咸蛋黄土豆丝xxx","type":"User","image_url":"system/lets/letter_avatars/2/X/230_139_26/120.png"},"branch":null,"commit_message":"测试提交\n","sha":"88801266695966b11fcd95ba2bcefad56750d1d9","parent_shas":null}],"diff":{"file_nums":1,"total_addition":1,"total_deletion":0,"files":[{"name":"heihei7","oldname":"heihei7","addition":1,"deletion":0,"type":1,"is_created":true,"is_deleted":false,"is_bin":false,"is_lfs_file":false,"is_renamed":false,"is_ambiguous":false,"is_submodule":false,"diff":null,"sections":[{"file_name":"heihei7","name":"","lines":[{"left_index":0,"right_index":0,"match":0,"type":4,"content":"@@ -0,0 +1 @@","section_path":"heihei7","section_last_left_index":0,"section_last_right_index":0,"section_left_index":0,"section_right_index":1,"section_left_hunk_size":0,"section_right_hunk_size":0},{"left_index":0,"right_index":1,"match":-1,"type":2,"content":"+jfksj"}]}],"is_incomplete":false,"is_incomplete_line_too_long":false,"is_protected":false}]}}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-129303418-run","security":[]}},"/api/{owner}/{repo}/tags":{"get":{"summary":"获取所有标签列表(无分页)","x-apifox-folder":"项目","x-apifox-status":"released","deprecated":false,"description":"","tags":["项目"],"parameters":[{"name":"owner","in":"path","description":"项目拥有者用户标识","required":true,"schema":{"type":"string"}},{"name":"repo","in":"path","description":"项目标识","required":true,"schema":{"type":"string"}},{"name":"only_name","in":"query","description":"是否只返回标签名称","required":true,"example":"true","schema":{"type":"string"}},{"name":"name","in":"query","description":"搜索关键词","required":false,"example":"master","schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"","required":true,"example":"Bearer {{token}}","schema":{"type":"string"}}],"responses":{"200":{"description":"成功","content":{"application/json":{"schema":{"type":"object","properties":{"total_count":{"type":"integer","title":"分页总数"},"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"标签名称"}},"required":["name"],"x-apifox-orders":["name"],"x-apifox-ignore-properties":[]}}},"required":["total_count","tags"],"x-apifox-orders":["total_count","tags"],"x-apifox-ignore-properties":[]},"examples":{"1":{"summary":"成功示例","value":{"total_count":2,"tags":[{"name":"v1.0"},{"name":"v1.1"}]}}}}}}},"x-run-in-apifox":"https://app.apifox.com/web/project/1809871/apis/api-130666922-run","security":[]}}},"components":{"schemas":{},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"https://testforgeplus.trustie.net","description":"测试环境"},{"url":"https://www.gitlink.org.cn","description":"正式环境"},{"url":"http://127.0.0.1:3000","description":"本地环境3000"}]} \ No newline at end of file