atomgit-mcp-server

v2.10.0
@atomgit.com/atomgit-mcp-server Checked 19 hours ago Published 7 days ago

AtomGit 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 } 信封结构

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
sha *stringcommit SHA值
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
file_pathstring文件路径过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量
recursivenumber是否递归获取子目录,1 表示递归

atomgit_get_repository_content

获取仓库具体路径下的内容

ParameterTypeDescription
owner *string仓库所有者
path *string文件路径
repo *string仓库名称
refstring分支或tag名称,可选

atomgit_create_repository_file

新建文件

ParameterTypeDescription
content *string文件内容(明文传入,服务端会自动按 AtomGit API 要求编码为 base64)
message *string提交信息
owner *string仓库所有者
path *string文件路径
repo *string仓库名称
author[email]string提交作者邮箱
author[name]string提交作者姓名
branchstring分支名称

atomgit_update_repository_file

更新文件

ParameterTypeDescription
content *string文件内容(明文传入,服务端会自动按 AtomGit API 要求编码为 base64)
message *string提交信息
owner *string仓库所有者
path *string文件路径
repo *string仓库名称
sha *string文件SHA值
author[email]string提交作者邮箱
author[name]string提交作者姓名
branchstring分支名称

atomgit_get_repository_file_list

获取文件列表

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
file_namestring文件名过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码,默认1
pathstring路径,可选
perPagenumber每页数量,默认30
refstring分支或tag名称,可选
ref_namestring分支或标签名称

atomgit_get_repository_blob

获取文件Blob

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
sha *stringBlob SHA值

atomgit_get_repository_languages

获取仓库的语言

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
typestring贡献者类型过滤

atomgit_get_repository_contributors

获取仓库贡献者

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
typestring贡献者类型过滤

atomgit_set_repository_module_setting

设置项目模块

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
has_analysisboolean是否启用 Analysis
has_discussionboolean是否启用 Discussion
has_forkboolean是否允许 Fork
has_issueboolean是否启用 Issue
has_merge_requestboolean是否启用 Merge Request
has_securityboolean是否启用 Security
has_wikiboolean是否启用 Wiki
moduleDataobject模块设置数据

atomgit_update_repository

更新仓库设置

ParameterTypeDescription
name *string仓库名称
owner *string仓库所有者
repo *string仓库名称
default_branchstring默认分支
descriptionstring仓库描述
homepagestring项目地址
lfs_enabledboolean是否启用 LFS
pathstring更新后的仓库路径
privateboolean是否私有仓库
tagsarray项目标签

atomgit_update_repository_reviewer

修改项目代码审查设置

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
assigneesstring审查人员用户名,多个用英文逗号分隔
assignees_numbernumber最少审查人数
testersstring测试人员用户名,多个用英文逗号分隔
testers_numbernumber最少测试人数

atomgit_get_repository_transition

获取项目的权限模式

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_update_repository_transition

更新仓库的权限模式

ParameterTypeDescription
mode *number权限模式
owner *string仓库所有者
repo *string仓库名称
transitionDataobject权限模式数据

atomgit_set_repository_push_config

设置项目推送规则

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
commit_message_regexstring提交信息正则
configobject推送规则配置
deny_force_pushboolean禁止强推
max_file_sizenumber最大文件大小
reject_not_signed_by_gpgboolean拒绝未签名提交
skip_rule_for_ownerboolean仓库所有者跳过规则

atomgit_get_repository_push_config

获取项目推送规则

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_fork_repository

Fork一个仓库

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
forkDataobjectFork数据,可选
namestringFork 后仓库名称
organizationstring目标组织
pathstringFork 后仓库路径

atomgit_get_repository_forks

查看仓库的Forks

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
created_afterstring创建时间起始
created_beforestring创建时间截止
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码,默认1
perPagenumber每页数量,默认30
sortstring排序字段

atomgit_upload_repository_image

上传图片

ParameterTypeDescription
body *string图片内容
file_name *string文件名
owner *string仓库所有者
repo *string仓库名称
fileDatastring图片数据
filenamestring文件名

atomgit_upload_repository_file

上传文件

ParameterTypeDescription
file *string文件内容
owner *string仓库所有者
repo *string仓库名称
fileDatastring文件数据
filenamestring文件名

atomgit_get_repository_subscribers

列出 watch 了仓库的用户

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量
watched_afterstring关注开始时间
watched_beforestring关注截止时间

atomgit_get_repository_stargazers

列出 star 了仓库的用户

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量
starred_afterstringStar 开始时间
starred_beforestringStar 截止时间

atomgit_update_repository_settings

更新仓库设置

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
branch_name_regexstring分支名称正则表达式
disable_forkboolean禁止 Fork
forbidden_committer_create_branchboolean禁止提交者创建分支
forbidden_developer_create_branchboolean禁止开发者创建分支
forbidden_developer_create_branch_user_idsstring禁止开发者创建分支的白名单用户 ID
forbidden_developer_create_tagboolean禁止开发者创建标签
generate_pre_merge_refboolean生成 Pre-Merge 引用
include_lfs_objectsboolean压缩包下载包含 LFS 对象
open_gpg_verifiedboolean公开 GPG 公钥验证
rebase_disable_trigger_webhookbooleanMR rebase 不触发 Webhook
show_branch_creatorboolean展示分支创建人
tag_name_regexstring标签名称正则表达式

atomgit_get_repository_settings

获取仓库设置

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_get_repository_pull_request_settings

获取 Pull Request设置

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_update_repository_pull_request_settings

更新 Pull Request设置

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
add_notes_after_mergedboolean合并后继续允许评论
approval_approver_idsstring项目审查人 user_id,逗号分隔
approval_required_approversnumber需要审批的批准者数量
approval_required_reviewersnumber需要的审批者数量
approval_required_reviewers_enableboolean是否启用审批必需评审者
approval_required_testersnumber测试最小通过人数
approval_tester_idsstring项目测试人 user_id,逗号分隔
auto_squash_mergeboolean默认开启 Squash 合并
can_force_mergeboolean允许管理员强制合并
can_reopenboolean允许重新打开已关闭 MR
close_issue_when_mr_mergedboolean默认合并后关闭关联 Issue
delete_source_branch_when_mergedboolean合并后删除源分支
disable_merge_by_selfboolean禁止合并自己创建的 MR
disable_squash_mergeboolean禁止 Squash 合并
forbidden_pr_related_issue_closedboolean禁用合并后关闭关联 Issue
is_allow_lite_merge_requestboolean是否启用轻量级 Pull Request
is_check_claboolean是否校验 CLA
lite_merge_request_prefix_titlestring轻量级 PR 标题前缀
mark_auto_merged_mr_as_closedboolean自动合并后标记为关闭
merge_methodstring合并模式
merged_commit_authorstringMerge Commit 作者来源
only_allow_merge_if_all_discussions_are_resolvedboolean全部讨论解决后才能合并
only_allow_merge_if_pipeline_succeedsboolean仅流水线成功后允许合并
squash_merge_with_no_merge_commitbooleanSquash 合并不产生 Merge 节点

atomgit_update_repository_member_role

更新项目成员角色

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
username *string用户名
permissionstring成员权限
role_idstring自定义角色 ID

atomgit_get_repository_customized_roles

