atomgit-mcp-server
v2.10.0AtomGit MCP Server - Model Context Protocol server for AtomGit code hosting platform
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
atomgit_get_repository_tree
获取仓库目录Tree。注意:当 autoPaginate=true 时返回纯数组(tree 条目列表);否则返回 { tree, sha } 信封结构
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
sha * | string | commit SHA值 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
file_path | string | 文件路径过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
recursive | number | 是否递归获取子目录,1 表示递归 |
atomgit_get_repository_content
获取仓库具体路径下的内容
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
path * | string | 文件路径 |
repo * | string | 仓库名称 |
ref | string | 分支或tag名称,可选 |
atomgit_create_repository_file
新建文件
| Parameter | Type | Description |
|---|---|---|
content * | string | 文件内容(明文传入,服务端会自动按 AtomGit API 要求编码为 base64) |
message * | string | 提交信息 |
owner * | string | 仓库所有者 |
path * | string | 文件路径 |
repo * | string | 仓库名称 |
author[email] | string | 提交作者邮箱 |
author[name] | string | 提交作者姓名 |
branch | string | 分支名称 |
atomgit_update_repository_file
更新文件
| Parameter | Type | Description |
|---|---|---|
content * | string | 文件内容(明文传入,服务端会自动按 AtomGit API 要求编码为 base64) |
message * | string | 提交信息 |
owner * | string | 仓库所有者 |
path * | string | 文件路径 |
repo * | string | 仓库名称 |
sha * | string | 文件SHA值 |
author[email] | string | 提交作者邮箱 |
author[name] | string | 提交作者姓名 |
branch | string | 分支名称 |
atomgit_get_repository_file_list
获取文件列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
file_name | string | 文件名过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码,默认1 |
path | string | 路径,可选 |
perPage | number | 每页数量,默认30 |
ref | string | 分支或tag名称,可选 |
ref_name | string | 分支或标签名称 |
atomgit_get_repository_blob
获取文件Blob
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
sha * | string | Blob SHA值 |
atomgit_get_repository_languages
获取仓库的语言
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
type | string | 贡献者类型过滤 |
atomgit_get_repository_contributors
获取仓库贡献者
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
type | string | 贡献者类型过滤 |
atomgit_set_repository_module_setting
设置项目模块
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
has_analysis | boolean | 是否启用 Analysis |
has_discussion | boolean | 是否启用 Discussion |
has_fork | boolean | 是否允许 Fork |
has_issue | boolean | 是否启用 Issue |
has_merge_request | boolean | 是否启用 Merge Request |
has_security | boolean | 是否启用 Security |
has_wiki | boolean | 是否启用 Wiki |
moduleData | object | 模块设置数据 |
atomgit_update_repository
更新仓库设置
| Parameter | Type | Description |
|---|---|---|
name * | string | 仓库名称 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
default_branch | string | 默认分支 |
description | string | 仓库描述 |
homepage | string | 项目地址 |
lfs_enabled | boolean | 是否启用 LFS |
path | string | 更新后的仓库路径 |
private | boolean | 是否私有仓库 |
tags | array | 项目标签 |
atomgit_update_repository_reviewer
修改项目代码审查设置
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
assignees | string | 审查人员用户名,多个用英文逗号分隔 |
assignees_number | number | 最少审查人数 |
testers | string | 测试人员用户名,多个用英文逗号分隔 |
testers_number | number | 最少测试人数 |
atomgit_get_repository_transition
获取项目的权限模式
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_update_repository_transition
更新仓库的权限模式
| Parameter | Type | Description |
|---|---|---|
mode * | number | 权限模式 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
transitionData | object | 权限模式数据 |
atomgit_set_repository_push_config
设置项目推送规则
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
commit_message_regex | string | 提交信息正则 |
config | object | 推送规则配置 |
deny_force_push | boolean | 禁止强推 |
max_file_size | number | 最大文件大小 |
reject_not_signed_by_gpg | boolean | 拒绝未签名提交 |
skip_rule_for_owner | boolean | 仓库所有者跳过规则 |
atomgit_get_repository_push_config
获取项目推送规则
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_fork_repository
Fork一个仓库
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
forkData | object | Fork数据,可选 |
name | string | Fork 后仓库名称 |
organization | string | 目标组织 |
path | string | Fork 后仓库路径 |
atomgit_get_repository_forks
查看仓库的Forks
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
created_after | string | 创建时间起始 |
created_before | string | 创建时间截止 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码,默认1 |
perPage | number | 每页数量,默认30 |
sort | string | 排序字段 |
atomgit_upload_repository_image
上传图片
| Parameter | Type | Description |
|---|---|---|
body * | string | 图片内容 |
file_name * | string | 文件名 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
fileData | string | 图片数据 |
filename | string | 文件名 |
atomgit_upload_repository_file
上传文件
| Parameter | Type | Description |
|---|---|---|
file * | string | 文件内容 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
fileData | string | 文件数据 |
filename | string | 文件名 |
atomgit_get_repository_subscribers
列出 watch 了仓库的用户
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
watched_after | string | 关注开始时间 |
watched_before | string | 关注截止时间 |
atomgit_get_repository_stargazers
列出 star 了仓库的用户
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
starred_after | string | Star 开始时间 |
starred_before | string | Star 截止时间 |
atomgit_update_repository_settings
更新仓库设置
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
branch_name_regex | string | 分支名称正则表达式 |
disable_fork | boolean | 禁止 Fork |
forbidden_committer_create_branch | boolean | 禁止提交者创建分支 |
forbidden_developer_create_branch | boolean | 禁止开发者创建分支 |
forbidden_developer_create_branch_user_ids | string | 禁止开发者创建分支的白名单用户 ID |
forbidden_developer_create_tag | boolean | 禁止开发者创建标签 |
generate_pre_merge_ref | boolean | 生成 Pre-Merge 引用 |
include_lfs_objects | boolean | 压缩包下载包含 LFS 对象 |
open_gpg_verified | boolean | 公开 GPG 公钥验证 |
rebase_disable_trigger_webhook | boolean | MR rebase 不触发 Webhook |
show_branch_creator | boolean | 展示分支创建人 |
tag_name_regex | string | 标签名称正则表达式 |
atomgit_get_repository_settings
获取仓库设置
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_get_repository_pull_request_settings
获取 Pull Request设置
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_update_repository_pull_request_settings
更新 Pull Request设置
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
add_notes_after_merged | boolean | 合并后继续允许评论 |
approval_approver_ids | string | 项目审查人 user_id,逗号分隔 |
approval_required_approvers | number | 需要审批的批准者数量 |
approval_required_reviewers | number | 需要的审批者数量 |
approval_required_reviewers_enable | boolean | 是否启用审批必需评审者 |
approval_required_testers | number | 测试最小通过人数 |
approval_tester_ids | string | 项目测试人 user_id,逗号分隔 |
auto_squash_merge | boolean | 默认开启 Squash 合并 |
can_force_merge | boolean | 允许管理员强制合并 |
can_reopen | boolean | 允许重新打开已关闭 MR |
close_issue_when_mr_merged | boolean | 默认合并后关闭关联 Issue |
delete_source_branch_when_merged | boolean | 合并后删除源分支 |
disable_merge_by_self | boolean | 禁止合并自己创建的 MR |
disable_squash_merge | boolean | 禁止 Squash 合并 |
forbidden_pr_related_issue_closed | boolean | 禁用合并后关闭关联 Issue |
is_allow_lite_merge_request | boolean | 是否启用轻量级 Pull Request |
is_check_cla | boolean | 是否校验 CLA |
lite_merge_request_prefix_title | string | 轻量级 PR 标题前缀 |
mark_auto_merged_mr_as_closed | boolean | 自动合并后标记为关闭 |
merge_method | string | 合并模式 |
merged_commit_author | string | Merge Commit 作者来源 |
only_allow_merge_if_all_discussions_are_resolved | boolean | 全部讨论解决后才能合并 |
only_allow_merge_if_pipeline_succeeds | boolean | 仅流水线成功后允许合并 |
squash_merge_with_no_merge_commit | boolean | Squash 合并不产生 Merge 节点 |
atomgit_update_repository_member_role
更新项目成员角色
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
username * | string | 用户名 |
permission | string | 成员权限 |
role_id | string | 自定义角色 ID |
atomgit_get_repository_customized_roles
获取项目自定义角色
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
direction | string | 排序方向 |
end_date | string | 结束日期 |
start_date | string | 开始日期 |
atomgit_get_repository_download_statistics
下载次数统计
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
direction | string | 排序方向 |
end_date | string | 结束日期 |
start_date | string | 开始日期 |
atomgit_get_repository_raw_file
获取 raw 文件
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
path * | string | 文件路径 |
repo * | string | 仓库名称 |
ref | string | 分支或 tag 名称,可选 |
atomgit_get_repository_contributors_statistic
获取仓库贡献者统计信息
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
author | string | 作者过滤 |
current_user | boolean | 仅当前用户 |
ref_name | string | 分支名称 |
since | string | 开始时间 |
until | string | 结束时间 |
atomgit_get_repository_events
获取仓库动态
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
after | string | 开始时间 |
author | string | 作者过滤 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
before | string | 结束时间 |
filter | string | 事件过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
atomgit_get_repository_discussions
获取项目讨论列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | 排序方向 asc 或 desc |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 当前的页码 | |
perPage | 每页的数量,最大为 100,默认 20 | |
search | string | 根据标题和描述搜索 |
sort | string | 排序字段 created 或 comment_size |
atomgit_get_repository_discussion
获取项目讨论详情
| Parameter | Type | Description |
|---|---|---|
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_get_repository_discussion_comments
获取项目讨论评论列表
| Parameter | Type | Description |
|---|---|---|
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
order | string | 排序方式 |
page | 当前的页码 | |
perPage | 每页的数量 |
atomgit_get_repository_discussion_comment_replies
获取项目讨论评论回复列表
| Parameter | Type | Description |
|---|---|---|
commentId * | string | 评论id |
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
page | 当前的页码 | |
perPage | 每页的数量 |
atomgit_create_repository_discussion
创建项目讨论
| Parameter | Type | Description |
|---|---|---|
categoryName * | string | 讨论分类名称 |
mdContent * | string | 讨论内容(md格式) |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
title * | string | 讨论标题 |
atomgit_update_repository_discussion
更新项目讨论
| Parameter | Type | Description |
|---|---|---|
categoryName * | string | 讨论分类名称 |
mdContent * | string | 讨论内容(md格式) |
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
title * | string | 讨论标题 |
atomgit_create_repository_discussion_comment
创建项目讨论评论
| Parameter | Type | Description |
|---|---|---|
mdContent * | string | 评论内容(md格式) |
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_update_repository_discussion_comment
更新项目讨论评论
| Parameter | Type | Description |
|---|---|---|
id * | string | 评论id |
mdContent * | string | 评论内容(md格式) |
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_reply_repository_discussion_comment
回复项目讨论评论
| Parameter | Type | Description |
|---|---|---|
id * | string | 评论id |
mdContent * | string | 回复内容(md格式) |
number * | 讨论的编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_get_repository_sync_status
查询Fork仓同步状态
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
branch | string | 分支名称 |
atomgit_sync_repository_from_source
Fork仓同步源仓库
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
branch | string | 拉取更新的分支名称,不传更新所有分支 |
atomgit_get_push_remote_mirrors
查询仓库推送远程镜像列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_get_repository_remote_mirror
获取仓库的远程镜像配置信息
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_get_repository_license
获取仓库许可协议
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_get_repository_branches
Get all branches in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository (username or organization) |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number |
perPage | number | Number of results per page |
sort | string | Sort field |
atomgit_create_repository_branch
Create a new branch in a repository
| Parameter | Type | Description |
|---|---|---|
branch_name * | string | The name of the new branch to create |
owner * | string | The owner of the repository |
refs * | string | The branch name or commit SHA to create the new branch from |
repo * | string | The name of the repository |
branch | string | Legacy alias for branch_name |
description | string | The description of the new branch |
atomgit_get_repository_branch
Get a specific branch in a repository
| Parameter | Type | Description |
|---|---|---|
branch * | string | The name of the branch |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_create_branch_protection_rule
Create a branch protection rule
| Parameter | Type | Description |
|---|---|---|
merger * | string | 允许合并 Pull Request 的成员或角色 |
owner * | string | The owner of the repository |
pusher * | string | 允许推送代码的成员或角色 |
repo * | string | The name of the repository |
wildcard * | string | The branch name pattern (supports wildcards like "main", "feature/*") |
atomgit_get_branch_protection_rules
Get all branch protection rules in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_update_branch_protection_rule
Update a branch protection rule
| Parameter | Type | Description |
|---|---|---|
merger * | string | 允许合并 Pull Request 的成员或角色 |
owner * | string | The owner of the repository |
pusher * | string | 允许推送代码的成员或角色 |
repo * | string | The name of the repository |
wildcard * | string | The branch name pattern to update |
atomgit_get_repository_issues
Get all issues in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
assignee | string | Assignee username |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
created_after | string | Only return issues created after this time |
created_at | string | Filter by created_at time |
created_before | string | Only return issues created before this time |
creator | string | Creator username |
direction | string | Sort direction |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
milestone | Milestone number to filter by | |
page | Page number for pagination | |
perPage | Number of results per page | |
search | string | Search keyword |
since | string | Only return issues updated after this time |
sort | string | Sort field |
state | string | State of issues to return (open, closed, all) |
updated_after | string | Only return issues updated after this time |
updated_before | string | Only return issues updated before this time |
atomgit_create_repository_issue
Create an issue in a repository
| Parameter | Type | Description |
|---|---|---|
body * | string | The body content of the issue |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
title * | string | The title of the issue |
assignee | string | Comma-separated usernames to assign |
assignees | array | Legacy compatibility alias for assignee |
custom_fields | array | Custom enterprise issue fields |
issue_severity | string | Issue severity |
issue_type | string | Issue type |
labels | Comma-separated label names. Also accepts an array for legacy compatibility. | |
milestone | number | Milestone number to associate with the issue |
security_hole | string | Security issue marker |
template_path | string | Issue template path |
atomgit_get_repository_issue
Get a specific issue in a repository
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_update_repository_issue
Update an issue in a repository
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
assignee | string | Comma-separated usernames to assign |
assignees | array | Legacy compatibility alias for assignee |
body | string | The body content of the issue |
custom_fields | array | Custom enterprise issue fields |
issue_severity | string | Issue severity |
issue_type | string | Issue type |
labels | Comma-separated label names. Also accepts an array for legacy compatibility. | |
milestone | number | Milestone number to associate with the issue |
security_hole | string | Security issue marker |
state | string | State of the issue (close/reopen, also accepts open/closed for compatibility) |
status | string | Enterprise issue status |
template_path | string | Issue template path |
title | string | The title of the issue |
atomgit_get_repository_issue_comments
Get comments for a specific issue
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
order | string | Sort order |
page | Page number for pagination | |
perPage | Number of results per page | |
since | string | Only return comments updated after this time |
atomgit_create_repository_issue_comment
Create a comment on an issue
| Parameter | Type | Description |
|---|---|---|
body * | string | The text of the comment |
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_repository_issue_comment
Get a specific comment on an issue
| Parameter | Type | Description |
|---|---|---|
id * | The ID of the comment | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_update_repository_issue_comment
Update a comment on an issue
| Parameter | Type | Description |
|---|---|---|
body * | string | The updated text of the comment |
id * | The ID of the comment | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_create_repository_issue_label
Create labels for an issue
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
labels | array | Array of label names to add |
atomgit_get_repository_issue_operate_logs
Get operation logs for an issue
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_get_repository_issue_reactions
Get reactions for an issue
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
emoji_name | string | Emoji filter |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_get_repository_issue_comment_reactions
Get reactions for an issue comment
| Parameter | Type | Description |
|---|---|---|
comment_id * | The ID of the comment | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
emoji_name | string | Emoji filter |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_get_repository_issue_modify_history
Get modification history for an issue
| Parameter | Type | Description |
|---|---|---|
number * | The number of the issue | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_repository_issue_comment_modify_history
Get modification history of an issue comment
| Parameter | Type | Description |
|---|---|---|
comment_id * | The ID of the comment | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_update_issue_kanban_values
更新issue关联的看板字段
| Parameter | Type | Description |
|---|---|---|
number * | Issue 编号 | |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
kanban_id | number | 看板ID |
values | object | 看板字段值 |
atomgit_get_enterprise_issue_labels
Get labels for an enterprise issue
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
issueId | Deprecated alias of number (issue global ID) | |
issue_id | Deprecated alias of number (issue global ID) | |
maxPages | 自动分页时的最大页数限制(默认 100) | |
number | number | The issue global ID (the id field from enterprise issue list APIs, not the per-list number); or pass legacy issue_id/issueId instead |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_get_enterprise_issues
Get all issues for an enterprise
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
approximate | boolean | 是否精确查询数量,默认 false |
assignee | string | Assignee username |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
created_at | string | Created at filter |
created_before | string | Created before filter |
creator | string | Creator username |
direction | string | Sort direction |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
milestone | Milestone number | |
page | Page number for pagination | |
perPage | Number of results per page | |
program | string | Program filter |
search | string | Search keyword |
since | string | Only return issues updated after this time |
sort | string | Sort field |
state | string | Issue state |
atomgit_get_user_issues
Get all issues for the authenticated user
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
created_at | string | Created at filter |
deadline | string | Deadline filter |
direction | string | Sort direction |
filter | string | Issue filter |
finished_at | string | Finished at filter |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
schedule | string | Schedule filter |
since | string | Only return issues updated after this time |
sort | string | Sort field |
state | string | Issue state |
atomgit_get_organization_issues
Get issues for an organization
| Parameter | Type | Description |
|---|---|---|
org * | string | The organization name |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
created_at | string | Created at filter |
direction | string | Sort direction |
filter | string | Issue filter |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
search | string | Search keyword |
sort | string | Sort field |
state | string | Issue state |
atomgit_get_enterprise_issue_comments
Get comments for an enterprise issue
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
number * | number | The issue number |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_get_enterprise_issue
Get a specific enterprise issue
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
number * | number | The issue number |
atomgit_get_enterprise_issue_statuses
Get enterprise issue statuses
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
atomgit_get_all_repository_issue_comments
Get all issue comments in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
since | string | Only return comments updated after this time |
sort | string | Sort field |
atomgit_get_repository_issue_pull_requests
Get pull requests associated with an issue
| Parameter | Type | Description |
|---|---|---|
number * | The issue number | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
mode | Relation mode filter |
atomgit_search_users
搜索用户
| Parameter | Type | Description |
|---|---|---|
q * | string | 搜索查询字符串(主参数) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
order | string | 排序方向 |
page | number | 页码,默认为1 |
perPage | number | 每页结果数,默认为30 |
query | string | 搜索查询字符串(q 的别名;与 q 同时传时以 q 为准) |
sort | string | 排序字段 |
atomgit_search_issues
搜索 Issues
| Parameter | Type | Description |
|---|---|---|
q * | string | 搜索查询字符串(主参数) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
order | string | 排序方向 |
page | number | 页码,默认为1 |
perPage | number | 每页结果数,默认为30 |
query | string | 搜索查询字符串(q 的别名;与 q 同时传时以 q 为准) |
repo | string | 仓库范围 |
sort | string | 排序字段 |
state | string | Issue 状态 |
atomgit_search_repositories
搜索仓库
| Parameter | Type | Description |
|---|---|---|
q * | string | 搜索查询字符串(主参数) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
fork | string | Fork 过滤 |
language | string | 语言过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
order | string | 排序方向 |
owner | string | 仓库所有者 |
page | number | 页码,默认为1 |
perPage | number | 每页结果数,默认为30 |
query | string | 搜索查询字符串(q 的别名;与 q 同时传时以 q 为准) |
sort | string | 排序字段 |
atomgit_search
通用搜索 (按类型搜索 repo/user/group/pullrequest/issue)
| Parameter | Type | Description |
|---|---|---|
type * | string | 搜索类型 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
library | string | 库过滤 |
max | string | 参数规模上限,如 7B |
maxPages | 自动分页时的最大页数限制(默认 100) | |
min | string | 参数规模下限,如 1B |
order | string | 排序顺序 |
page | number | 页码,默认为1 |
perPage | number | 每页结果数,默认为10 |
q | string | 搜索查询字符串(主参数) |
query | string | 搜索查询字符串(q 的别名;与 q 同时传时以 q 为准) |
repo_type | string | 仓库类型:0 代码仓、1 模型仓、2 数据集仓 |
sort | string | 排序字段,如 created_at、updated_at、star、fork,默认最佳匹配 |
task | string | 任务过滤 |
atomgit_get_repository_pulls
Get all pull requests in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
assignee | string | Assignee username |
author | string | Author username |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
base | string | Base branch filter |
created_after | string | Created after filter |
created_before | string | Created before filter |
direction | string | Sort direction |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
merged_after | string | Merged after filter |
merged_before | string | Merged before filter |
milestone_number | Milestone number filter | |
only_count | boolean | Whether to return only the total count |
page | number | Page number for pagination |
perPage | number | Number of results per page |
reviewer | string | Reviewer username |
since | string | Only return pull requests updated after this time |
sort | string | Sort field |
state | string | State of pull requests to return (open, closed, all) |
updated_after | string | Updated after filter |
updated_before | string | Updated before filter |
atomgit_get_repository_pull
Get a specific pull request in a repository
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_create_repository_pull
Create a new pull request in a repository
| Parameter | Type | Description |
|---|---|---|
base * | string | The name of the branch you want the changes pulled into |
head * | string | The name of the branch where your changes are implemented |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
title * | string | The title of the pull request |
assignees | Assignee usernames | |
body | string | The contents of the pull request |
close_related_issue | boolean | Close related issues when merged |
draft | boolean | Indicates whether the pull request is a draft |
fork_path | string | Fork repository path for cross-repo pull requests |
inner_issue_nums | string | Semicolon-separated issue iids to link to this pull request |
issue | string | Issue number to auto-fill from |
labels | string | Comma-separated label names |
maintainer_can_modify | boolean | Indicates whether maintainers can modify the pull request |
milestone_number | Milestone number | |
prune_source_branch | boolean | Delete the source branch after merge |
squash | boolean | Use squash merge when merging |
squash_commit_message | string | Squash merge commit message |
testers | Tester usernames |
atomgit_merge_repository_pull
Merge a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
commit_message | string | Extra detail to append to automatic commit message |
commit_title | string | Title for the automatic commit message |
description | string | Merge description |
force_merge | boolean | Whether to force merge when repository settings and permissions allow it |
merge_method | string | Merge method to use (merge, squash, rebase) |
squash | boolean | Whether to use squash merge |
squash_commit_message | string | Squash merge commit message |
title | string | Merge title |
atomgit_set_repository_pull_mergers
Set who can merge this pull request
| Parameter | Type | Description |
|---|---|---|
mergers * | Comma-separated user personal paths allowed to merge | |
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_repository_pull_merge_status
Check if a pull request can be merged
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_refresh_repository_pull_position
Refresh the position and expired state of comments on a pull request, returns the refreshed note ids
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_repository_pull_issues
Get issues associated with a pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_create_repository_pull_comment
Create a comment on a pull request
| Parameter | Type | Description |
|---|---|---|
body * | string | The text of the comment |
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
commit_id | string | The SHA of the commit to comment on |
path | string | The relative path to the file being commented on |
position | number | The line index in the diff to comment on |
position_type | string | Comment position type: text for line comment or binary for file-level comment |
atomgit_get_repository_pull_comments
Get all comments on a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
comment_type | string | Comment type filter |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_get_repository_pull_files
Get files changed in a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_update_repository_pull
Update a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
base | string | The name of the branch you want the changes pulled into |
body | string | The contents of the pull request |
close_related_issue | boolean | Close related issues when merged |
draft | boolean | Whether the pull request is a draft |
labels | string | Comma-separated label names |
maintainer_can_modify | boolean | Indicates whether maintainers can modify the pull request |
milestone_number | Milestone number | |
prune_branch | boolean | Delete the source branch after merge |
squash_merge | boolean | Sets the squash merge flag on this PR. Note: does not control API merge behavior - pass squash: true to merge_repository_pull to actually squash when merging |
state | string | State of the pull request (open, closed) |
title | string | The title of the pull request |
atomgit_get_repository_pull_commits
Get commits in a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_create_repository_pull_label
Create a label for a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
labels | array | Array of label names to add |
atomgit_get_repository_pull_labels
Get labels for a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_replace_repository_pull_labels
Replace all labels for a pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
labels | array | Array of label names to set |
atomgit_process_repository_pull_test
Process pull request test
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
action | string | Test action (approve, reject, reset) |
comment | string | Optional comment for the test action |
force | boolean | Force the action as an administrator |
atomgit_process_repository_pull_review
Process pull request review
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
action | string | Review action (approve, reject, reset) |
comment | string | Optional comment for the review action |
force | boolean | Force the action as an administrator |
atomgit_get_repository_pull_operate_logs
Get pull request operation logs
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
sort | string | Sort field |
atomgit_reset_repository_pull_testers
Reset pull request testers status
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
reset_all | boolean | Reset all testers |
testers | array | Optional tester list to set; omit to clear all testers |
atomgit_assign_repository_pull_testers
Assign users to test pull request
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
testers * | Usernames to assign as testers | |
add | boolean | Append testers instead of replacing them |
atomgit_get_repository_pull_tester_options
Get available testers for pull request
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_reset_repository_pull_assignees
Reset pull request assignees status
| Parameter | Type | Description |
|---|---|---|
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
assignees | array | Optional assignee list to set; omit to clear all assignees |
reset_all | boolean | Reset all assignees |
atomgit_assign_repository_pull_assignees
Assign users to review pull request
| Parameter | Type | Description |
|---|---|---|
assignees * | Usernames to assign as reviewers | |
number * | number | The number of pull request |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_repository_pull_files_json
Get pull request file changes information
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_repository_pull_file_content
Get file content from pull request
| Parameter | Type | Description |
|---|---|---|
head_sha * | string | The head SHA from the documentation path |
name * | string | The file name |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_link_repository_pull_issues
Link issues to pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
issues | array | Array of issue numbers to link |
atomgit_unlink_repository_pull_issues
Unlink issues from pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
issues | array | Array of issue numbers to unlink |
atomgit_assign_repository_pull_approval_reviewers
Assign users to approve pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
reviewers * | Usernames to assign as approval reviewers | |
add | boolean | Append reviewers instead of replacing them |
atomgit_get_repository_pull_approval_reviewer_options
Get available approval reviewers for pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_pull_request_comment
Get a specific pull request comment
| Parameter | Type | Description |
|---|---|---|
id * | The ID of comment | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
atomgit_edit_pull_request_comment
Edit a pull request comment
| Parameter | Type | Description |
|---|---|---|
body * | string | The updated comment content |
id * | The ID of comment to edit | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
atomgit_reply_pull_request_discussion
Reply to a pull request discussion comment
| Parameter | Type | Description |
|---|---|---|
body * | string | The reply content |
discussion_id * | The ID of discussion | |
number * | number | The number of pull request |
owner * | string | The owner of repository |
repo * | string | The name of repository |
atomgit_update_pull_request_discussion_comment
Update pull request discussion comment resolve status
| Parameter | Type | Description |
|---|---|---|
discussion_id * | The ID of discussion | |
number * | The number of pull request | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
resolved * | boolean | Whether the comment is resolved |
atomgit_get_pull_request_reactions
Get reactions for a pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
emoji_name | string | Emoji filter |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_get_pull_request_comment_reactions
Get reactions for a pull request comment
| Parameter | Type | Description |
|---|---|---|
comment_id * | The ID of comment | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
emoji_name | string | Emoji filter |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page |
atomgit_get_pull_request_modify_history
Get modification history for a pull request
| Parameter | Type | Description |
|---|---|---|
number * | The number of pull request | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
atomgit_get_pull_request_comment_modify_history
Get modification history for a pull request comment
| Parameter | Type | Description |
|---|---|---|
comment_id * | The ID of comment | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
atomgit_get_enterprise_pull_requests
Get enterprise pull requests list
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
author | string | Author username |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
base | string | Base branch filter |
created_after | string | Created after filter |
created_before | string | Created before filter |
direction | string | Sort direction |
issue_number | Issue number filter | |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
scope | string | Scope filter (e.g. created_by_me) |
search | string | Search keyword |
sort | string | Sort field |
state | string | Pull request state |
updated_after | string | Updated after filter |
updated_before | string | Updated before filter |
atomgit_get_organization_pull_requests
Get organization pull requests list
| Parameter | Type | Description |
|---|---|---|
org * | string | The organization name |
author | string | Author username |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
base | string | Base branch filter |
created_after | string | Created after filter |
created_before | string | Created before filter |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | Number of results per page | |
scope | string | Scope filter (e.g. created_by_me) |
search | string | Search keyword |
sort | string | Sort field |
state | string | Pull request state |
updated_after | string | Updated after filter |
updated_before | string | Updated before filter |
atomgit_get_enterprise_pull_request_issues
Get enterprise issue related pull requests
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | The enterprise name |
number * | number | The issue number |
atomgit_get_repository_commits
Get all commits in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository (username or organization) |
repo * | string | The name of the repository |
author | string | Author filter |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
path | string | File path filter |
perPage | Number of results per page | |
sha | string | SHA or branch to start listing commits from (optional) |
since | string | Only return commits after this time |
until | string | Only return commits before this time |
atomgit_get_repository_commit
Get a specific commit in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
sha * | string | The SHA of commit |
show_diff | boolean | Whether to include diff content |
atomgit_compare_repository_commits
Compare two commits in a repository
| Parameter | Type | Description |
|---|---|---|
base * | string | The base commit SHA or branch name |
head * | string | The head commit SHA or branch name |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
straight | boolean | Compare without merge base |
suffix | string | Compare suffix |
atomgit_create_repository_commit_comment
Create a comment on a specific commit
| Parameter | Type | Description |
|---|---|---|
body * | string | The comment content |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
sha * | string | The SHA of commit |
atomgit_get_repository_commit_comment
Get a specific commit comment
| Parameter | Type | Description |
|---|---|---|
id * | The ID of the comment | |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
atomgit_update_repository_commit_comment
Update a commit comment
| Parameter | Type | Description |
|---|---|---|
body * | string | The updated comment content |
id * | The ID of the comment to update | |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
atomgit_get_repository_commit_comments
Get all commit comments for a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
order | string | Sort order |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_get_repository_commit_statistics
Get code contribution statistics for a repository
| Parameter | Type | Description |
|---|---|---|
branch_name * | string | Branch name filter |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
author | string | Author filter |
only_self | boolean | Only include current user commits |
sha | string | SHA or branch to get statistics for (optional) |
since | string | Start time filter |
until | string | End time filter |
atomgit_get_repository_commit_ref_comments
Get comments for a specific commit reference
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
ref * | string | The commit reference (SHA or branch) |
repo * | string | The name of repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_get_repository_commit_diff
Get the diff for a specific commit
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
sha * | string | The SHA of commit |
atomgit_get_repository_commit_patch
Get the patch for a specific commit
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
sha * | string | The SHA of commit |
atomgit_get_repository_tags
List all tags in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_create_repository_tag
Create a tag for a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
refs * | string | The commit SHA or ref this tag points to |
repo * | string | The name of repository |
tag_name * | string | The name of the tag |
tag_message | string | Tag message |
atomgit_get_repository_protected_tags
List protected tags in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number |
perPage | number | Number of results per page |
atomgit_create_repository_protected_tag
Create a protected tag in a repository
| Parameter | Type | Description |
|---|---|---|
name * | string | The name of the protected tag |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
create_access_level | number | Allowed access level for creating the tag |
atomgit_update_repository_protected_tag
Update a protected tag in a repository
| Parameter | Type | Description |
|---|---|---|
create_access_level * | number | Allowed access level for creating the tag |
name * | string | The name of protected tag |
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
atomgit_get_repository_protected_tag
Get details of a protected tag
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository (username or organization) |
repo * | string | The name of repository |
tag_name * | string | The name of protected tag |
atomgit_get_repository_labels
获取仓库所有任务标签
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量 |
atomgit_create_repository_label
创建仓库任务标签
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
color | string | 标签颜色 |
description | string | 标签描述 |
name | string | 标签名称 |
atomgit_update_repository_label
更新一个仓库的任务标签
| Parameter | Type | Description |
|---|---|---|
original_name * | string | 原标签名称 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
color | string | 标签颜色 |
description | string | 标签描述 |
name | string | 新标签名称 |
atomgit_replace_all_repository_labels
替换所有仓库标签
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
labels | array |
atomgit_get_enterprise_labels
获取企业所有的标签
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量 |
atomgit_get_labels_list
获取标签列表
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业ID |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | 排序方向 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量 | |
search | string | 搜索关键字 |
atomgit_replace_repository_issue_all_labels
Replace all labels for an issue
| Parameter | Type | Description |
|---|---|---|
number * | The issue number | |
owner * | string | The owner of repository |
repo * | string | The name of repository |
labels | array | Array of label names |
atomgit_get_repository_milestones
获取仓库所有里程碑
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | 排序方向 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码,默认为1 |
perPage | number | 每页结果数,默认为30 |
sort | string | 排序字段 |
state | string | 状态(open, closed, all) |
atomgit_create_repository_milestone
创建仓库里程碑
| Parameter | Type | Description |
|---|---|---|
due_on * | string | 截止日期 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
title * | string | 里程碑标题 |
description | string | 里程碑描述 |
state | string | 状态(open, closed) |
atomgit_get_repository_milestone
获取仓库单个里程碑
| Parameter | Type | Description |
|---|---|---|
number * | number | 里程碑编号 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_update_repository_milestone
更新仓库里程碑
| Parameter | Type | Description |
|---|---|---|
due_on * | string | 截止日期 |
number * | number | 里程碑编号 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
title * | string | 里程碑标题 |
description | string | 里程碑描述 |
state | string | 状态(open, closed) |
atomgit_get_current_user
Get the current authenticated user information
atomgit_get_user
Get information about a specific user
| Parameter | Type | Description |
|---|---|---|
username * | string | The username of the user |
atomgit_get_user_followers
List followers of a specific user
| Parameter | Type | Description |
|---|---|---|
username * | string | The username of the user |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page (max 100) |
atomgit_get_user_following
List accounts followed by a specific user (users or organizations)
| Parameter | Type | Description |
|---|---|---|
username * | string | The username of the user |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page (max 100) |
atomgit_get_user_repos
Get all repositories for a specific user
| Parameter | Type | Description |
|---|---|---|
username * | string | The username of the user |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
sort | string | Sort field |
type | string | Repository type filter |
atomgit_get_repository
Get a specific repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of the repository |
repo * | string | The name of the repository |
atomgit_get_current_user_repos
Get all repositories for the current authenticated user
| Parameter | Type | Description |
|---|---|---|
affiliation | string | Affiliation filter |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
q | string | Search keyword |
repo_type | string | Repository category filter |
sort | string | Sort field |
type | string | Repository type filter |
visibility | string | Visibility filter |
atomgit_get_user_starred_repos
Get all starred repositories for a specific user
| Parameter | Type | Description |
|---|---|---|
username * | string | The username of the user |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
sort | string | Sort field |
atomgit_get_current_user_starred_repos
Get all starred repositories for the current authenticated user
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
sort | string | Sort field |
atomgit_get_user_subscriptions
List repositories watched by a user
| Parameter | Type | Description |
|---|---|---|
username * | string | The username |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
sort | string | Sort field |
atomgit_get_current_user_subscriptions
List repositories watched by current user
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | Sort direction |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
sort | string | Sort field |
atomgit_get_current_user_namespaces
List all namespaces for current user
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
mode | string | Namespace mode |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_get_repository_notifications
List notifications in a repository
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository |
repo * | string | The name of repository |
before | string | Only return notifications updated before this time |
ids | string | Comma-separated notification IDs |
since | string | Only return notifications updated after this time |
type | string | Notification type filter |
unread | boolean | Whether to return unread notifications only |
atomgit_mark_repository_notifications_read
Mark notifications in a repository as read
| Parameter | Type | Description |
|---|---|---|
owner * | string | The owner of repository |
repo * | string | The name of repository |
ids | string | Comma-separated notification IDs |
atomgit_create_user_repository
Create a personal repository
| Parameter | Type | Description |
|---|---|---|
name * | string | Repository name |
auto_init | boolean | Initialize with a README |
can_comment | boolean | Whether comments are enabled |
default_branch | string | Default branch name |
description | string | Repository description |
gitignore_template | string | Gitignore template |
has_issues | boolean | Whether issues are enabled |
has_wiki | boolean | Whether wiki is enabled |
import_url | string | Git URL to import |
license_template | string | License template |
path | string | Repository path |
private | boolean | Whether repository is private |
project_template | string | Project template path |
repository_type | string | Repository type |
atomgit_update_current_user
Update current user profile
| Parameter | Type | Description |
|---|---|---|
avatar | string | Avatar URL |
company | string | Company |
description | string | Profile description |
email | string | User email |
github_account | string | GitHub account |
location | string | Location |
nickname | string | User nickname |
website | string | Personal website |
atomgit_get_current_user_emails
Get all emails for current user
atomgit_get_user_events
Get user events
| Parameter | Type | Description |
|---|---|---|
username * | string | The username |
next | string | Next page token |
year | string | Year filter |
atomgit_add_user_key
Add a public key for user
| Parameter | Type | Description |
|---|---|---|
key * | string | Public key content |
title * | string | Key title |
atomgit_get_current_user_keys
List all public keys for current user
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | Page number for pagination |
perPage | number | Number of results per page |
atomgit_get_current_user_namespace
Get a namespace for current user
| Parameter | Type | Description |
|---|---|---|
path * | string | Namespace path |
atomgit_get_user_key
Get a specific public key
| Parameter | Type | Description |
|---|---|---|
id * | The ID of key |
atomgit_get_current_user_pull_requests
List pull requests for current user
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
created_after | string | Created after filter |
created_before | string | Created before filter |
direction | string | Sort direction |
labels | string | Comma-separated label names |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | Page number for pagination | |
perPage | Number of results per page | |
scope | string | Scope filter |
sort | string | Sort field |
source_branch | string | Source branch filter |
state | string | Pull request state |
target_branch | string | Target branch filter |
updated_after | string | Updated after filter |
updated_before | string | Updated before filter |
atomgit_create_organization
创建组织
| Parameter | Type | Description |
|---|---|---|
path * | string | 组织路径 |
description | string | 组织描述 |
name | string | 组织名称,默认等于 path |
visibility | string | 可见性 |
atomgit_get_organization
获取一个组织信息
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
atomgit_create_organization_repository
为组织创建仓库
| Parameter | Type | Description |
|---|---|---|
name * | string | 仓库名称 |
org * | string | 组织名 |
auto_init | boolean | 是否初始化 README |
can_comment | boolean | 是否允许评论 |
default_branch | string | 默认分支名称 |
description | string | 仓库描述 |
gitignore_template | string | Git Ignore 模板 |
has_issues | boolean | 是否启用 Issue |
has_wiki | boolean | 是否启用 Wiki |
homepage | string | 主页 |
import_url | string | 导入仓库的 Git 地址 |
license_template | string | License 模板 |
path | string | 仓库路径 |
private | boolean | 是否私有仓库 |
project_template | string | 模板项目 path |
public | number | 开源类型。0 私有,1 外部开源,2 内部开源 |
repository_type | string | 仓库类型 |
atomgit_get_organization_repositories
获取组织项目列表
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 (可选) |
perPage | number | 每页数量 (可选) |
repo_type | string | 仓库分类过滤 |
type | string | 仓库类型过滤 |
atomgit_get_user_organizations
列出用户所属的组织
| Parameter | Type | Description |
|---|---|---|
username * | string | 用户名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 (可选) | |
perPage | 每页数量 (可选) |
atomgit_get_current_user_organizations
列出授权用户所属的组织
| Parameter | Type | Description |
|---|---|---|
admin | boolean | 仅返回管理员组织 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 (可选) | |
perPage | 每页数量 (可选) |
atomgit_get_organization_member
获取组织成员详情
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
username * | string | 用户名 |
atomgit_update_organization
更新授权用户所管理的组织资料
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
description | string | 组织简介 |
email | string | 组织公开邮箱 |
html_url | string | 组织站点 |
location | string | 组织所在地 |
name | string | 组织名称 |
atomgit_get_enterprise_member
获取组织的一个成员
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 组织的路径 (path/login) |
username * | string | 用户名 |
atomgit_update_enterprise_member
修改组织成员权限
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 组织的路径 (path/login) |
role * | string | 成员角色 |
username * | string | 用户名 |
role_id | string | 自定义角色 ID |
atomgit_get_current_user_organization_membership
获取授权用户在一个组织的成员资料
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
atomgit_get_organization_members
列出一个组织的所有成员
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 (可选) |
perPage | number | 每页数量 (可选) |
role | string | 成员角色过滤 |
atomgit_get_enterprise_members
列出组织的所有成员
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 组织的路径 (path/login) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
org | string | 组织名过滤 |
page | number | 页码 (可选) |
perPage | number | 每页数量 (可选) |
role | string | 成员角色过滤 |
atomgit_invite_organization_member
邀请组织成员
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
username * | string | 要邀请的用户名 |
permission | string | 成员权限 |
role_id | string | 自定义角色 ID |
atomgit_get_organization_followers
列出指定组织的所有关注者
| Parameter | Type | Description |
|---|---|---|
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
org | string | 组织名(也可传旧参数 owner,二者传其一) |
owner | string | 已废弃:org 的旧别名 |
page | number | 页码 (可选) |
perPage | number | 每页数量 (可选) |
atomgit_get_organization_issue_extend_settings
获取 issue 扩展配置
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
atomgit_get_organization_customized_roles
获取组织自定义角色
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
atomgit_get_organization_discussions
获取组织讨论列表
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织path |
direction | string | 排序方向 asc 或 desc |
page | 当前的页码 | |
perPage | 每页的数量,最大为 100,默认 20 | |
search | string | 根据标题和描述搜索 |
sort | string | 排序字段 created 或 comment_size |
atomgit_get_organization_discussion
获取组织讨论详情
| Parameter | Type | Description |
|---|---|---|
number * | string | 讨论的编号 |
org * | string | 组织path |
atomgit_get_organization_discussion_comments
获取组织讨论评论列表
| Parameter | Type | Description |
|---|---|---|
number * | string | 讨论的编号 |
org * | string | 组织path |
order | string | 排序方式 |
page | 当前的页码 | |
perPage | 每页的数量 |
atomgit_get_organization_discussion_comment_replies
获取组织讨论评论回复列表
| Parameter | Type | Description |
|---|---|---|
commentId * | string | 评论id |
number * | string | 讨论的编号 |
org * | string | 组织path |
page | 当前的页码 | |
perPage | 每页的数量 |
atomgit_create_organization_discussion
创建组织讨论
| Parameter | Type | Description |
|---|---|---|
categoryName * | string | 讨论分类名称 |
mdContent * | string | 讨论内容(md格式) |
org * | string | 组织path |
title * | string | 讨论标题 |
atomgit_update_organization_discussion
更新组织讨论
| Parameter | Type | Description |
|---|---|---|
number * | 讨论的编号 | |
org * | string | 组织path |
categoryName | string | 讨论分类名称 |
mdContent | string | 讨论内容(md格式) |
title | string | 讨论标题 |
atomgit_create_organization_discussion_comment
创建组织讨论评论
| Parameter | Type | Description |
|---|---|---|
mdContent * | string | 评论内容(md格式) |
number * | 讨论的编号 | |
org * | string | 组织path |
atomgit_update_organization_discussion_comment
更新组织讨论评论
| Parameter | Type | Description |
|---|---|---|
id * | string | 评论id |
mdContent * | string | 评论内容(md格式) |
number * | 讨论的编号 | |
org * | string | 组织path |
atomgit_reply_organization_discussion_comment
回复组织讨论评论
| Parameter | Type | Description |
|---|---|---|
id * | string | 评论id |
mdContent * | string | 回复内容(md格式) |
number * | 讨论的编号 | |
org * | string | 组织path |
atomgit_get_repository_webhooks
获取仓库Webhook列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者用户名或组织名 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
atomgit_create_repository_webhook
创建仓库Webhook
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者用户名或组织名 |
repo * | string | 仓库名称 |
url * | string | 远程 HTTP URL |
encryption_type | number | 加密类型。0 密码,1 签名密钥 |
issues_events | boolean | 是否触发 Issue 事件 |
merge_requests_events | boolean | 是否触发 Merge Request 事件 |
note_events | boolean | 是否触发评论事件 |
password | string | 请求密码 |
push_events | boolean | 是否触发 Push 事件 |
tag_push_events | boolean | 是否触发 Tag Push 事件 |
atomgit_get_repository_webhook
获取特定仓库Webhook
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook ID |
owner * | string | 仓库所有者用户名或组织名 |
repo * | string | 仓库名称 |
atomgit_update_repository_webhook
更新仓库Webhook
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook ID |
owner * | string | 仓库所有者用户名或组织名 |
repo * | string | 仓库名称 |
url * | string | 远程 HTTP URL |
encryption_type | number | 加密类型。0 密码,1 签名密钥 |
issues_events | boolean | 是否触发 Issue 事件 |
merge_requests_events | boolean | 是否触发 Merge Request 事件 |
note_events | boolean | 是否触发评论事件 |
password | string | 请求密码 |
push_events | boolean | 是否触发 Push 事件 |
tag_push_events | boolean | 是否触发 Tag Push 事件 |
atomgit_test_repository_webhook
测试仓库Webhook
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook ID |
owner * | string | 仓库所有者用户名或组织名 |
repo * | string | 仓库名称 |
atomgit_add_repository_collaborator
添加项目成员或更新项目成员权限
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
username * | string | 用户名 |
permission | string | 权限级别(read, write, admin) |
atomgit_get_repository_collaborators
获取仓库的所有成员
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
atomgit_check_repository_collaborator
判断用户是否为仓库成员
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
username * | string | 用户名 |
atomgit_get_repository_collaborator_permission
查看仓库成员的权限
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
username * | string | 用户名 |
atomgit_get_self_collaborator_permission
查看当前成员仓库的权限点
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
atomgit_create_repository_release
创建仓库Release
| Parameter | Type | Description |
|---|---|---|
body * | string | 发布说明 |
name * | string | 发布名称 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
tag_name * | string | 标签名称 |
draft | boolean | 是否为草稿 |
prerelease | boolean | 是否为预发布 |
release_status | string | Release状态。pre(预发布版本),latest(最新版本) |
tag | string | 标签名称 |
target_commitish | string | 目标提交 SHA 或分支 |
atomgit_update_repository_release
更新仓库Release
| Parameter | Type | Description |
|---|---|---|
body * | string | 发布说明 |
name * | string | 发布名称 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
tag * | string | 标签名称 |
draft | boolean | 是否为草稿 |
prerelease | boolean | 是否为预发布 |
release_status | string | Release状态。pre(预发布版本),latest(最新版本) |
atomgit_get_repository_releases
获取仓库的所有Releases
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | 排序方向 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码,默认为1 |
perPage | number | 每页结果数,默认为30 |
atomgit_get_repository_release
获取仓库的单个Releases
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
tag * | string | 标签名称 |
temp_download_url | string | 是否返回临时下载地址 |
atomgit_get_latest_release
获取仓库的最后更新的Release
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
type | string | 类型。updated(最后更新的),latest(最新的) |
atomgit_get_release_by_tag
根据Tag名称获取仓库的Release
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
tag * | string | 标签名称 |
atomgit_download_release_asset
下载仓库release附件
| Parameter | Type | Description |
|---|---|---|
file_name * | string | 文件名 |
owner * | string | 仓库所有者 |
repo * | string | 仓库名称 |
tag * | string | Release 标签名 |
atomgit_get_release_upload_url
Get release asset upload URL
| Parameter | Type | Description |
|---|---|---|
file_name * | string | The file name |
owner * | string | The owner of repository |
repo * | string | The name of repository |
tag * | string | The tag name |
atomgit_get_enterprise_member_v8
获取企业的一个成员
| Parameter | Type | Description |
|---|---|---|
enterprise * | 企业名 | |
username * | string | 用户名 |
atomgit_get_enterprise_members_v8
列出企业的所有成员
| Parameter | Type | Description |
|---|---|---|
enterprise * | 企业名 | |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 (可选) |
perPage | number | 每页数量 (可选) |
role | string | 成员角色过滤 |
atomgit_invite_enterprise_member_v8
邀请企业成员
| Parameter | Type | Description |
|---|---|---|
enterprise * | 企业名 | |
username * | string | 用户名 |
permission | string | 成员权限 |
role_id | string | 自定义角色 ID |
atomgit_update_enterprise_member_v8
修改企业成员权限
| Parameter | Type | Description |
|---|---|---|
enterprise * | 企业名 | |
role * | string | 企业角色 |
username * | string | 用户名 |
role_id | string | 自定义角色 ID |
atomgit_get_organization_enterprise_v8
获取组织关联的企业
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织名 |
atomgit_get_enterprise_customized_roles_v8
获取企业自定义角色
| Parameter | Type | Description |
|---|---|---|
enterprise_id * | string | 企业ID |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
enterprise | string | 企业名 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 |
perPage | number | 每页数量 |
atomgit_create_enterprise_milestone_v8
创建企业里程碑
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业名 |
title * | string | 名称 |
description | string | 描述 |
due_date | string | 截止时间,格式 YYYY-MM-DD |
projects | array | 关联项目 ID 列表 |
start_date | string | 开始时间,格式 YYYY-MM-DD |
atomgit_update_enterprise_milestone_v8
修改企业里程碑
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业名 |
milestone_id * | string | 里程碑ID |
title * | string | 名称 |
description | string | 描述 |
due_date | string | 截止时间,格式 YYYY-MM-DD |
projects | array | 关联项目 ID 列表 |
start_date | string | 开始时间,格式 YYYY-MM-DD |
state_event | string | 状态变更 |
atomgit_get_enterprise_milestone_v8
获取企业里程碑详情
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业名 |
milestone_id * | string | 里程碑ID |
atomgit_get_enterprise_milestones_v8
获取企业里程碑列表
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
name | string | 里程碑名称 |
order_by | string | 排序字段 |
page | 页码 (可选) | |
perPage | 每页数量 (可选) | |
sort | string | 排序方向 |
state | string | 里程碑状态 |
atomgit_get_enterprise_projects_v8
获取企业里程碑可以关联的项目列表
| Parameter | Type | Description |
|---|---|---|
enterprise * | string | 企业名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
group_name | string | 项目组名称 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 页码 (可选) |
perPage | number | 每页数量 (可选) |
atomgit_get_enterprise_issue_extend_fields_v8
获取企业Issue自定义字段列表
| Parameter | Type | Description |
|---|---|---|
enterprise_id * | string | 企业ID |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
enterprise | string | 企业名 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量 |
atomgit_get_enterprise_issues_v8
获取企业Issue列表
| Parameter | Type | Description |
|---|---|---|
enterprise_id * | string | 企业ID |
assignees | array | 负责人用户名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
create_at | string | 任务创建日期 |
created_before | string | 任务创建截止时间 |
custom_fields | array | 自定义字段筛选 |
direction | string | 排序方向 |
issue_states | array | Issue 自定义状态 |
issue_types | array | Issue 自定义类型 |
labels | string | 标签,多个按英文逗号隔开 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
milestone_ids | array | 企业里程碑 ID 列表 |
page | number | 页码 |
perPage | number | 每页数量 |
project_ids | array | 项目 ID 列表 |
search | string | 标题搜索关键字 |
since | string | 起始更新时间 |
sort | string | 排序字段 |
atomgit_create_enterprise_label_v8
创建企业标签
| Parameter | Type | Description |
|---|---|---|
description * | string | 标签描述 |
enterpriseId * | number | 企业id |
name * | string | 标签名称 |
color | string | 标签的颜色,以6位16进制表示,前面带有'#'号 |
atomgit_update_enterprise_label_v8
更新企业标签
| Parameter | Type | Description |
|---|---|---|
description * | string | 标签描述 |
enterpriseId * | number | 企业id |
labelId * | string | 标签id |
name * | string | 标签名称 |
color | string | 标签的颜色,以6位16进制表示,前面带有'#'号 |
atomgit_get_enterprise_label_v8
分页查询企业标签
| Parameter | Type | Description |
|---|---|---|
enterpriseId * | number | 企业id |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量,最大100 | |
search | string | 关键词搜索 |
atomgit_get_organization_kanbans
获取组织看板列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 组织名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量 | |
search | string | 搜索关键字 |
sort | string | 排序字段 |
status | number | 看板状态 |
visibility | number | 可见性 |
atomgit_get_organization_kanban
获取特定看板详情
| Parameter | Type | Description |
|---|---|---|
kanban_id * | string | 看板ID |
owner * | string | 组织名 |
atomgit_add_org_kanban_item
添加Issue或者Pull Request到看板
| Parameter | Type | Description |
|---|---|---|
issue_iids * | array | 要添加到看板的 Issue IID 列表 |
kanban_id * | string | 看板ID |
owner * | string | 组织名 |
pr_iids * | array | 要添加到看板的 Pull Request IID 列表 |
repo * | string | 仓库名 |
atomgit_update_org_kanban_state
修改看板状态
| Parameter | Type | Description |
|---|---|---|
kanban_id * | string | 看板ID |
owner * | string | 组织名 |
state * | string | 看板状态 |
atomgit_update_org_kanban_repo_item
更新Issue或者Pull Request关联的看板
| Parameter | Type | Description |
|---|---|---|
iid * | Issue/PR ID | |
kanban_id * | string | 新的看板ID |
owner * | string | 组织名 |
repo * | string | 仓库名 |
type * | string | 类型 (issue/pull) |
atomgit_get_org_kanban_item_list
查询看板内容列表
| Parameter | Type | Description |
|---|---|---|
kanban_id * | string | 看板ID |
owner * | string | 组织名 |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 页码 | |
perPage | 每页数量 | |
repo | string | 仓库路径 |
source_iids | string | 来源 IID,多个用逗号分隔 |
source_status | string | 来源状态 |
source_type | string | 来源类型 |
title | string | 标题关键字 |
atomgit_chat_completion
AI文本生成完成 (Chat Completion)
| Parameter | Type | Description |
|---|---|---|
messages * | array | 消息列表 |
model * | string | 模型名称 |
frequency_penalty | number | 频率惩罚系数 |
maxTokens | number | 最大 Token 数 |
temperature | number | 采样温度 |
top_k | number | top_k |
top_p | number | top_p |
atomgit_audio_transcription
AI语音识别 (Automatic Speech Recognition)
| Parameter | Type | Description |
|---|---|---|
file * | string | 音频文件内容或路径标识 |
model * | string | 模型名称 |
temperature | string | 采样温度 |
atomgit_object_detection
AI物体检测 (Object Detection - YOLO)
| Parameter | Type | Description |
|---|---|---|
conf * | number | 置信度阈值 |
imgsz * | number | 输入图像尺寸 |
iou * | number | IOU 阈值 |
model * | string | YOLO 模型权重文件名称 |
source * | string | 待检测图片 base64 编码字符串 |
atomgit_video_generation_create
AI图像生成视频 - 创建任务 (Image to Video Generation - Create Task)
| Parameter | Type | Description |
|---|---|---|
img_url * | string | 图片 URL 或 Base64 内容 |
model * | string | 模型名称 |
prompt * | string | 提示词 |
seed | number | 随机种子 |
atomgit_video_generation_status
AI图像生成视频 - 查询状态 (Image to Video Generation - Query Status)
| Parameter | Type | Description |
|---|---|---|
request_id * | string | 请求 ID |
atomgit_audio_classification
AI音频分类 (Audio Classification)
| Parameter | Type | Description |
|---|---|---|
file * | string | 音频文件内容或路径标识 |
model * | string | 模型名称 |
atomgit_get_repository_actions_artifacts
列出仓库的 Artifacts
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | 排序方向,asc 或 desc |
maxPages | 自动分页时的最大页数限制(默认 100) | |
name | string | 制品名称过滤(模糊匹配) |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
sort | string | 排序字段,当前仅支持 created |
atomgit_get_repository_actions_artifact
获取 Artifact 详情
| Parameter | Type | Description |
|---|---|---|
artifactId * | string | 制品id |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
atomgit_download_repository_actions_artifact
下载指定 Artifact
| Parameter | Type | Description |
|---|---|---|
archiveFormat * | string | 归档格式,仅支持 zip |
artifactId * | string | 制品id |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
atomgit_get_repository_actions_workflows
获取仓库的流水线列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
keyword | string | 关键字过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
atomgit_validate_repository_actions_workflow
校验 Workflow YAML 语法。注意 AtomGit Actions 方言要求:每个 step 必须有 name 字段;on 需写结构化形式(如 on.push.branches),裸写 on: push 会报错
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
yamlContent * | string | Workflow YAML 明文内容(服务端会自动做 base64 编码) |
atomgit_dispatch_repository_actions_workflow
手动运行流水线。仅当 workflow 的 on 中声明了 workflow_dispatch 触发器时才可手动触发
| Parameter | Type | Description |
|---|---|---|
inputs * | object | workflow_dispatch 定义的输入参数(键值均为字符串,无参数时传空对象) |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
ref * | string | 触发运行的分支或 tag |
repo * | string | 仓库路径(path) |
workflowId * | string | 流水线 id(可通过 get_repository_actions_workflows 获取) |
atomgit_get_repository_actions_runs
获取仓库所有的流水线的运行记录
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
branch | string | 分支过滤 |
endTime | number | 结束时间过滤,Unix 时间戳(毫秒) |
event | string | 触发事件类型,MR、Push 或 Manual |
executor | string | 触发人用户名 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | 当前的页码 | |
perPage | 每页的数量,最大为 100,默认 20 | |
pull_request_id | string | PR 的编号 |
startTime | number | 开始时间过滤,Unix 时间戳(毫秒) |
status | string | 运行状态 |
workflow_id | string | 流水线 id |
workflow_name | string | 流水线名称 |
atomgit_get_repository_actions_run
获取流水线的运行详情
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_get_repository_actions_run_artifacts
列出特定 Run 的 Artifacts
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
direction | string | 排序方向,asc 或 desc |
maxPages | 自动分页时的最大页数限制(默认 100) | |
name | string | 制品名称过滤(模糊匹配) |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
sort | string | 排序字段,当前仅支持 created |
atomgit_get_repository_actions_run_jobs
获取工作流运行的jobs列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_get_repository_actions_run_job
获取工作流运行的job详情
| Parameter | Type | Description |
|---|---|---|
jobId * | string | 任务id |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_download_repository_actions_run_job_log
下载工作流运行的job日志
| Parameter | Type | Description |
|---|---|---|
jobId * | string | 任务id |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_query_repository_actions_job_step_logs
查询工作流 Job 的 Step 级日志。不传 stepId 返回整个 Job 的日志,传 stepId 返回指定 Step 的日志(step id 可通过 get_repository_actions_run_job 的 steps 数组获取)
| Parameter | Type | Description |
|---|---|---|
jobId * | string | 任务id |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
limit | number | 每次读取的日志长度(可选) |
offset | number | 日志偏移量(可选,用于分页读取) |
sort | string | 排序方式(可选,如 asc/desc) |
stepId | string | 步骤id(可选,不传则返回整个 Job 的日志) |
atomgit_get_repository_actions_runners
查询指定仓库下的所有主机 Runner
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
keyword | string | 关键字过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
atomgit_get_repository_actions_runner_sets
查询指定仓库下的所有 K8S Runner
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
keyword | string | 关键字过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
atomgit_get_organization_actions_runner_groups
查询指定组织下的所有 Runner Group
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织path |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
keyword | string | 关键字过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
atomgit_get_organization_actions_runner_group
获取指定 Runner Group 的详细信息
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织path |
runnerGroupId * | string | Runner Group id |
atomgit_get_organization_actions_runner_group_runners
查询指定 Runner Group 下的所有主机 Runner
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织path |
runnerGroupId * | string | Runner Group id |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
keyword | string | 关键字过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
atomgit_get_organization_actions_runner_group_runner_sets
查询指定 Runner Group 下的所有 K8S Runner
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织path |
runnerGroupId * | string | Runner Group id |
autoPaginate | boolean | 是否自动获取所有页(默认 false,设为 true 时自动获取全部数据) |
keyword | string | 关键字过滤 |
maxPages | 自动分页时的最大页数限制(默认 100) | |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
atomgit_get_organization_actions_job_history
查询 Runner 资源的 Job 执行历史
| Parameter | Type | Description |
|---|---|---|
org * | string | 组织path |
page | number | 当前页码 |
perPage | number | 每页的项目数 |
startTimeBegin | string | 开始时间过滤起始,格式:yyyy-MM-dd HH:mm:ss |
startTimeEnd | string | 开始时间过滤结束,格式:yyyy-MM-dd HH:mm:ss |
atomgit_rerun_repository_actions_run
重新运行流水线
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_retry_repository_actions_run
重试流水线中的失败任务
| Parameter | Type | Description |
|---|---|---|
jobRunIds * | array | 任务id数组 |
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_stop_repository_actions_run
停止运行中的流水线实例
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
runId * | string | 流水线运行id |
atomgit_get_repository_clas
获取仓库已配置的 CLA(贡献者许可协议)列表
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
atomgit_configure_repository_cla
为仓库配置 CLA 协议。传入 cla_id 设置指定协议;不传或传空则清空仓库的 CLA 配置。cla_id 需由用户提供(来自 AtomGit CLA 协议目录,当前目录接口未开放)。
| Parameter | Type | Description |
|---|---|---|
owner * | string | 仓库所属空间地址(组织或个人的地址path) |
repo * | string | 仓库路径(path) |
claId | string | CLA 协议 ID;留空则清空仓库当前 CLA 配置 |
enforceCheck | boolean | 是否强制校验 PR 贡献者签署 CLA |