获取项目自定义角色

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
directionstring排序方向
end_datestring结束日期
start_datestring开始日期

atomgit_get_repository_download_statistics

下载次数统计

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
directionstring排序方向
end_datestring结束日期
start_datestring开始日期

atomgit_get_repository_raw_file

获取 raw 文件

ParameterTypeDescription
owner *string仓库所有者
path *string文件路径
repo *string仓库名称
refstring分支或 tag 名称,可选

atomgit_get_repository_contributors_statistic

获取仓库贡献者统计信息

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
authorstring作者过滤
current_userboolean仅当前用户
ref_namestring分支名称
sincestring开始时间
untilstring结束时间

atomgit_get_repository_events

获取仓库动态

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
afterstring开始时间
authorstring作者过滤
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
beforestring结束时间
filterstring事件过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量

atomgit_get_repository_discussions

获取项目讨论列表

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstring排序方向 asc 或 desc
maxPages自动分页时的最大页数限制(默认 100)
page当前的页码
perPage每页的数量,最大为 100,默认 20
searchstring根据标题和描述搜索
sortstring排序字段 created 或 comment_size

atomgit_get_repository_discussion

获取项目讨论详情

ParameterTypeDescription
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称

atomgit_get_repository_discussion_comments

获取项目讨论评论列表

ParameterTypeDescription
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称
orderstring排序方式
page当前的页码
perPage每页的数量

atomgit_get_repository_discussion_comment_replies

获取项目讨论评论回复列表

ParameterTypeDescription
commentId *string评论id
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称
page当前的页码
perPage每页的数量

atomgit_create_repository_discussion

创建项目讨论

ParameterTypeDescription
categoryName *string讨论分类名称
mdContent *string讨论内容(md格式)
owner *string仓库所有者
repo *string仓库名称
title *string讨论标题

atomgit_update_repository_discussion

更新项目讨论

ParameterTypeDescription
categoryName *string讨论分类名称
mdContent *string讨论内容(md格式)
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称
title *string讨论标题

atomgit_create_repository_discussion_comment

创建项目讨论评论

ParameterTypeDescription
mdContent *string评论内容(md格式)
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称

atomgit_update_repository_discussion_comment

更新项目讨论评论

ParameterTypeDescription
id *string评论id
mdContent *string评论内容(md格式)
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称

atomgit_reply_repository_discussion_comment

回复项目讨论评论

ParameterTypeDescription
id *string评论id
mdContent *string回复内容(md格式)
number *讨论的编号
owner *string仓库所有者
repo *string仓库名称

atomgit_get_repository_sync_status

查询Fork仓同步状态

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
branchstring分支名称

atomgit_sync_repository_from_source

Fork仓同步源仓库

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
branchstring拉取更新的分支名称,不传更新所有分支

atomgit_get_push_remote_mirrors

查询仓库推送远程镜像列表

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_get_repository_remote_mirror

获取仓库的远程镜像配置信息

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_get_repository_license

获取仓库许可协议

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_get_repository_branches

Get all branches in a repository

ParameterTypeDescription
owner *stringThe owner of the repository (username or organization)
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number
perPagenumberNumber of results per page
sortstringSort field

atomgit_create_repository_branch

Create a new branch in a repository

ParameterTypeDescription
branch_name *stringThe name of the new branch to create
owner *stringThe owner of the repository
refs *stringThe branch name or commit SHA to create the new branch from
repo *stringThe name of the repository
branchstringLegacy alias for branch_name
descriptionstringThe description of the new branch

atomgit_get_repository_branch

Get a specific branch in a repository

ParameterTypeDescription
branch *stringThe name of the branch
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_create_branch_protection_rule

Create a branch protection rule

ParameterTypeDescription
merger *string允许合并 Pull Request 的成员或角色
owner *stringThe owner of the repository
pusher *string允许推送代码的成员或角色
repo *stringThe name of the repository
wildcard *stringThe branch name pattern (supports wildcards like "main", "feature/*")

atomgit_get_branch_protection_rules

Get all branch protection rules in a repository

ParameterTypeDescription
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_update_branch_protection_rule

Update a branch protection rule

ParameterTypeDescription
merger *string允许合并 Pull Request 的成员或角色
owner *stringThe owner of the repository
pusher *string允许推送代码的成员或角色
repo *stringThe name of the repository
wildcard *stringThe branch name pattern to update

atomgit_get_repository_issues

Get all issues in a repository

ParameterTypeDescription
owner *stringThe owner of the repository
repo *stringThe name of the repository
assigneestringAssignee username
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
created_afterstringOnly return issues created after this time
created_atstringFilter by created_at time
created_beforestringOnly return issues created before this time
creatorstringCreator username
directionstringSort direction
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
milestoneMilestone number to filter by
pagePage number for pagination
perPageNumber of results per page
searchstringSearch keyword
sincestringOnly return issues updated after this time
sortstringSort field
statestringState of issues to return (open, closed, all)
updated_afterstringOnly return issues updated after this time
updated_beforestringOnly return issues updated before this time

atomgit_create_repository_issue

Create an issue in a repository

ParameterTypeDescription
body *stringThe body content of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository
title *stringThe title of the issue
assigneestringComma-separated usernames to assign
assigneesarrayLegacy compatibility alias for assignee
custom_fieldsarrayCustom enterprise issue fields
issue_severitystringIssue severity
issue_typestringIssue type
labelsComma-separated label names. Also accepts an array for legacy compatibility.
milestonenumberMilestone number to associate with the issue
security_holestringSecurity issue marker
template_pathstringIssue template path

atomgit_get_repository_issue

Get a specific issue in a repository

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_update_repository_issue

Update an issue in a repository

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository
assigneestringComma-separated usernames to assign
assigneesarrayLegacy compatibility alias for assignee
bodystringThe body content of the issue
custom_fieldsarrayCustom enterprise issue fields
issue_severitystringIssue severity
issue_typestringIssue type
labelsComma-separated label names. Also accepts an array for legacy compatibility.
milestonenumberMilestone number to associate with the issue
security_holestringSecurity issue marker
statestringState of the issue (close/reopen, also accepts open/closed for compatibility)
statusstringEnterprise issue status
template_pathstringIssue template path
titlestringThe title of the issue

atomgit_get_repository_issue_comments

Get comments for a specific issue

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
orderstringSort order
pagePage number for pagination
perPageNumber of results per page
sincestringOnly return comments updated after this time

atomgit_create_repository_issue_comment

Create a comment on an issue

ParameterTypeDescription
body *stringThe text of the comment
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_repository_issue_comment

Get a specific comment on an issue

ParameterTypeDescription
id *The ID of the comment
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_update_repository_issue_comment

Update a comment on an issue

ParameterTypeDescription
body *stringThe updated text of the comment
id *The ID of the comment
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_create_repository_issue_label

Create labels for an issue

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository
labelsarrayArray of label names to add

atomgit_get_repository_issue_operate_logs

Get operation logs for an issue

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page

atomgit_get_repository_issue_reactions

Get reactions for an issue

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
emoji_namestringEmoji filter
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page

atomgit_get_repository_issue_comment_reactions

Get reactions for an issue comment

ParameterTypeDescription
comment_id *The ID of the comment
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
emoji_namestringEmoji filter
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page

atomgit_get_repository_issue_modify_history

Get modification history for an issue

ParameterTypeDescription
number *The number of the issue
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_repository_issue_comment_modify_history

Get modification history of an issue comment

ParameterTypeDescription
comment_id *The ID of the comment
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_update_issue_kanban_values

更新issue关联的看板字段

ParameterTypeDescription
number *Issue 编号
owner *string仓库所有者
repo *string仓库名称
kanban_idnumber看板ID
valuesobject看板字段值

atomgit_get_enterprise_issue_labels

Get labels for an enterprise issue

ParameterTypeDescription
enterprise *stringThe enterprise name
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
issueIdDeprecated alias of number (issue global ID)
issue_idDeprecated alias of number (issue global ID)
maxPages自动分页时的最大页数限制(默认 100)
numbernumberThe issue global ID (the id field from enterprise issue list APIs, not the per-list number); or pass legacy issue_id/issueId instead
pagePage number for pagination
perPageNumber of results per page

atomgit_get_enterprise_issues

Get all issues for an enterprise

ParameterTypeDescription
enterprise *stringThe enterprise name
approximateboolean是否精确查询数量,默认 false
assigneestringAssignee username
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
created_atstringCreated at filter
created_beforestringCreated before filter
creatorstringCreator username
directionstringSort direction
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
milestoneMilestone number
pagePage number for pagination
perPageNumber of results per page
programstringProgram filter
searchstringSearch keyword
sincestringOnly return issues updated after this time
sortstringSort field
statestringIssue state

atomgit_get_user_issues

Get all issues for the authenticated user

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
created_atstringCreated at filter
deadlinestringDeadline filter
directionstringSort direction
filterstringIssue filter
finished_atstringFinished at filter
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
schedulestringSchedule filter
sincestringOnly return issues updated after this time
sortstringSort field
statestringIssue state

atomgit_get_organization_issues

Get issues for an organization

ParameterTypeDescription
org *stringThe organization name
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
created_atstringCreated at filter
directionstringSort direction
filterstringIssue filter
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
searchstringSearch keyword
sortstringSort field
statestringIssue state

atomgit_get_enterprise_issue_comments

Get comments for an enterprise issue

ParameterTypeDescription
enterprise *stringThe enterprise name
number *numberThe issue number
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_get_enterprise_issue

Get a specific enterprise issue

ParameterTypeDescription
enterprise *stringThe enterprise name
number *numberThe issue number

atomgit_get_enterprise_issue_statuses

Get enterprise issue statuses

ParameterTypeDescription
enterprise *stringThe enterprise name

atomgit_get_all_repository_issue_comments

Get all issue comments in a repository

ParameterTypeDescription
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
sincestringOnly return comments updated after this time
sortstringSort field

atomgit_get_repository_issue_pull_requests

Get pull requests associated with an issue

ParameterTypeDescription
number *The issue number
owner *stringThe owner of the repository
repo *stringThe name of the repository
modeRelation mode filter

atomgit_search_users

搜索用户

ParameterTypeDescription
q *string搜索查询字符串(主参数)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
orderstring排序方向
pagenumber页码,默认为1
perPagenumber每页结果数,默认为30
querystring搜索查询字符串(q 的别名;与 q 同时传时以 q 为准)
sortstring排序字段

atomgit_search_issues

搜索 Issues

ParameterTypeDescription
q *string搜索查询字符串(主参数)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
orderstring排序方向
pagenumber页码,默认为1
perPagenumber每页结果数,默认为30
querystring搜索查询字符串(q 的别名;与 q 同时传时以 q 为准)
repostring仓库范围
sortstring排序字段
statestringIssue 状态

atomgit_search_repositories

搜索仓库

ParameterTypeDescription
q *string搜索查询字符串(主参数)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
forkstringFork 过滤
languagestring语言过滤
maxPages自动分页时的最大页数限制(默认 100)
orderstring排序方向
ownerstring仓库所有者
pagenumber页码,默认为1
perPagenumber每页结果数,默认为30
querystring搜索查询字符串(q 的别名;与 q 同时传时以 q 为准)
sortstring排序字段

atomgit_get_repository_pulls

Get all pull requests in a repository

ParameterTypeDescription
owner *stringThe owner of the repository
repo *stringThe name of the repository
assigneestringAssignee username
authorstringAuthor username
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
basestringBase branch filter
created_afterstringCreated after filter
created_beforestringCreated before filter
directionstringSort direction
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
merged_afterstringMerged after filter
merged_beforestringMerged before filter
milestone_numberMilestone number filter
only_countbooleanWhether to return only the total count
pagenumberPage number for pagination
perPagenumberNumber of results per page
reviewerstringReviewer username
sincestringOnly return pull requests updated after this time
sortstringSort field
statestringState of pull requests to return (open, closed, all)
updated_afterstringUpdated after filter
updated_beforestringUpdated before filter

atomgit_get_repository_pull

Get a specific pull request in a repository

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_create_repository_pull

Create a new pull request in a repository

ParameterTypeDescription
base *stringThe name of the branch you want the changes pulled into
head *stringThe name of the branch where your changes are implemented
owner *stringThe owner of the repository
repo *stringThe name of the repository
title *stringThe title of the pull request
assigneesAssignee usernames
bodystringThe contents of the pull request
close_related_issuebooleanClose related issues when merged
draftbooleanIndicates whether the pull request is a draft
fork_pathstringFork repository path for cross-repo pull requests
inner_issue_numsstringSemicolon-separated issue iids to link to this pull request
issuestringIssue number to auto-fill from
labelsstringComma-separated label names
maintainer_can_modifybooleanIndicates whether maintainers can modify the pull request
milestone_numberMilestone number
prune_source_branchbooleanDelete the source branch after merge
squashbooleanUse squash merge when merging
squash_commit_messagestringSquash merge commit message
testersTester usernames

atomgit_merge_repository_pull

Merge a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
commit_messagestringExtra detail to append to automatic commit message
commit_titlestringTitle for the automatic commit message
descriptionstringMerge description
force_mergebooleanWhether to force merge when repository settings and permissions allow it
merge_methodstringMerge method to use (merge, squash, rebase)
squashbooleanWhether to use squash merge
squash_commit_messagestringSquash merge commit message
titlestringMerge title

atomgit_set_repository_pull_mergers

Set who can merge this pull request

ParameterTypeDescription
mergers *Comma-separated user personal paths allowed to merge
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_repository_pull_merge_status

Check if a pull request can be merged

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe 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

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_repository_pull_issues

Get issues associated with a pull request

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_create_repository_pull_comment

Create a comment on a pull request

ParameterTypeDescription
body *stringThe text of the comment
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
commit_idstringThe SHA of the commit to comment on
pathstringThe relative path to the file being commented on
positionnumberThe line index in the diff to comment on
position_typestringComment position type: text for line comment or binary for file-level comment

atomgit_get_repository_pull_comments

Get all comments on a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
comment_typestringComment type filter
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_get_repository_pull_files

Get files changed in a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_update_repository_pull

Update a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
basestringThe name of the branch you want the changes pulled into
bodystringThe contents of the pull request
close_related_issuebooleanClose related issues when merged
draftbooleanWhether the pull request is a draft
labelsstringComma-separated label names
maintainer_can_modifybooleanIndicates whether maintainers can modify the pull request
milestone_numberMilestone number
prune_branchbooleanDelete the source branch after merge
squash_mergebooleanSets 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
statestringState of the pull request (open, closed)
titlestringThe title of the pull request

atomgit_get_repository_pull_commits

Get commits in a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page

atomgit_create_repository_pull_label

Create a label for a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
labelsarrayArray of label names to add

atomgit_get_repository_pull_labels

Get labels for a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_replace_repository_pull_labels

Replace all labels for a pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
labelsarrayArray of label names to set

atomgit_process_repository_pull_test

Process pull request test

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
actionstringTest action (approve, reject, reset)
commentstringOptional comment for the test action
forcebooleanForce the action as an administrator

atomgit_process_repository_pull_review

Process pull request review

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
actionstringReview action (approve, reject, reset)
commentstringOptional comment for the review action
forcebooleanForce the action as an administrator

atomgit_get_repository_pull_operate_logs

Get pull request operation logs

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page
sortstringSort field

atomgit_reset_repository_pull_testers

Reset pull request testers status

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
reset_allbooleanReset all testers
testersarrayOptional tester list to set; omit to clear all testers

atomgit_assign_repository_pull_testers

Assign users to test pull request

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
testers *Usernames to assign as testers
addbooleanAppend testers instead of replacing them

atomgit_get_repository_pull_tester_options

Get available testers for pull request

ParameterTypeDescription
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_reset_repository_pull_assignees

Reset pull request assignees status

ParameterTypeDescription
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
assigneesarrayOptional assignee list to set; omit to clear all assignees
reset_allbooleanReset all assignees

atomgit_assign_repository_pull_assignees

Assign users to review pull request

ParameterTypeDescription
assignees *Usernames to assign as reviewers
number *numberThe number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_repository_pull_files_json

Get pull request file changes information

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_repository_pull_file_content

Get file content from pull request

ParameterTypeDescription
head_sha *stringThe head SHA from the documentation path
name *stringThe file name
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_assign_repository_pull_approval_reviewers

Assign users to approve pull request

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository
reviewers *Usernames to assign as approval reviewers
addbooleanAppend reviewers instead of replacing them

atomgit_get_repository_pull_approval_reviewer_options

Get available approval reviewers for pull request

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_pull_request_comment

Get a specific pull request comment

ParameterTypeDescription
id *The ID of comment
owner *stringThe owner of repository
repo *stringThe name of repository

atomgit_edit_pull_request_comment

Edit a pull request comment

ParameterTypeDescription
body *stringThe updated comment content
id *The ID of comment to edit
owner *stringThe owner of repository
repo *stringThe name of repository

atomgit_reply_pull_request_discussion

Reply to a pull request discussion comment

ParameterTypeDescription
body *stringThe reply content
discussion_id *The ID of discussion
number *numberThe number of pull request
owner *stringThe owner of repository
repo *stringThe name of repository

atomgit_update_pull_request_discussion_comment

Update pull request discussion comment resolve status

ParameterTypeDescription
discussion_id *The ID of discussion
number *The number of pull request
owner *stringThe owner of repository
repo *stringThe name of repository
resolved *booleanWhether the comment is resolved

atomgit_get_pull_request_reactions

Get reactions for a pull request

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of repository
repo *stringThe name of repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
emoji_namestringEmoji filter
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page

atomgit_get_pull_request_comment_reactions

Get reactions for a pull request comment

ParameterTypeDescription
comment_id *The ID of comment
owner *stringThe owner of repository
repo *stringThe name of repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
emoji_namestringEmoji filter
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page

atomgit_get_pull_request_modify_history

Get modification history for a pull request

ParameterTypeDescription
number *The number of pull request
owner *stringThe owner of repository
repo *stringThe name of repository

atomgit_get_pull_request_comment_modify_history

Get modification history for a pull request comment

ParameterTypeDescription
comment_id *The ID of comment
owner *stringThe owner of repository
repo *stringThe name of repository

atomgit_get_enterprise_pull_requests

Get enterprise pull requests list

ParameterTypeDescription
enterprise *stringThe enterprise name
authorstringAuthor username
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
basestringBase branch filter
created_afterstringCreated after filter
created_beforestringCreated before filter
directionstringSort direction
issue_numberIssue number filter
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page
scopestringScope filter (e.g. created_by_me)
searchstringSearch keyword
sortstringSort field
statestringPull request state
updated_afterstringUpdated after filter
updated_beforestringUpdated before filter

atomgit_get_organization_pull_requests

Get organization pull requests list

ParameterTypeDescription
org *stringThe organization name
authorstringAuthor username
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
basestringBase branch filter
created_afterstringCreated after filter
created_beforestringCreated before filter
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPageNumber of results per page
scopestringScope filter (e.g. created_by_me)
searchstringSearch keyword
sortstringSort field
statestringPull request state
updated_afterstringUpdated after filter
updated_beforestringUpdated before filter

atomgit_get_enterprise_pull_request_issues

Get enterprise issue related pull requests

ParameterTypeDescription
enterprise *stringThe enterprise name
number *numberThe issue number

atomgit_get_repository_commits

Get all commits in a repository

ParameterTypeDescription
owner *stringThe owner of the repository (username or organization)
repo *stringThe name of the repository
authorstringAuthor filter
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
pathstringFile path filter
perPageNumber of results per page
shastringSHA or branch to start listing commits from (optional)
sincestringOnly return commits after this time
untilstringOnly return commits before this time

atomgit_get_repository_commit

Get a specific commit in a repository

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
sha *stringThe SHA of commit
show_diffbooleanWhether to include diff content

atomgit_compare_repository_commits

Compare two commits in a repository

ParameterTypeDescription
base *stringThe base commit SHA or branch name
head *stringThe head commit SHA or branch name
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
straightbooleanCompare without merge base
suffixstringCompare suffix

atomgit_create_repository_commit_comment

Create a comment on a specific commit

ParameterTypeDescription
body *stringThe comment content
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
sha *stringThe SHA of commit

atomgit_get_repository_commit_comment

Get a specific commit comment

ParameterTypeDescription
id *The ID of the comment
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository

atomgit_update_repository_commit_comment

Update a commit comment

ParameterTypeDescription
body *stringThe updated comment content
id *The ID of the comment to update
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository

atomgit_get_repository_commit_comments

Get all commit comments for a repository

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
orderstringSort order
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_get_repository_commit_statistics

Get code contribution statistics for a repository

ParameterTypeDescription
branch_name *stringBranch name filter
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
authorstringAuthor filter
only_selfbooleanOnly include current user commits
shastringSHA or branch to get statistics for (optional)
sincestringStart time filter
untilstringEnd time filter

atomgit_get_repository_commit_ref_comments

Get comments for a specific commit reference

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
ref *stringThe commit reference (SHA or branch)
repo *stringThe name of repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_get_repository_commit_diff

Get the diff for a specific commit

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
sha *stringThe SHA of commit

atomgit_get_repository_commit_patch

Get the patch for a specific commit

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
sha *stringThe SHA of commit

atomgit_get_repository_tags

List all tags in a repository

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_create_repository_tag

Create a tag for a repository

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
refs *stringThe commit SHA or ref this tag points to
repo *stringThe name of repository
tag_name *stringThe name of the tag
tag_messagestringTag message

atomgit_get_repository_protected_tags

List protected tags in a repository

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number
perPagenumberNumber of results per page

atomgit_create_repository_protected_tag

Create a protected tag in a repository

ParameterTypeDescription
name *stringThe name of the protected tag
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
create_access_levelnumberAllowed access level for creating the tag

atomgit_update_repository_protected_tag

Update a protected tag in a repository

ParameterTypeDescription
create_access_level *numberAllowed access level for creating the tag
name *stringThe name of protected tag
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository

atomgit_get_repository_protected_tag

Get details of a protected tag

ParameterTypeDescription
owner *stringThe owner of repository (username or organization)
repo *stringThe name of repository
tag_name *stringThe name of protected tag

atomgit_get_repository_labels

获取仓库所有任务标签

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量

atomgit_create_repository_label

创建仓库任务标签

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
colorstring标签颜色
descriptionstring标签描述
namestring标签名称

atomgit_update_repository_label

更新一个仓库的任务标签

ParameterTypeDescription
original_name *string原标签名称
owner *string仓库所有者
repo *string仓库名称
colorstring标签颜色
descriptionstring标签描述
namestring新标签名称

atomgit_replace_all_repository_labels

替换所有仓库标签

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
labelsarray

atomgit_get_enterprise_labels

获取企业所有的标签

ParameterTypeDescription
enterprise *string企业名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量

atomgit_get_labels_list

获取标签列表

ParameterTypeDescription
enterprise *string企业ID
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstring排序方向
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量
searchstring搜索关键字

atomgit_replace_repository_issue_all_labels

Replace all labels for an issue

ParameterTypeDescription
number *The issue number
owner *stringThe owner of repository
repo *stringThe name of repository
labelsarrayArray of label names

atomgit_get_repository_milestones

获取仓库所有里程碑

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstring排序方向
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码,默认为1
perPagenumber每页结果数,默认为30
sortstring排序字段
statestring状态(open, closed, all)

atomgit_create_repository_milestone

创建仓库里程碑

ParameterTypeDescription
due_on *string截止日期
owner *string仓库所有者
repo *string仓库名称
title *string里程碑标题
descriptionstring里程碑描述
statestring状态(open, closed)

atomgit_get_repository_milestone

获取仓库单个里程碑

ParameterTypeDescription
number *number里程碑编号
owner *string仓库所有者
repo *string仓库名称

atomgit_update_repository_milestone

更新仓库里程碑

ParameterTypeDescription
due_on *string截止日期
number *number里程碑编号
owner *string仓库所有者
repo *string仓库名称
title *string里程碑标题
descriptionstring里程碑描述
statestring状态(open, closed)

atomgit_get_current_user

Get the current authenticated user information

atomgit_get_user

Get information about a specific user

ParameterTypeDescription
username *stringThe username of the user

atomgit_get_user_followers

List followers of a specific user

ParameterTypeDescription
username *stringThe username of the user
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page (max 100)

atomgit_get_user_following

List accounts followed by a specific user (users or organizations)

ParameterTypeDescription
username *stringThe username of the user
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page (max 100)

atomgit_get_user_repos

Get all repositories for a specific user

ParameterTypeDescription
username *stringThe username of the user
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
sortstringSort field
typestringRepository type filter

atomgit_get_repository

Get a specific repository

ParameterTypeDescription
owner *stringThe owner of the repository
repo *stringThe name of the repository

atomgit_get_current_user_repos

Get all repositories for the current authenticated user

ParameterTypeDescription
affiliationstringAffiliation filter
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
qstringSearch keyword
repo_typestringRepository category filter
sortstringSort field
typestringRepository type filter
visibilitystringVisibility filter

atomgit_get_user_starred_repos

Get all starred repositories for a specific user

ParameterTypeDescription
username *stringThe username of the user
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
sortstringSort field

atomgit_get_current_user_starred_repos

Get all starred repositories for the current authenticated user

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
sortstringSort field

atomgit_get_user_subscriptions

List repositories watched by a user

ParameterTypeDescription
username *stringThe username
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
sortstringSort field

atomgit_get_current_user_subscriptions

List repositories watched by current user

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstringSort direction
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
sortstringSort field

atomgit_get_current_user_namespaces

List all namespaces for current user

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
modestringNamespace mode
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_get_repository_notifications

List notifications in a repository

ParameterTypeDescription
owner *stringThe owner of repository
repo *stringThe name of repository
beforestringOnly return notifications updated before this time
idsstringComma-separated notification IDs
sincestringOnly return notifications updated after this time
typestringNotification type filter
unreadbooleanWhether to return unread notifications only

atomgit_mark_repository_notifications_read

Mark notifications in a repository as read

ParameterTypeDescription
owner *stringThe owner of repository
repo *stringThe name of repository
idsstringComma-separated notification IDs

atomgit_create_user_repository

Create a personal repository

ParameterTypeDescription
name *stringRepository name
auto_initbooleanInitialize with a README
can_commentbooleanWhether comments are enabled
default_branchstringDefault branch name
descriptionstringRepository description
gitignore_templatestringGitignore template
has_issuesbooleanWhether issues are enabled
has_wikibooleanWhether wiki is enabled
import_urlstringGit URL to import
license_templatestringLicense template
pathstringRepository path
privatebooleanWhether repository is private
project_templatestringProject template path
repository_typestringRepository type

atomgit_update_current_user

Update current user profile

ParameterTypeDescription
avatarstringAvatar URL
companystringCompany
descriptionstringProfile description
emailstringUser email
github_accountstringGitHub account
locationstringLocation
nicknamestringUser nickname
websitestringPersonal website

atomgit_get_current_user_emails

Get all emails for current user

atomgit_get_user_events

Get user events

ParameterTypeDescription
username *stringThe username
nextstringNext page token
yearstringYear filter

atomgit_add_user_key

Add a public key for user

ParameterTypeDescription
key *stringPublic key content
title *stringKey title

atomgit_get_current_user_keys

List all public keys for current user

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumberPage number for pagination
perPagenumberNumber of results per page

atomgit_get_current_user_namespace

Get a namespace for current user

ParameterTypeDescription
path *stringNamespace path

atomgit_get_user_key

Get a specific public key

ParameterTypeDescription
id *The ID of key

atomgit_get_current_user_pull_requests

List pull requests for current user

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
created_afterstringCreated after filter
created_beforestringCreated before filter
directionstringSort direction
labelsstringComma-separated label names
maxPages自动分页时的最大页数限制(默认 100)
pagePage number for pagination
perPageNumber of results per page
scopestringScope filter
sortstringSort field
source_branchstringSource branch filter
statestringPull request state
target_branchstringTarget branch filter
updated_afterstringUpdated after filter
updated_beforestringUpdated before filter

atomgit_create_organization

创建组织

ParameterTypeDescription
path *string组织路径
descriptionstring组织描述
namestring组织名称,默认等于 path
visibilitystring可见性

atomgit_get_organization

获取一个组织信息

ParameterTypeDescription
org *string组织名

atomgit_create_organization_repository

为组织创建仓库

ParameterTypeDescription
name *string仓库名称
org *string组织名
auto_initboolean是否初始化 README
can_commentboolean是否允许评论
default_branchstring默认分支名称
descriptionstring仓库描述
gitignore_templatestringGit Ignore 模板
has_issuesboolean是否启用 Issue
has_wikiboolean是否启用 Wiki
homepagestring主页
import_urlstring导入仓库的 Git 地址
license_templatestringLicense 模板
pathstring仓库路径
privateboolean是否私有仓库
project_templatestring模板项目 path
publicnumber开源类型。0 私有,1 外部开源,2 内部开源
repository_typestring仓库类型

atomgit_get_organization_repositories

获取组织项目列表

ParameterTypeDescription
org *string组织名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码 (可选)
perPagenumber每页数量 (可选)
repo_typestring仓库分类过滤
typestring仓库类型过滤

atomgit_get_user_organizations

列出用户所属的组织

ParameterTypeDescription
username *string用户名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码 (可选)
perPage每页数量 (可选)

atomgit_get_current_user_organizations

列出授权用户所属的组织

ParameterTypeDescription
adminboolean仅返回管理员组织
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码 (可选)
perPage每页数量 (可选)

atomgit_get_organization_member

获取组织成员详情

ParameterTypeDescription
org *string组织名
username *string用户名

atomgit_update_organization

更新授权用户所管理的组织资料

ParameterTypeDescription
org *string组织名
descriptionstring组织简介
emailstring组织公开邮箱
html_urlstring组织站点
locationstring组织所在地
namestring组织名称

atomgit_get_enterprise_member

获取组织的一个成员

ParameterTypeDescription
enterprise *string组织的路径 (path/login)
username *string用户名

atomgit_update_enterprise_member

修改组织成员权限

ParameterTypeDescription
enterprise *string组织的路径 (path/login)
role *string成员角色
username *string用户名
role_idstring自定义角色 ID

atomgit_get_current_user_organization_membership

获取授权用户在一个组织的成员资料

ParameterTypeDescription
org *string组织名

atomgit_get_organization_members

列出一个组织的所有成员

ParameterTypeDescription
org *string组织名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码 (可选)
perPagenumber每页数量 (可选)
rolestring成员角色过滤

atomgit_get_enterprise_members

列出组织的所有成员

ParameterTypeDescription
enterprise *string组织的路径 (path/login)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
orgstring组织名过滤
pagenumber页码 (可选)
perPagenumber每页数量 (可选)
rolestring成员角色过滤

atomgit_invite_organization_member

邀请组织成员

ParameterTypeDescription
org *string组织名
username *string要邀请的用户名
permissionstring成员权限
role_idstring自定义角色 ID

atomgit_get_organization_followers

列出指定组织的所有关注者

ParameterTypeDescription
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
orgstring组织名(也可传旧参数 owner,二者传其一)
ownerstring已废弃:org 的旧别名
pagenumber页码 (可选)
perPagenumber每页数量 (可选)

atomgit_get_organization_issue_extend_settings

获取 issue 扩展配置

ParameterTypeDescription
org *string组织名

atomgit_get_organization_customized_roles

获取组织自定义角色

ParameterTypeDescription
org *string组织名

atomgit_get_organization_discussions

获取组织讨论列表

ParameterTypeDescription
org *string组织path
directionstring排序方向 asc 或 desc
page当前的页码
perPage每页的数量,最大为 100,默认 20
searchstring根据标题和描述搜索
sortstring排序字段 created 或 comment_size

atomgit_get_organization_discussion

获取组织讨论详情

ParameterTypeDescription
number *string讨论的编号
org *string组织path

atomgit_get_organization_discussion_comments

获取组织讨论评论列表

ParameterTypeDescription
number *string讨论的编号
org *string组织path
orderstring排序方式
page当前的页码
perPage每页的数量

atomgit_get_organization_discussion_comment_replies

获取组织讨论评论回复列表

ParameterTypeDescription
commentId *string评论id
number *string讨论的编号
org *string组织path
page当前的页码
perPage每页的数量

atomgit_create_organization_discussion

创建组织讨论

ParameterTypeDescription
categoryName *string讨论分类名称
mdContent *string讨论内容(md格式)
org *string组织path
title *string讨论标题

atomgit_update_organization_discussion

更新组织讨论

ParameterTypeDescription
number *讨论的编号
org *string组织path
categoryNamestring讨论分类名称
mdContentstring讨论内容(md格式)
titlestring讨论标题

atomgit_create_organization_discussion_comment

创建组织讨论评论

ParameterTypeDescription
mdContent *string评论内容(md格式)
number *讨论的编号
org *string组织path

atomgit_update_organization_discussion_comment

更新组织讨论评论

ParameterTypeDescription
id *string评论id
mdContent *string评论内容(md格式)
number *讨论的编号
org *string组织path

atomgit_reply_organization_discussion_comment

回复组织讨论评论

ParameterTypeDescription
id *string评论id
mdContent *string回复内容(md格式)
number *讨论的编号
org *string组织path

atomgit_get_repository_webhooks

获取仓库Webhook列表

ParameterTypeDescription
owner *string仓库所有者用户名或组织名
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量

atomgit_create_repository_webhook

创建仓库Webhook

ParameterTypeDescription
owner *string仓库所有者用户名或组织名
repo *string仓库名称
url *string远程 HTTP URL
encryption_typenumber加密类型。0 密码,1 签名密钥
issues_eventsboolean是否触发 Issue 事件
merge_requests_eventsboolean是否触发 Merge Request 事件
note_eventsboolean是否触发评论事件
passwordstring请求密码
push_eventsboolean是否触发 Push 事件
tag_push_eventsboolean是否触发 Tag Push 事件

atomgit_get_repository_webhook

获取特定仓库Webhook

ParameterTypeDescription
id *stringWebhook ID
owner *string仓库所有者用户名或组织名
repo *string仓库名称

atomgit_update_repository_webhook

更新仓库Webhook

ParameterTypeDescription
id *stringWebhook ID
owner *string仓库所有者用户名或组织名
repo *string仓库名称
url *string远程 HTTP URL
encryption_typenumber加密类型。0 密码,1 签名密钥
issues_eventsboolean是否触发 Issue 事件
merge_requests_eventsboolean是否触发 Merge Request 事件
note_eventsboolean是否触发评论事件
passwordstring请求密码
push_eventsboolean是否触发 Push 事件
tag_push_eventsboolean是否触发 Tag Push 事件

atomgit_test_repository_webhook

测试仓库Webhook

ParameterTypeDescription
id *stringWebhook ID
owner *string仓库所有者用户名或组织名
repo *string仓库名称

atomgit_add_repository_collaborator

添加项目成员或更新项目成员权限

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
username *string用户名
permissionstring权限级别(read, write, admin)

atomgit_get_repository_collaborators

获取仓库的所有成员

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量

atomgit_check_repository_collaborator

判断用户是否为仓库成员

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
username *string用户名

atomgit_get_repository_collaborator_permission

查看仓库成员的权限

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
username *string用户名

atomgit_get_self_collaborator_permission

查看当前成员仓库的权限点

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称

atomgit_create_repository_release

创建仓库Release

ParameterTypeDescription
body *string发布说明
name *string发布名称
owner *string仓库所有者
repo *string仓库名称
tag_name *string标签名称
draftboolean是否为草稿
prereleaseboolean是否为预发布
release_statusstringRelease状态。pre(预发布版本),latest(最新版本)
tagstring标签名称
target_commitishstring目标提交 SHA 或分支

atomgit_update_repository_release

更新仓库Release

ParameterTypeDescription
body *string发布说明
name *string发布名称
owner *string仓库所有者
repo *string仓库名称
tag *string标签名称
draftboolean是否为草稿
prereleaseboolean是否为预发布
release_statusstringRelease状态。pre(预发布版本),latest(最新版本)

atomgit_get_repository_releases

获取仓库的所有Releases

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstring排序方向
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码,默认为1
perPagenumber每页结果数,默认为30

atomgit_get_repository_release

获取仓库的单个Releases

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
tag *string标签名称
temp_download_urlstring是否返回临时下载地址

atomgit_get_latest_release

获取仓库的最后更新的Release

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
typestring类型。updated(最后更新的),latest(最新的)

atomgit_get_release_by_tag

根据Tag名称获取仓库的Release

ParameterTypeDescription
owner *string仓库所有者
repo *string仓库名称
tag *string标签名称

atomgit_download_release_asset

下载仓库release附件

ParameterTypeDescription
file_name *string文件名
owner *string仓库所有者
repo *string仓库名称
tag *stringRelease 标签名

atomgit_get_release_upload_url

Get release asset upload URL

ParameterTypeDescription
file_name *stringThe file name
owner *stringThe owner of repository
repo *stringThe name of repository
tag *stringThe tag name

atomgit_get_enterprise_member_v8

获取企业的一个成员

ParameterTypeDescription
enterprise *企业名
username *string用户名

atomgit_get_enterprise_members_v8

列出企业的所有成员

ParameterTypeDescription
enterprise *企业名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码 (可选)
perPagenumber每页数量 (可选)
rolestring成员角色过滤

atomgit_invite_enterprise_member_v8

邀请企业成员

ParameterTypeDescription
enterprise *企业名
username *string用户名
permissionstring成员权限
role_idstring自定义角色 ID

atomgit_update_enterprise_member_v8

修改企业成员权限

ParameterTypeDescription
enterprise *企业名
role *string企业角色
username *string用户名
role_idstring自定义角色 ID

atomgit_get_organization_enterprise_v8

获取组织关联的企业

ParameterTypeDescription
org *string组织名

atomgit_get_enterprise_customized_roles_v8

获取企业自定义角色

ParameterTypeDescription
enterprise_id *string企业ID
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
enterprisestring企业名
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码
perPagenumber每页数量

atomgit_create_enterprise_milestone_v8

创建企业里程碑

ParameterTypeDescription
enterprise *string企业名
title *string名称
descriptionstring描述
due_datestring截止时间,格式 YYYY-MM-DD
projectsarray关联项目 ID 列表
start_datestring开始时间,格式 YYYY-MM-DD

atomgit_update_enterprise_milestone_v8

修改企业里程碑

ParameterTypeDescription
enterprise *string企业名
milestone_id *string里程碑ID
title *string名称
descriptionstring描述
due_datestring截止时间,格式 YYYY-MM-DD
projectsarray关联项目 ID 列表
start_datestring开始时间,格式 YYYY-MM-DD
state_eventstring状态变更

atomgit_get_enterprise_milestone_v8

获取企业里程碑详情

ParameterTypeDescription
enterprise *string企业名
milestone_id *string里程碑ID

atomgit_get_enterprise_milestones_v8

获取企业里程碑列表

ParameterTypeDescription
enterprise *string企业名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
namestring里程碑名称
order_bystring排序字段
page页码 (可选)
perPage每页数量 (可选)
sortstring排序方向
statestring里程碑状态

atomgit_get_enterprise_projects_v8

获取企业里程碑可以关联的项目列表

ParameterTypeDescription
enterprise *string企业名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
group_namestring项目组名称
maxPages自动分页时的最大页数限制(默认 100)
pagenumber页码 (可选)
perPagenumber每页数量 (可选)

atomgit_get_enterprise_issue_extend_fields_v8

获取企业Issue自定义字段列表

ParameterTypeDescription
enterprise_id *string企业ID
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
enterprisestring企业名
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量

atomgit_get_enterprise_issues_v8

获取企业Issue列表

ParameterTypeDescription
enterprise_id *string企业ID
assigneesarray负责人用户名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
create_atstring任务创建日期
created_beforestring任务创建截止时间
custom_fieldsarray自定义字段筛选
directionstring排序方向
issue_statesarrayIssue 自定义状态
issue_typesarrayIssue 自定义类型
labelsstring标签,多个按英文逗号隔开
maxPages自动分页时的最大页数限制(默认 100)
milestone_idsarray企业里程碑 ID 列表
pagenumber页码
perPagenumber每页数量
project_idsarray项目 ID 列表
searchstring标题搜索关键字
sincestring起始更新时间
sortstring排序字段

atomgit_create_enterprise_label_v8

创建企业标签

ParameterTypeDescription
description *string标签描述
enterpriseId *number企业id
name *string标签名称
colorstring标签的颜色,以6位16进制表示,前面带有'#'号

atomgit_update_enterprise_label_v8

更新企业标签

ParameterTypeDescription
description *string标签描述
enterpriseId *number企业id
labelId *string标签id
name *string标签名称
colorstring标签的颜色,以6位16进制表示,前面带有'#'号

atomgit_get_enterprise_label_v8

分页查询企业标签

ParameterTypeDescription
enterpriseId *number企业id
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量,最大100
searchstring关键词搜索

atomgit_get_organization_kanbans

获取组织看板列表

ParameterTypeDescription
owner *string组织名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量
searchstring搜索关键字
sortstring排序字段
statusnumber看板状态
visibilitynumber可见性

atomgit_get_organization_kanban

获取特定看板详情

ParameterTypeDescription
kanban_id *string看板ID
owner *string组织名

atomgit_add_org_kanban_item

添加Issue或者Pull Request到看板

ParameterTypeDescription
issue_iids *array要添加到看板的 Issue IID 列表
kanban_id *string看板ID
owner *string组织名
pr_iids *array要添加到看板的 Pull Request IID 列表
repo *string仓库名

atomgit_update_org_kanban_state

修改看板状态

ParameterTypeDescription
kanban_id *string看板ID
owner *string组织名
state *string看板状态

atomgit_update_org_kanban_repo_item

更新Issue或者Pull Request关联的看板

ParameterTypeDescription
iid *Issue/PR ID
kanban_id *string新的看板ID
owner *string组织名
repo *string仓库名
type *string类型 (issue/pull)

atomgit_get_org_kanban_item_list

查询看板内容列表

ParameterTypeDescription
kanban_id *string看板ID
owner *string组织名
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
maxPages自动分页时的最大页数限制(默认 100)
page页码
perPage每页数量
repostring仓库路径
source_iidsstring来源 IID,多个用逗号分隔
source_statusstring来源状态
source_typestring来源类型
titlestring标题关键字

atomgit_chat_completion

AI文本生成完成 (Chat Completion)

ParameterTypeDescription
messages *array消息列表
model *string模型名称
frequency_penaltynumber频率惩罚系数
maxTokensnumber最大 Token 数
temperaturenumber采样温度
top_knumbertop_k
top_pnumbertop_p

atomgit_audio_transcription

AI语音识别 (Automatic Speech Recognition)

ParameterTypeDescription
file *string音频文件内容或路径标识
model *string模型名称
temperaturestring采样温度

atomgit_object_detection

AI物体检测 (Object Detection - YOLO)

ParameterTypeDescription
conf *number置信度阈值
imgsz *number输入图像尺寸
iou *numberIOU 阈值
model *stringYOLO 模型权重文件名称
source *string待检测图片 base64 编码字符串

atomgit_video_generation_create

AI图像生成视频 - 创建任务 (Image to Video Generation - Create Task)

ParameterTypeDescription
img_url *string图片 URL 或 Base64 内容
model *string模型名称
prompt *string提示词
seednumber随机种子

atomgit_video_generation_status

AI图像生成视频 - 查询状态 (Image to Video Generation - Query Status)

ParameterTypeDescription
request_id *string请求 ID

atomgit_audio_classification

AI音频分类 (Audio Classification)

ParameterTypeDescription
file *string音频文件内容或路径标识
model *string模型名称

atomgit_get_repository_actions_artifacts

列出仓库的 Artifacts

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstring排序方向,asc 或 desc
maxPages自动分页时的最大页数限制(默认 100)
namestring制品名称过滤(模糊匹配)
pagenumber当前页码
perPagenumber每页的项目数
sortstring排序字段,当前仅支持 created

atomgit_get_repository_actions_artifact

获取 Artifact 详情

ParameterTypeDescription
artifactId *string制品id
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)

atomgit_download_repository_actions_artifact

下载指定 Artifact

ParameterTypeDescription
archiveFormat *string归档格式,仅支持 zip
artifactId *string制品id
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)

atomgit_get_repository_actions_workflows

获取仓库的流水线列表

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_validate_repository_actions_workflow

校验 Workflow YAML 语法。注意 AtomGit Actions 方言要求:每个 step 必须有 name 字段;on 需写结构化形式(如 on.push.branches),裸写 on: push 会报错

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
yamlContent *stringWorkflow YAML 明文内容(服务端会自动做 base64 编码)

atomgit_dispatch_repository_actions_workflow

手动运行流水线。仅当 workflow 的 on 中声明了 workflow_dispatch 触发器时才可手动触发

ParameterTypeDescription
inputs *objectworkflow_dispatch 定义的输入参数(键值均为字符串,无参数时传空对象)
owner *string仓库所属空间地址(组织或个人的地址path)
ref *string触发运行的分支或 tag
repo *string仓库路径(path)
workflowId *string流水线 id(可通过 get_repository_actions_workflows 获取)

atomgit_get_repository_actions_runs

获取仓库所有的流水线的运行记录

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
branchstring分支过滤
endTimenumber结束时间过滤,Unix 时间戳(毫秒)
eventstring触发事件类型,MR、Push 或 Manual
executorstring触发人用户名
maxPages自动分页时的最大页数限制(默认 100)
page当前的页码
perPage每页的数量,最大为 100,默认 20
pull_request_idstringPR 的编号
startTimenumber开始时间过滤,Unix 时间戳(毫秒)
statusstring运行状态
workflow_idstring流水线 id
workflow_namestring流水线名称

atomgit_get_repository_actions_run

获取流水线的运行详情

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id

atomgit_get_repository_actions_run_artifacts

列出特定 Run 的 Artifacts

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
directionstring排序方向,asc 或 desc
maxPages自动分页时的最大页数限制(默认 100)
namestring制品名称过滤(模糊匹配)
pagenumber当前页码
perPagenumber每页的项目数
sortstring排序字段,当前仅支持 created

atomgit_get_repository_actions_run_jobs

获取工作流运行的jobs列表

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id

atomgit_get_repository_actions_run_job

获取工作流运行的job详情

ParameterTypeDescription
jobId *string任务id
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id

atomgit_download_repository_actions_run_job_log

下载工作流运行的job日志

ParameterTypeDescription
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 数组获取)

ParameterTypeDescription
jobId *string任务id
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id
limitnumber每次读取的日志长度(可选)
offsetnumber日志偏移量(可选,用于分页读取)
sortstring排序方式(可选,如 asc/desc)
stepIdstring步骤id(可选,不传则返回整个 Job 的日志)

atomgit_get_repository_actions_runners

查询指定仓库下的所有主机 Runner

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_repository_actions_runner_sets

查询指定仓库下的所有 K8S Runner

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_repository_actions_shared_runners

查询分享给仓库的所有主机 Runner

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_repository_actions_shared_runner_sets

查询分享给仓库的所有 K8S Runner

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_organization_actions_runner_groups

查询指定组织下的所有 Runner Group

ParameterTypeDescription
org *string组织path
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_organization_actions_runner_group

获取指定 Runner Group 的详细信息

ParameterTypeDescription
org *string组织path
runnerGroupId *stringRunner Group id

atomgit_get_organization_actions_runner_group_runners

查询指定 Runner Group 下的所有主机 Runner

ParameterTypeDescription
org *string组织path
runnerGroupId *stringRunner Group id
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_organization_actions_runner_group_runner_sets

查询指定 Runner Group 下的所有 K8S Runner

ParameterTypeDescription
org *string组织path
runnerGroupId *stringRunner Group id
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_organization_actions_runner_group_shared_namespaces

查询有权访问指定 Runner Group 的仓库列表

ParameterTypeDescription
org *string组织path
runnerGroupId *stringRunner Group id
autoPaginateboolean是否自动获取所有页(默认 false,设为 true 时自动获取全部数据)
keywordstring关键字过滤
maxPages自动分页时的最大页数限制(默认 100)
pagenumber当前页码
perPagenumber每页的项目数

atomgit_get_organization_actions_job_history

查询 Runner 资源的 Job 执行历史

ParameterTypeDescription
org *string组织path
pagenumber当前页码
perPagenumber每页的项目数
startTimeBeginstring开始时间过滤起始,格式:yyyy-MM-dd HH:mm:ss
startTimeEndstring开始时间过滤结束,格式:yyyy-MM-dd HH:mm:ss

atomgit_rerun_repository_actions_run

重新运行流水线

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id

atomgit_retry_repository_actions_run

重试流水线中的失败任务

ParameterTypeDescription
jobRunIds *array任务id数组
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id

atomgit_stop_repository_actions_run

停止运行中的流水线实例

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
runId *string流水线运行id

atomgit_get_repository_clas

获取仓库已配置的 CLA(贡献者许可协议)列表

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)

atomgit_configure_repository_cla

为仓库配置 CLA 协议。传入 cla_id 设置指定协议;不传或传空则清空仓库的 CLA 配置。cla_id 需由用户提供(来自 AtomGit CLA 协议目录,当前目录接口未开放)。

ParameterTypeDescription
owner *string仓库所属空间地址(组织或个人的地址path)
repo *string仓库路径(path)
claIdstringCLA 协议 ID;留空则清空仓库当前 CLA 配置
enforceCheckboolean是否强制校验 PR 贡献者签署 CLA