# atomgit-api-doc > atomgit-api-doc 的官方文档站点,内容源自开源仓库 gitcode-dev/atomgit-api-doc,由公共 CMS 统一构建。 - 官网:https://atomgit.com/gitcode-dev/atomgit-api-doc - 源码:https://atomgit.com/gitcode-dev/atomgit-api-doc - 许可:MIT ## OpenAPI 使用入门 - [OpenAPI 使用入门](https://atomgit-api-doc.atomgit.com/index.html): AtomGit API 提供了强大的功能,允许开发者通过编程方式与 AtomGit 上的资源进行交互。本文档将向您介绍如何使用 AtomGit API,包括有… ## Repositories - [创建仓库](https://atomgit-api-doc.atomgit.com/1.repositories/1.create_repository.html): 该接口用于在指定组织下创建新仓库,支持代码、模型、数据集等多种仓库类型,可设置公开或私有可见性,并支持配置默认分支、初始化说明以及导入外部项目等功能。 - [获取仓库目录Tree](https://atomgit-api-doc.atomgit.com/1.repositories/2.get_repository_directory_tree.html): 该接口用于获取指定仓库的目录文件树信息,可按分支名、提交或目录树 SHA 定位版本,支持递归获取子目录,并以分页方式查看目录条目。 - [获取仓库具体路径下的内容](https://atomgit-api-doc.atomgit.com/1.repositories/3.get_contents_at_specific_repository_path.html): 该接口用于获取仓库指定路径下的文件内容或目录条目信息,返回文件类型、大小、内容编码及 SHA 值,并提供对应的 API 地址、网页地址与下载地址;当路径指向目… - [新建文件](https://atomgit-api-doc.atomgit.com/1.repositories/4.create_new_file.html): 该接口用于在指定仓库中新建文件,请求时需提供 base64 编码的文件内容与提交说明,并可选择指定提交分支及提交者信息;创建成功后返回包含 SHA、作者与提交… - [更新文件](https://atomgit-api-doc.atomgit.com/1.repositories/5.update_file.html): 该接口用于更新指定仓库中指定路径的文件内容,需提供 base64 编码的新文件内容、原文件 Blob SHA 及提交信息,可指定目标分支和提交作者,成功后返回… - [删除文件](https://atomgit-api-doc.atomgit.com/1.repositories/6.delete_file.html): 该接口用于删除仓库中指定分支上的文件,通过指定文件路径及其 Blob SHA 确认目标文件,删除操作将自动生成对应的提交记录,并返回本次删除操作的提交信息。 - [获取文件列表](https://atomgit-api-doc.atomgit.com/1.repositories/7.get_file_list.html): 该接口用于获取指定仓库下的文件列表,可通过分支、标签或提交信息定位文件版本,并支持按文件名查找,响应返回仓库中所有文件的路径列表。 - [获取文件Blob](https://atomgit-api-doc.atomgit.com/1.repositories/8.get_file_blob.html): 该接口用于根据指定的仓库及文件 Blob SHA 获取对应的文件 Blob 内容,返回文件的内容大小、资源访问地址、Base64 编码后的内容及其编码方式等信… - [获取仓库的语言](https://atomgit-api-doc.atomgit.com/1.repositories/9.get_repository_languages.html): 该接口用于获取指定仓库的语言分布情况,返回以语言名称为键、该语言在仓库代码中所占百分比为值的映射,帮助用户了解仓库中各语言的构成比例。 - [获取仓库贡献者](https://atomgit-api-doc.atomgit.com/1.repositories/10.get_repository_contributors.html): 查询指定仓库的贡献者信息,返回贡献者名称、贡献次数与邮箱,支持按提交者(committers)或作者(authors)类型筛选,便于了解仓库代码的参与贡献情况。 - [设置项目模块](https://atomgit-api-doc.atomgit.com/1.repositories/11.set_project_module.html): 该接口用于设置指定仓库的项目模块,可分别开启或关闭 wiki、issue、安全配置、merge request、fork、分析与讨论等模块,请求体中未涉及的模… - [更新仓库设置](https://atomgit-api-doc.atomgit.com/1.repositories/12.update_warehouse_settings.html): 该接口用于更新指定仓库的设置,支持修改仓库名称、描述、主页地址、仓库路径、公开或私有状态、默认分支、是否启用 LFS 以及项目标签等信息,并返回更新后的仓库详… - [删除仓库](https://atomgit-api-doc.atomgit.com/1.repositories/13.delete_a_repository.html): 该接口用于删除指定仓库。通过仓库所属空间地址与仓库路径定位目标仓库,删除成功后返回空对象;若仓库不存在则返回相应的错误信息。 - [修改项目代码审查设置](https://atomgit-api-doc.atomgit.com/1.repositories/14.modify_project_code_approval_settings.html): 用户调用此接口,进行修改项目代码审查设置操作。 - [仓库归档](https://atomgit-api-doc.atomgit.com/1.repositories/15.warehouse_archiving.html): 该接口用于更新指定仓库的归档状态,通过设置仓库状态为已归档或取消归档,实现对仓库的归档与恢复管理。 - [转移仓](https://atomgit-api-doc.atomgit.com/1.repositories/16.transfer_warehouse.html): 该接口用于将指定仓库转移至目标组织,从而完成仓库所属组织的变更,转移成功后仓库将归目标组织管理。 - [获取项目的权限模式](https://atomgit-api-doc.atomgit.com/1.repositories/17.get_project_permission_mode.html): 用户调用此接口,获取项目的权限模式(成员权限管理模式)。 - [更新仓库的权限模式](https://atomgit-api-doc.atomgit.com/1.repositories/18.update_repository_permission_mode.html): 更新指定仓库的成员权限管理模式(继承模式 / 独立模式),仅支持拥有仓库管理权限的用户调用。 - [设置项目推送规则](https://atomgit-api-doc.atomgit.com/1.repositories/19.set_project_push_rules.html): 用户调用此接口,进行设置项目推送规则操作。 - [获取项目推送规则](https://atomgit-api-doc.atomgit.com/1.repositories/20.get_project_push_rules.html): 调用此接口获取指定仓库的项目推送规则配置。 - [Fork仓库](https://atomgit-api-doc.atomgit.com/1.repositories/21.fork_a_repository.html): 该接口用于将指定仓库复制(Fork)到目标空间,可指定组织空间、新仓库名称及路径,未指定时默认复制到用户个人空间并沿用源仓库名称与地址,操作成功后返回新仓库的… - [查看仓库的Forks](https://atomgit-api-doc.atomgit.com/1.repositories/22.view_repository_forks.html): 该接口用于查看指定仓库的所有 Fork(分叉)仓库列表,通过仓库所属空间地址和仓库路径进行查询,支持按 Fork 时间或 Star 人数排序,可按创建时间范围… - [上传图片](https://atomgit-api-doc.atomgit.com/1.repositories/23.upload_image.html): 该接口用于将图片上传至指定仓库,请求时在请求体中提交以 base64 编码的图片文件内容及文件名,上传成功后返回图片的相对路径和完整访问地址,便于后续引用图片… - [上传文件](https://atomgit-api-doc.atomgit.com/1.repositories/24.upload_file.html): 该接口用于将附件文件上传至指定仓库,文件大小限制为20M。上传成功后返回文件的相对路径与完整访问地址,用于后续访问或引用该文件。 - [列出 watch 了仓库的用户](https://atomgit-api-doc.atomgit.com/1.repositories/25.list_users_who_are_watching_the_repository.html): 用户调用此接口,进行列出 watch 了仓库的用户操作。 - [列出 star 了仓库的用户](https://atomgit-api-doc.atomgit.com/1.repositories/26.list_users_who_have_starred_the_repository.html): 用户调用此接口,列出所有 star 了指定仓库的用户。 - [更新仓库设置](https://atomgit-api-doc.atomgit.com/1.repositories/27.update_repo_settings.html): 用户调用此接口,进行更新仓库设置操作。请求体中的字段均为可选,未传的字段保持原设置不变。 - [获取仓库设置](https://atomgit-api-doc.atomgit.com/1.repositories/28.get_repository_settings.html): 用户调用此接口,进行获取仓库设置操作。 - [获取 Pull Request设置](https://atomgit-api-doc.atomgit.com/1.repositories/29.get_pull_request_settings.html): 该接口用于获取指定仓库的 Pull Request 设置详情,包括合并模式、评审与审批要求、Squash 合并选项、代码检视与合并行为等配置信息。 - [更新 Pull Request设置](https://atomgit-api-doc.atomgit.com/1.repositories/30.update_pull_request_settings.html): 该接口用于更新指定仓库的 Pull Request 设置,可配置合并方式、评审与审批人数、流水线与讨论合入条件、Squash 合并、CLA 校验、轻量级合并请… - [更新项目成员角色](https://atomgit-api-doc.atomgit.com/1.repositories/31.update_project_member_roles.html): 该接口用于更新指定仓库中指定成员的角色权限,通过设置参与者、开发者、维护者或自定义角色等权限级别来调整成员在仓库中的操作权限,操作成功后返回该成员的用户信息及… - [仓库转移](https://atomgit-api-doc.atomgit.com/1.repositories/32.warehouse_transfer_api.html): 用户调用此接口,进行仓库转移操作。 - [获取项目自定义角色](https://atomgit-api-doc.atomgit.com/1.repositories/33.get_project_custom_roles.html): 该接口用于获取指定仓库(项目)下的自定义角色列表,返回包含角色名称、权限级别、成员数量、创建时间及更新时间等信息的角色对象数组。 - [下载次数统计](https://atomgit-api-doc.atomgit.com/1.repositories/34.download_count_statistics.html): 该接口用于查询指定仓库在指定时间范围内的下载次数统计,支持设置统计起止日期和排序方式,返回每日下载次数明细、统计周期内下载次数合计以及历史累计下载次数。 - [获取 raw 文件](https://atomgit-api-doc.atomgit.com/1.repositories/35.get_raw_file.html): 用户调用此接口,获取仓库中文件的 raw 原始内容,响应体为文件字节流。 - [获取仓库贡献者统计信息](https://atomgit-api-doc.atomgit.com/1.repositories/36.get_repository_contributors_statistics.html): 该接口用于获取指定仓库的贡献者统计信息,返回每位贡献者的新增行数、删除行数、变更总数和提交次数等汇总数据,以及按日期细分的贡献明细,并支持按贡献者、时间范围及… - [获取仓库动态](https://atomgit-api-doc.atomgit.com/1.repositories/37.get_repository_activity.html): 该接口用于获取指定仓库的动态(事件)列表,支持按事件类型、触发人及日期范围进行筛选,并支持分页返回事件详情信息。 - [查询Fork仓同步状态](https://atomgit-api-doc.atomgit.com/1.repositories/38.query_fork_repository_synchronization_status.html): 用户调用此接口,进行查询Fork仓同步状态操作。 - [Fork仓同步源仓库](https://atomgit-api-doc.atomgit.com/1.repositories/39.sync_fork_repository_with_source_repository.html): 用户调用此接口,进行 Fork 仓同步源仓库操作。 - [查询仓库推送远程镜像列表](https://atomgit-api-doc.atomgit.com/1.repositories/40.query_warehouse_push_remote_image_list.html): 查询指定仓库的推送远程镜像列表。 - [获取仓库许可协议](https://atomgit-api-doc.atomgit.com/1.repositories/41.get_repository_license_agreement.html): 该接口用于获取指定仓库的许可协议,返回协议文件的名称、路径、大小、访问地址、文件内容及编码方式,并附带许可协议的SPDX标识符,方便用户查看仓库的开源许可信息。 - [获取仓库CLA列表](https://atomgit-api-doc.atomgit.com/1.repositories/42.get_list_of_cla_for_repository.html): 该接口用于获取指定仓库的CLA(贡献者许可协议)列表,返回仓库已配置的贡献者许可协议信息,包含每份协议的名称及编号等内容。 - [配置项目 CLA](https://atomgit-api-doc.atomgit.com/1.repositories/43.config_item_cla.html): 该接口用于配置项目 CLA:传入 claid 可启用并选择指定的 CLA,不传则关闭项目 CLA 配置;同时支持设置是否禁止合入未完成 CLA 签署检查的 P… - [获取仓库的远程镜像配置信息](https://atomgit-api-doc.atomgit.com/1.repositories/309.get_the_remote_mirror_configuration_information_of_the_repository.html): 用户调用此接口,进行获取仓库的远程镜像配置信息操作。 ## Users - [列出用户 star 了的仓库](https://atomgit-api-doc.atomgit.com/10.users/164.list_repositories_starred_by_user.html): 列出指定用户 star 了的仓库,返回仓库信息数组(分页)。 - [列出用户 watch 了的仓库](https://atomgit-api-doc.atomgit.com/10.users/165.list_repositories_watched_by_user.html): 用户调用此接口,列出指定用户 watch 了的仓库(即该用户订阅的仓库列表)。 - [列出授权用户 watch 了的仓库](https://atomgit-api-doc.atomgit.com/10.users/166.list_repositories_watched_by_authorized_users.html): 用户调用此接口,进行列出授权用户 watch 了的仓库操作。 - [列出授权用户所有的 Namespace](https://atomgit-api-doc.atomgit.com/10.users/167.list_all_namespaces_of_authorized_users.html): 用户调用此接口,列出授权用户所有的 Namespace。 - [列出仓库里的通知](https://atomgit-api-doc.atomgit.com/10.users/168.list_notifications_in_a_repository.html): 该接口用于列出指定仓库中的通知,支持按是否未读、通知类型及时间范围进行筛选,也可通过通知 ID 精确查询,返回内容包括通知内容、触发用户信息及关联仓库等。 - [标记仓库里的通知为已读](https://atomgit-api-doc.atomgit.com/10.users/169.mark_notifications_as_read_in_a_repository.html): 该接口用于将指定仓库中的一个或多个通知批量标记为已读,支持通过通知 ID 列表一次性处理多条通知,标记成功后返回空响应。 - [创建个人项目仓库](https://atomgit-api-doc.atomgit.com/10.users/170.create_personal_project_repository.html): 用户调用此接口,进行创建个人项目仓库操作。 - [列出授权用户所有仓库](https://atomgit-api-doc.atomgit.com/10.users/171.list_all_repositories_for_authorized_users.html): 用户调用此接口,进行列出授权用户所有仓库操作。 - [获取用户的某个仓库](https://atomgit-api-doc.atomgit.com/10.users/172.get_user_s_specific_repository.html): 该接口用于获取指定用户的某个仓库的详细信息,包括仓库基本属性、所属空间、创建者、克隆地址、Star 与 Fork 数量、默认分支及私有状态等信息。 - [获取用户信息](https://atomgit-api-doc.atomgit.com/10.users/173.get_a_user.html): 根据用户名(username)获取指定用户的信息。 - [更新授权用户的资料](https://atomgit-api-doc.atomgit.com/10.users/174.update_profile_of_authorized_user.html): 用户调用此接口,进行更新授权用户的资料操作. - [获取授权用户的资料](https://atomgit-api-doc.atomgit.com/10.users/175.get_profile_of_authorized_user.html): 获取授权用户的资料,返回当前登录用户的详细信息。 - [获取授权用户的全部邮箱](https://atomgit-api-doc.atomgit.com/10.users/176.get_all_email_addresses_of_authorized_user.html): 该接口用于获取用户当前账号关联的全部邮箱,返回每个邮箱地址及其验证状态(如已验证),供用户查看与管理账户邮箱信息。 - [获取用户个人动态](https://atomgit-api-doc.atomgit.com/10.users/177.get_user_personal_dynamics.html): 用户调用此接口获取用户个人动态(按日期分组的事件列表)。 - [获取某个用户的公开仓库](https://atomgit-api-doc.atomgit.com/10.users/178.get_a_user_s_public_repositories.html): 用户调用此接口,进行获取某个用户的公开仓库操作. - [添加公钥](https://atomgit-api-doc.atomgit.com/10.users/179.add_a_public_key.html): 用户调用此接口,进行添加一个公钥操作。 - [列出授权用户的所有公钥](https://atomgit-api-doc.atomgit.com/10.users/180.list_all_public_keys_of_authorized_users.html): 用户调用此接口,进行列出授权用户的所有公钥操作. - [删除公钥](https://atomgit-api-doc.atomgit.com/10.users/181.delete_a_public_key.html): 用户调用此接口,进行删除一个公钥操作。 - [获取公钥](https://atomgit-api-doc.atomgit.com/10.users/182.get_a_public_key.html): 用户调用此接口,获取一个公钥。 - [获取授权用户的Namespace](https://atomgit-api-doc.atomgit.com/10.users/183.get_authorized_user_s_namespace.html): 用户调用此接口,进行获取授权用户的一个 Namespace操作. - [列出授权用户 star 了的仓库](https://atomgit-api-doc.atomgit.com/10.users/184.list_repositories_starred_by_authorized_users.html): 用户调用此接口,进行列出授权用户 star 了的仓库操作。 - [列出授权用户的Pull Request列表](https://atomgit-api-doc.atomgit.com/10.users/185.list_authorized_users_pull_request_list.html): 用户调用此接口,进行列出授权用户的 Pull Request 列表操作。 ## Organizations - [列出用户所属的组织](https://atomgit-api-doc.atomgit.com/11.organizations/187.list_organizations_the_user_belongs_to.html): 用户调用此接口,可列出指定用户所属的组织列表。 - [列出授权用户所属的组织](https://atomgit-api-doc.atomgit.com/11.organizations/188.list_organizations_belonging_to_authorized_user.html): 用户调用此接口,进行列出授权用户所属的组织操作。 - [获取组织成员详情](https://atomgit-api-doc.atomgit.com/11.organizations/189.get_organization_member_details.html): 该接口用于获取指定组织下某一成员的详细信息,返回内容包括成员记录ID、组织路径、名称、地址、头像地址,以及成员对应的用户信息(如用户名、显示名称、头像和主页地… - [获取组织信息](https://atomgit-api-doc.atomgit.com/11.organizations/190.get_organization_information.html): 该接口用于按组织路径获取单个组织的详细信息,返回组织名称、登录名、头像、描述、所属企业、仓库、动态、成员等关联地址,以及关注数和 Gitee 关联关注数。 - [更新授权用户所管理的组织资料](https://atomgit-api-doc.atomgit.com/11.organizations/191.update_authorized_user_s_managed_organization_profile.html): 该接口用于更新授权用户所管理的组织资料,可修改组织的名称、公开邮箱、所在地、简介及站点等信息。通过这个接口,用户可以保持组织资料的准确与最新。 - [获取企业的某个成员信息](https://atomgit-api-doc.atomgit.com/11.organizations/192.organizations_get_a_company_s_member.html): 该接口用于获取指定企业下的一个成员信息,返回成员的用户信息、主页地址、活跃状态、角色及所属企业信息。 - [修改企业成员权限](https://atomgit-api-doc.atomgit.com/11.organizations/193.organizations_modify_enterprise_member_permissions.html): 该接口用于修改指定企业成员在企业中的角色权限,通过设置浏览者、测试人、研发、维护者、管理员或自定义角色等角色来调整成员的权限,并返回更新后的成员激活状态、角色… - [获取授权用户在某个组织的成员资料](https://atomgit-api-doc.atomgit.com/11.organizations/194.get_authorized_user_s_member_profile_in_an_organization.html): 用户调用此接口,进行获取授权用户在一个组织的成员资料操作。 - [退出组织](https://atomgit-api-doc.atomgit.com/11.organizations/195.leave_an_organization.html): 用户调用此接口,进行退出一个组织操作. - [列出组织的所有成员](https://atomgit-api-doc.atomgit.com/11.organizations/196.list_all_members_of_an_organization.html): 该接口用于获取指定组织的全部成员列表,支持分页查询,并可依据成员角色(管理员或普通成员)进行筛选,返回成员的头像、昵称、登录名及角色等详细信息。 - [列出企业的所有成员](https://atomgit-api-doc.atomgit.com/11.organizations/197.organizations_list_all_members_of_the_enterprise.html): 该接口用于列出指定企业的所有成员,支持按角色筛选成员,并分页返回企业成员列表,包含成员角色及用户信息。 - [移除授权用户所管理组织中的成员](https://atomgit-api-doc.atomgit.com/11.organizations/198.remove_member_from_organization_managed_by_authorized_user.html): 该接口用于从指定组织中移除指定成员,通过组织路径与用户名定位目标成员,移除成功后返回空对象,帮助组织管理者调整组织成员构成。 - [邀请组织成员](https://atomgit-api-doc.atomgit.com/11.organizations/199.invite_organization_members.html): 该接口用于邀请指定用户加入组织,可为其设置成员权限(拉代码、推代码、管理员或自定义角色),未指定时默认授予推送权限,并返回被邀请用户的信息及所获权限集合。 - [列出指定组织的所有关注者](https://atomgit-api-doc.atomgit.com/11.organizations/200.list_all_followers_of_a_specified_organization.html): 该接口用于获取指定组织的所有关注者列表,支持分页查询,返回关注者的用户ID、登录名、昵称、头像地址及关注时间等信息。 - [获取 issue 扩展配置](https://atomgit-api-doc.atomgit.com/11.organizations/201.get_issue_extended_configuration.html): 该接口用于获取指定组织下 issue 的扩展配置,返回各 issue 类型(如需求、咨询)及其对应的状态配置信息。 - [获取组织自定义角色](https://atomgit-api-doc.atomgit.com/11.organizations/202.get_organization_custom_role.html): 该接口用于获取指定组织的自定义角色列表,返回各角色的 ID、名称、访问级别、成员数量等详细信息,便于查看组织的自定义角色配置情况。 - [创建组织](https://atomgit-api-doc.atomgit.com/11.organizations/203.create_organization.html): 该接口用于创建组织,提交组织路径、名称、可见性及描述等信息后,在平台中新建一个组织,并返回所创建组织的 ID、网页地址、完整名称与完整路径等信息。 - [查询看板内容列表](https://atomgit-api-doc.atomgit.com/11.organizations/204.query_bulletin_content_list.html): 该接口用于查询指定组织下看板的内容项列表,支持按仓库、来源类型(issue/mergerequest)、来源状态、标题及 issue 或 PR 的编号进行筛选… ## Webhooks - [列出仓库的WebHooks](https://atomgit-api-doc.atomgit.com/12.webhooks/205.list_webhooks_of_the_repository.html): 该接口用于列出指定仓库已配置的 WebHooks,返回各 Webhook 的 ID、触发事件类型、激活状态及创建时间等信息,并支持分页查询。 - [创建仓库的WebHooks](https://atomgit-api-doc.atomgit.com/12.webhooks/206.create_webhooks_for_a_repository.html): 该接口用于为指定仓库创建 WebHooks,可设置接收事件的远程 HTTP URL、请求密码及加密类型,并配置 Push 代码、提交 Tag、创建或关闭 Is… - [获取仓库单个WebHook](https://atomgit-api-doc.atomgit.com/12.webhooks/207.get_single_repository_webhook.html): 该接口用于获取指定仓库中单个 WebHook 的配置详情,包括回调地址、订阅的事件类型、最近一次推送的返回结果及激活状态等信息。 - [更新仓库WebHook](https://atomgit-api-doc.atomgit.com/12.webhooks/208.update_a_repository_webhook.html): 该接口用于更新指定仓库下的某个 WebHook,可修改其远程通知 URL、加密类型与请求密码,并配置各事件类型的触发开关,如代码推送、标签提交、Issue 创… - [删除仓库WebHook](https://atomgit-api-doc.atomgit.com/12.webhooks/209.delete_a_repository_webhook.html): 该接口用于删除指定仓库下的一个 WebHook,通过仓库所属空间地址、仓库路径及 WebHook 的 ID 定位目标,删除成功后返回空对象。 - [测试WebHook是否发送成功](https://atomgit-api-doc.atomgit.com/12.webhooks/210.test_if_webhook_is_sent_successfully.html): 该接口用于测试指定仓库的WebHook是否发送成功,通过触发一次测试请求,帮助开发者验证WebHook配置及回调地址的连通性,以便及时排查和修复推送通知异常问… ## Member - [添加项目成员或更新项目成员权限](https://atomgit-api-doc.atomgit.com/13.member/211.add_project_members_or_update_project_members_permissions.html): 该接口用于添加项目成员或更新项目成员权限:当目标用户尚未成为仓库成员时,将其添加为成员;当目标用户已是仓库成员时,更新其成员权限,权限可为参与者(pull)、… - [移除项目成员](https://atomgit-api-doc.atomgit.com/13.member/212.remove_project_member.html): 该接口用于移除指定仓库中的指定项目成员(协作者)。通过该接口,可以按用户名定位并移除仓库中的指定协作者成员。 - [判断用户是否为仓库成员](https://atomgit-api-doc.atomgit.com/13.member/213.check_if_user_is_a_warehouse_member.html): 该接口用于判断指定用户是否为指定仓库的成员,通过仓库所属空间地址、仓库路径和用户名进行查询;若该用户为仓库成员则返回 204 状态码,否则返回 404 状态码。 - [获取仓库的所有成员](https://atomgit-api-doc.atomgit.com/13.member/214.get_all_members_of_the_repository.html): 该接口用于获取指定仓库的所有成员信息,支持按页码与每页数量分页查询。返回内容包括成员的基础资料(如成员 ID、登录名、头像、主页等)以及各项权限信息(拉取、推… - [查看仓库成员的权限](https://atomgit-api-doc.atomgit.com/13.member/215.view_warehouse_members_permissions.html): 该接口用于查询指定仓库中某个成员的权限信息,包括成员的基础资料、权限级别(admin/write/read)及权限明细,便于了解该成员在仓库中的具体操作权限。 - [查看当前成员仓库的权限点](https://atomgit-api-doc.atomgit.com/13.member/216.check_the_permission_points_of_the_current_member_repository.html): 该接口用于查询当前成员在指定仓库中的角色及权限点,返回角色信息和权限矩阵树,展示其在项目、代码、成员等资源上的具体操作权限。 ## Release - [创建仓库Release](https://atomgit-api-doc.atomgit.com/14.release/217.create_repository_release.html): 创建仓库 Release,需要提供 tag 名称、Release 名称与描述等信息。 - [更新仓库Release](https://atomgit-api-doc.atomgit.com/14.release/218.update_repository_release.html): 用户调用此接口,进行更新仓库 Release 操作。 - [获取Release附件上传地址](https://atomgit-api-doc.atomgit.com/14.release/219.get_the_upload_address_of_the_release_attachment.html): 用户调用此接口,获取 Release 附件上传地址,用于后续上传发布附件。 - [获取仓库的单个Releases](https://atomgit-api-doc.atomgit.com/14.release/220.get_single_release_of_repository.html): 用户调用此接口,进行获取仓库的单个 Release 操作。 - [获取仓库的最新的Release](https://atomgit-api-doc.atomgit.com/14.release/221.get_the_latest_release_of_the_repository.html): 用户调用此接口,获取指定仓库的最新的 Release 信息(支持按 type 选择最新发布或最后更新的 Release)。 - [根据Tag名称获取仓库的Release](https://atomgit-api-doc.atomgit.com/14.release/222.get_repository_release_by_tag_name.html): 通过 Tag 名称查询指定仓库的 Release 详情。 - [获取仓库的所有Releases](https://atomgit-api-doc.atomgit.com/14.release/223.get_all_repository_releases.html): 获取指定仓库的所有 Releases(发布版本)列表。 - [下载仓库release附件](https://atomgit-api-doc.atomgit.com/14.release/224.download_the_release_attachment_from_the_repository.html): 用户调用此接口,下载仓库 release 附件。 - [删除Release附件](https://atomgit-api-doc.atomgit.com/14.release/225.delete_release_attachment.html): 用户调用此接口,进行删除Release附件操作。 ## Enterprise - [获取企业的一个成员](https://atomgit-api-doc.atomgit.com/15.enterprise/226.enterprise_get_a_company_s_member.html): 用户调用此接口,进行获取企业的一个成员操作。 - [列出企业的所有成员](https://atomgit-api-doc.atomgit.com/15.enterprise/227.enterprise_list_all_members_of_the_enterprise.html): 用户调用此接口,进行列出企业的所有成员操作. - [邀请企业成员](https://atomgit-api-doc.atomgit.com/15.enterprise/228.invite_enterprise_members.html): 用户调用此接口,进行邀请企业成员操作。 - [删除企业成员](https://atomgit-api-doc.atomgit.com/15.enterprise/229.delete_enterprise_member.html): 用户调用此接口,进行删除企业成员操作。 - [修改企业成员权限](https://atomgit-api-doc.atomgit.com/15.enterprise/230.enterprise_modify_enterprise_member_permissions.html): 用户调用此接口,修改指定企业中某个成员的访问权限(角色)。 - [获取组织关联的企业](https://atomgit-api-doc.atomgit.com/15.enterprise/231.get_associated_enterprises_of_the_organization.html): 用户调用此接口,进行获取组织关联的企业操作。传入组织的地址 path(企业、组织或个人的地址 path),返回该组织所关联的企业信息。 - [获取企业自定义角色](https://atomgit-api-doc.atomgit.com/15.enterprise/232.get_custom_role_of_enterprise.html): 用户调用此接口,进行获取企业自定义角色操作. - [创建企业里程碑](https://atomgit-api-doc.atomgit.com/15.enterprise/233.create_enterprise_milestones.html): 用户调用此接口,进行创建企业里程碑操作。 - [修改企业里程碑](https://atomgit-api-doc.atomgit.com/15.enterprise/234.modify_enterprise_milestones.html): 用户调用此接口,进行修改企业里程碑操作。 - [获取企业里程碑详情](https://atomgit-api-doc.atomgit.com/15.enterprise/235.get_enterprise_milestone_details.html): 用户调用此接口,进行获取企业里程碑详情操作。 - [删除企业里程碑](https://atomgit-api-doc.atomgit.com/15.enterprise/236.delete_enterprise_milestones.html): 用户调用此接口,进行删除企业里程碑操作. - [获取企业里程碑列表](https://atomgit-api-doc.atomgit.com/15.enterprise/237.get_enterprise_milestone_list.html): 用户调用此接口,获取企业里程碑列表。 - [获取企业里程碑可以关联的项目列表](https://atomgit-api-doc.atomgit.com/15.enterprise/238.get_the_list_of_projects_associated_with_enterprise_milestones.html): 用户调用此接口,获取企业里程碑可以关联的项目列表。 - [获取企业Issue自定义字段列表](https://atomgit-api-doc.atomgit.com/15.enterprise/239.get_the_list_of_custom_fields_for_enterprise_issue.html): 获取指定企业下 Issue 自定义字段的列表。 - [获取企业Issue列表](https://atomgit-api-doc.atomgit.com/15.enterprise/240.get_enterprise_issue_list.html): 获取指定企业下的 Issue 列表。 - [创建企业标签](https://atomgit-api-doc.atomgit.com/15.enterprise/241.create_enterprise_tag.html): 用户调用此接口,在指定企业下创建一个标签。 - [更新企业标签](https://atomgit-api-doc.atomgit.com/15.enterprise/242.update_company_tags.html): 用户调用此接口,进行更新企业标签操作。 - [删除企业标签](https://atomgit-api-doc.atomgit.com/15.enterprise/243.delete_enterprise_label.html): 用户调用此接口,进行删除企业标签操作。 ## Dashboard - [获取组织看板列表](https://atomgit-api-doc.atomgit.com/16.dashboard/244.get_the_list_of_organization_kanbans.html): 该接口用于获取指定组织下的看板列表,支持按状态、可见性筛选及按名称搜索,并可按最新或最老排序、分页返回,同时提供看板总数及正常、关闭状态的看板数量统计。 - [获取单个看板详情](https://atomgit-api-doc.atomgit.com/16.dashboard/245.get_single_kanban_details.html): 该接口用于获取指定组织下单个看板的详细信息,包括看板的ID、名称、描述、状态、可见性及更新时间等数据,便于用户查看和了解看板的具体配置与状态。 - [添加Issue或者Pull Request到看板](https://atomgit-api-doc.atomgit.com/16.dashboard/246.add_issue_or_pull_request_to_kanban.html): 该接口用于将指定仓库中的 Issue 和 Pull Request 添加到指定组织的看板中,通过提交仓库路径及 Issue、Pull Request 的编号列… - [修改看板状态](https://atomgit-api-doc.atomgit.com/16.dashboard/248.modify_the_status_of_the_kanban_board.html): 该接口用于修改指定组织下看板的状态,可将看板设置为开启(open)或关闭(closed)。通过组织路径与看板 ID 定位目标看板,并在请求体中指定所需的状态值。 - [更新Issue或者Pull Request关联的看板](https://atomgit-api-doc.atomgit.com/16.dashboard/312.dashboard_update_the_board_associated_with_an_issue_or_pull_request.html): 该接口用于更新指定 Issue 或 Pull Request 所关联的看板。调用时需在请求体中提供目标看板的 ID,系统将重新绑定该 Issue 或 Pull… - [删除看板关联的Issue或者Pull Request](https://atomgit-api-doc.atomgit.com/16.dashboard/313.dashboard_delete_issues_or_pull_requests_associated_with_the_board.html): 该接口用于删除指定看板中关联的 Issue 或 Pull Request。请求时需提供组织路径、看板 ID,并以数组形式指定各仓库下待移除的 Issue 与 … ## Actions - [停止运行中的流水线实例](https://atomgit-api-doc.atomgit.com/17.actions/249.stop_the_running_pipeline_instance.html): 用户调用此接口,进行停止运行中的流水线实例操作。 - [重试失败任务](https://atomgit-api-doc.atomgit.com/17.actions/250.retry_failed_tasks.html): 用户调用此接口,进行重试失败任务操作. - [重新运行流水线](https://atomgit-api-doc.atomgit.com/17.actions/251.rerun_pipeline.html): 用户调用此接口,进行重新运行流水线操作。 - [手动运行流水线](https://atomgit-api-doc.atomgit.com/17.actions/252.manual_pipeline_execution.html): 用户调用此接口,进行手动运行流水线操作。 - [校验 Workflow YAML](https://atomgit-api-doc.atomgit.com/17.actions/253.validate_workflow_yaml.html): 用户调用此接口,进行校验 Workflow YAML 操作。 - [获取仓库的流水线列表](https://atomgit-api-doc.atomgit.com/17.actions/254.get_the_pipeline_list_of_the_repository.html): 获取指定仓库的流水线(workflow)列表,支持分页以及按流水线名称进行模糊筛选。 - [获取仓库所有的流水线的运行记录](https://atomgit-api-doc.atomgit.com/17.actions/255.get_all_pipeline_run_records_of_the_repository.html): 用户调用此接口,获取指定仓库下所有流水线的运行记录。 - [获取流水线的运行详情](https://atomgit-api-doc.atomgit.com/17.actions/256.get_pipeline_run_details.html): 获取指定仓库中某条流水线运行的详情信息,包括运行状态、触发事件、执行人、阶段与任务明细。 - [获取工作流运行的jobs列表](https://atomgit-api-doc.atomgit.com/17.actions/257.get_the_list_of_jobs_for_the_workflow_run.html): 用户调用此接口,获取指定工作流运行的 jobs 列表。 - [获取工作流运行的job详情](https://atomgit-api-doc.atomgit.com/17.actions/258.get_job_details_of_workflow_execution.html): 用户调用此接口,获取工作流运行的 job 详情。 - [查询工作流Job的Step级日志](https://atomgit-api-doc.atomgit.com/17.actions/259.query_workflow_job_step_logs.html): 用户调用此接口,进行查询工作流 Job 的 Step 级日志操作。 - [下载工作流运行的job日志](https://atomgit-api-doc.atomgit.com/17.actions/260.download_job_logs_of_workflow_execution.html): 下载工作流运行中指定 job 的日志文件。 - [列出仓库的 Artifacts](https://atomgit-api-doc.atomgit.com/17.actions/261.list_the_artifacts_in_the_repository.html): 分页查询仓库下的制品,支持按名称过滤及排序。 - [列出特定 Run 的 Artifacts](https://atomgit-api-doc.atomgit.com/17.actions/262.list_specific_run_artifacts.html): 用户调用此接口,分页查询指定 Workflow Run 产生的所有制品,支持按创建时间排序。 - [获取 Artifact 详情](https://atomgit-api-doc.atomgit.com/17.actions/263.get_artifact_details.html): 查询仓库下指定制品的详情。 - [删除指定 Artifact](https://atomgit-api-doc.atomgit.com/17.actions/264.delete_the_specified_artifact.html): 删除仓库下指定制品。 - [下载指定 Artifact](https://atomgit-api-doc.atomgit.com/17.actions/265.download_the_specified_artifact.html): 用户调用此接口,进行下载指定 Artifact 操作。本接口返回制品 zip 的下载地址(302 跳转)。 - [查询指定仓库下的所有主机 Runner](https://atomgit-api-doc.atomgit.com/17.actions/266.query_all_hosts_runner_under_the_specified_repository.html): 查询指定仓库下的所有主机 Runner,返回 Runner 总数与 Runner 列表。 - [查询分享给仓库的所有主机 Runner](https://atomgit-api-doc.atomgit.com/17.actions/267.query_all_hosts_runner_shared_to_the_warehouse.html): 用户调用此接口,查询分享给仓库的所有主机 Runner。 - [查询指定仓库下的所有 K8S Runner](https://atomgit-api-doc.atomgit.com/17.actions/268.query_all_kubernetes_runner_under_the_specified_repository.html): 查询指定仓库下的所有 K8S Runner(RunnerSet),支持按关键字过滤与分页返回。 - [查询分享给仓库的所有 K8S Runner](https://atomgit-api-doc.atomgit.com/17.actions/269.query_shared_kubernetes_runner_to_warehouse.html): 用户调用此接口,查询分享给仓库的所有 K8S Runner。 - [查询指定组织下的所有 Runner Group](https://atomgit-api-doc.atomgit.com/17.actions/270.query_all_runner_groups_under_a_specified_organization.html): 查询指定组织下的所有 Runner Group。 - [获取指定 Runner Group 的详细信息](https://atomgit-api-doc.atomgit.com/17.actions/271.get_detailed_information_of_the_specified_runner_group.html): 用户调用此接口,进行获取指定 Runner Group 的详细信息操作。 - [查询指定 Runner Group 下的所有主机 Runner](https://atomgit-api-doc.atomgit.com/17.actions/272.query_all_hosts_runner_under_the_specified_runner_group.html): 用户调用此接口,查询指定 Runner Group 下的所有主机 Runner。 - [查询指定 Runner Group 下的所有 K8S Runner](https://atomgit-api-doc.atomgit.com/17.actions/273.query_all_kubernetes_runners_under_a_specified_runner_group.html): 查询指定 Runner Group 下的所有 K8S Runner。 - [查询Runner资源的Job执行历史](https://atomgit-api-doc.atomgit.com/17.actions/274.query_job_execution_history_of_runner_resource.html): 用户调用此接口,查询指定组织的 Runner 资源的 Job 执行历史。 - [查询有权访问指定 Runner Group 的仓库列表](https://atomgit-api-doc.atomgit.com/17.actions/314.query_the_list_of_repositories_that_have_access_to_a_specified_runner_group.html): 用户调用此接口,查询有权访问指定 Runner Group 的仓库列表。 ## Discussion - [创建仓库讨论](https://atomgit-api-doc.atomgit.com/18.discussion/276.create_repository_discussion.html): 该接口用于在指定仓库中创建新的讨论,创建时需要提供讨论标题、讨论内容及所属分类。成功创建后返回讨论的编号、标题、内容、创建时间、作者信息、分类信息及评论总数等… - [更新仓库讨论](https://atomgit-api-doc.atomgit.com/18.discussion/277.update_repository_discussion.html): 该接口用于更新指定仓库中的讨论,可修改讨论的标题、内容与所属分类,并返回讨论的完整信息。 - [删除仓库讨论](https://atomgit-api-doc.atomgit.com/18.discussion/278.delete_the_repository_discussion.html): 该接口用于删除指定仓库中的讨论,通过仓库所属空间地址、仓库路径和讨论编号定位目标讨论,删除成功后返回空响应体。 - [创建仓库讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/279.create_repository_discussion_comment.html): 该接口用于在指定仓库的讨论下创建一条评论,支持以 Markdown 格式提交评论内容,并返回新创建的评论及其作者、讨论关联等详细信息。 - [回复仓库讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/280.reply_to_repository_discussion_comment.html): 该接口用于在指定仓库的讨论中对特定评论进行回复,通过提交 Markdown 格式的评论内容完成回复操作,并返回所创建回复的详细信息。 - [更新仓库讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/281.update_repository_discussion_comment_by_id.html): 该接口用于更新指定仓库讨论下某条评论的内容,支持以 Markdown 格式提交新的评论内容,并返回更新后的评论详情信息,包括评论内容、作者信息、所属讨论及点赞… - [删除仓库讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/282.delete_repository_discussion_comment_by_id.html): 该接口用于删除指定仓库中某条讨论下的指定评论,删除成功后无响应体内容返回。 - [获取项目讨论列表](https://atomgit-api-doc.atomgit.com/18.discussion/283.get_project_discussion_list.html): 该接口用于获取指定仓库下的项目讨论列表,支持按页码和每页数量进行分页,可按创建时间或评论数量排序并控制升降序,还可根据标题和描述进行搜索,返回讨论的标题、作者… - [获取项目讨论详情](https://atomgit-api-doc.atomgit.com/18.discussion/284.get_project_discussion_details.html): 该接口用于获取指定仓库的讨论详情,返回讨论的标题、正文内容、作者信息、分类、标签、评论总数,以及讨论关联的投票与投票选项等详细信息。 - [获取项目讨论评论列表](https://atomgit-api-doc.atomgit.com/18.discussion/285.get_project_discussion_comment_list.html): 该接口用于获取指定仓库中项目讨论下的评论列表,支持按页码与每页数量分页查询,也可按评论的创建时间或热度值进行排序,并返回评论内容、作者信息、点赞数及回复数等相… - [获取项目讨论评论回复列表](https://atomgit-api-doc.atomgit.com/18.discussion/286.get_project_discussion_comment_reply_list.html): 该接口用于获取指定仓库中项目讨论的评论回复列表,返回回复内容、作者信息及点赞数等数据,并支持分页查询。 - [创建组织讨论](https://atomgit-api-doc.atomgit.com/18.discussion/287.create_organization_discussion.html): 该接口用于在指定组织下创建新的讨论,调用时需提供讨论标题、讨论内容(markdown 格式)及所属分类名称,创建成功后返回讨论的完整信息。 - [更新组织讨论](https://atomgit-api-doc.atomgit.com/18.discussion/288.update_organization_discussion.html): 该接口用于更新指定组织的讨论内容,支持修改讨论的标题、正文内容(markdown 格式)及所属分类,并返回更新后的讨论详情信息。 - [删除组织讨论](https://atomgit-api-doc.atomgit.com/18.discussion/289.delete_organizational_discussion.html): 该接口用于删除指定组织下的讨论。通过组织路径与讨论编号定位目标讨论,删除成功后返回 200 状态码,响应体为空。 - [创建组织讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/290.create_organization_discussion_comment.html): 该接口用于在指定组织的讨论下创建评论,需提供组织路径、讨论编号以及Markdown格式的评论内容,创建成功后返回包含作者信息、点赞数、回复数等完整数据的评论详… - [回复组织讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/291.organize_a_discussion_comment.html): 该接口用于回复指定组织下的讨论评论,支持以 Markdown 格式提交回复内容,并返回所创建回复的详细信息(如回复内容、作者信息、创建时间、点赞数及回复总数等… - [更新组织讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/292.update_organization_discussion_comments.html): 该接口用于更新指定组织讨论下的评论内容,提交以 Markdown 格式书写的新评论内容即可完成更新,并返回更新后评论的完整信息。 - [删除组织讨论评论](https://atomgit-api-doc.atomgit.com/18.discussion/293.delete_organization_discussion_comment.html): 该接口用于删除指定组织讨论下的评论。需指定组织路径、讨论编号及评论id,删除成功后返回200状态码且响应体为空。 - [获取组织讨论列表](https://atomgit-api-doc.atomgit.com/18.discussion/294.get_organization_discussion_list.html): 该接口用于获取指定组织的讨论列表,支持按页码和每页数量进行分页查询,可依据创建时间或评论数量排序,并能通过标题和描述关键词搜索,返回讨论的详细信息及作者、分类… - [获取组织讨论详情](https://atomgit-api-doc.atomgit.com/18.discussion/295.get_organization_discussion_details.html): 该接口用于根据组织路径与讨论编号获取指定组织的讨论详情,返回讨论标题、正文内容、作者信息、分类、评论数量、投票信息及标签列表等完整资料。 - [获取组织讨论评论列表](https://atomgit-api-doc.atomgit.com/18.discussion/296.get_organization_discussion_comment_list.html): 该接口用于获取指定组织下某个讨论的评论列表,支持分页与按创建时间、热度值排序,返回内容包含评论内容、点赞数、回复数及作者信息等。 - [获取组织讨论评论回复列表](https://atomgit-api-doc.atomgit.com/18.discussion/297.get_organization_discussion_comment_reply_list.html): 该接口用于获取指定组织讨论下某条评论的回复列表,返回每条回复的作者信息、内容及 Markdown 格式内容、点赞数和回复数等详情,并支持分页查询。 ## Oauth2.0 - [获取或刷新授权 Token 接口](https://atomgit-api-doc.atomgit.com/19.oauth2.0/oauth2_refresh_token.html): 调用通过此接口,用于获取或刷新访问令牌(accesstoken)的统一接口 ## Branch - [获取项目所有分支](https://atomgit-api-doc.atomgit.com/2.branch/44.get_all_project_branches.html): 该接口用于获取指定项目(仓库)下的全部分支列表,支持按名称或更新时间排序及分页查询,返回每个分支的名称、描述、指向的提交、是否默认分支、创建时间、创建人及保护… - [创建分支](https://atomgit-api-doc.atomgit.com/2.branch/45.create_branch.html): 该接口用于在指定仓库中创建新分支,可指定分支起点、新分支名称及描述信息,创建成功后返回新分支的名称、描述、指向的提交信息,以及是否为默认分支或保护分支等属性。 - [删除分支](https://atomgit-api-doc.atomgit.com/2.branch/46.delete_branch.html): 该接口用于删除指定仓库中指定的分支。调用成功后,目标分支将被移除,响应体为空。 - [获取单个分支](https://atomgit-api-doc.atomgit.com/2.branch/47.get_single_branch.html): 该接口用于获取指定仓库中的单个分支信息,返回分支名称、描述、所指向提交的详细信息以及是否已合并、是否受保护、是否为默认分支等状态。 - [新建保护分支规则](https://atomgit-api-doc.atomgit.com/2.branch/48.create_new_protection_branch_rule.html): 该接口用于为指定仓库新建保护分支规则,通过设置分支或通配符,并指定可推送代码及可合并 Pull Request 的成员角色,从而控制对应分支的代码变更权限。 - [删除保护分支规则](https://atomgit-api-doc.atomgit.com/2.branch/49.delete_protected_branch_rule.html): 该接口用于删除指定仓库中指定分支的保护分支规则,操作成功后返回空响应体;若目标分支的保护规则不存在,则返回错误提示信息。 - [获取保护分支规则列表](https://atomgit-api-doc.atomgit.com/2.branch/50.get_protection_branch_rules_list.html): 该接口用于获取指定仓库的保护分支规则列表,返回每条规则的分支名称、更新时间、允许推送与合并的用户列表,以及各角色(开发者、提交者、管理员等)的推送和合并权限开… - [更新保护分支规则](https://atomgit-api-doc.atomgit.com/2.branch/51.update_protection_branch_rules.html): 该接口用于更新指定仓库中特定保护分支的规则,通过设置可推送代码的成员与可合并请求的成员,来控制代码推送和合并的权限。 ## Ai Hub - [文本生成](https://atomgit-api-doc.atomgit.com/20.ai_hub/302.text_generation.html): 该接口用于实现文本生成功能,是基于 OpenAI 兼容的对话补全(Chat Completions)协议的接口。通过提交模型名称与对话消息,支持流式(SSE)… - [自动语音识别](https://atomgit-api-doc.atomgit.com/20.ai_hub/304.automatic_speech_recognition.html): 该接口提供自动语音识别功能,接收音频文件(支持 mp3、wav、m4a、flac、webm 格式),经模型识别后返回对应的文本内容。 - [目标检测](https://atomgit-api-doc.atomgit.com/20.ai_hub/305.object_detection.html): 该接口用于目标检测,使用 YOLO 模型对图片进行物体识别,识别图片中的物体并返回检测结果,包括边界框坐标、类别及置信度等信息,同时支持配置模型权重、输入尺寸… - [图像生成视频(创建任务)](https://atomgit-api-doc.atomgit.com/20.ai_hub/306.image_generation_video_create_task.html): 调用此接口创建视频生成任务,如果没有异常返回,可根据 requestid 异步查询视频生成结果。 - [图像生成视频(查询状态)](https://atomgit-api-doc.atomgit.com/20.ai_hub/307.image_generation_video_query_status.html): 根据请求ID(requestid)查询图像生成视频任务的生成状态与结果。视频生成成功时返回视频URL,失败时返回错误信息。 - [音频分类](https://atomgit-api-doc.atomgit.com/20.ai_hub/308.audio_classification.html): 该接口用于对上传的音频文件进行情感分类识别,返回音频的向量表示、情感三维度(唤醒度、支配度、效价)分数以及格式化后的分类结果列表。 ## Issues - [创建Issue](https://atomgit-api-doc.atomgit.com/3.issues/52.create_issue.html): 用户调用此接口,在指定仓库下创建一个 Issue。 - [更新Issue](https://atomgit-api-doc.atomgit.com/3.issues/53.update_issue.html): 用户调用此接口,更新指定仓库中的 Issue。 - [获取仓库的某个Issue](https://atomgit-api-doc.atomgit.com/3.issues/54.get_a_specific_issue_of_a_repository.html): 该接口用于获取指定仓库中某个 Issue 的详细信息,包括标题、内容、状态、创建人、评论数、标签、里程碑及自定义字段等。 - [获取仓库所有 issues](https://atomgit-api-doc.atomgit.com/3.issues/55.get_all_repository_issues.html): 该接口用于获取指定仓库内的所有 issue 列表,支持按状态、标签、里程碑、指派人、创建者及时间范围等条件筛选,并可通过关键字搜索 issue 标题或内容,同… - [获取仓库某个Issue所有的评论](https://atomgit-api-doc.atomgit.com/3.issues/56.get_all_comments_of_a_specific_issue_in_the_repository.html): 该接口用于获取指定仓库中某个 Issue 的全部评论,支持分页、排序及按起始更新时间筛选,返回每条评论的内容、发表用户和关联 Issue 等信息。 - [创建Issue评论](https://atomgit-api-doc.atomgit.com/3.issues/57.create_issue_comment.html): 该接口用于在指定仓库的指定 Issue 下创建一条评论,通过提交评论内容完成评论创建,并返回新建评论的详细信息。 - [获取仓库所有 Issue 评论](https://atomgit-api-doc.atomgit.com/3.issues/58.get_all_issue_comments_in_repository.html): 该接口用于获取指定仓库中所有 Issue 的评论,支持按创建或更新时间排序、指定排序方向以及分页查询,并可按时间筛选最新更新的评论。 - [获取 issue 关联的 pull requests](https://atomgit-api-doc.atomgit.com/3.issues/59.get_pull_requests_associated_with_the_issue.html): 该接口用于获取指定仓库下某个 Issue 关联的所有 Pull Request 列表,返回每个 PR 的编号、标题、状态、源分支与目标分支、指派人员及标签等详… - [获取企业某个Issue所有标签](https://atomgit-api-doc.atomgit.com/3.issues/60.get_all_labels_of_an_enterprise_s_issue.html): 该接口用于获取企业指定 Issue 下的所有标签,返回标签的编号、名称、颜色及链接信息,并支持分页查询。 - [创建Issue标签](https://atomgit-api-doc.atomgit.com/3.issues/61.create_issue_label.html): 该接口用于为指定仓库中的特定 Issue 创建标签。通过提交标签名称列表,可为该 Issue 添加一个或多个标签,并返回所创建标签的详细信息,包括名称、颜色、… - [删除Issue标签](https://atomgit-api-doc.atomgit.com/3.issues/62.delete_issue_label.html): 该接口用于删除指定仓库中某个 Issue 的标签,支持以英文逗号分隔多个标签名称进行批量删除,删除成功后返回空对象。 - [获取某个issue下的操作日志](https://atomgit-api-doc.atomgit.com/3.issues/63.get_operation_logs_for_a_specific_issue.html): 获取某个 issue 下的操作日志,返回该 issue 的操作记录列表,按时间顺序列出操作内容、操作者及关联的合并请求信息。 - [获取某个企业的所有Issues](https://atomgit-api-doc.atomgit.com/3.issues/64.get_all_issues_of_a_company.html): routeid: - [获取授权用户的所有Issues](https://atomgit-api-doc.atomgit.com/3.issues/65.get_all_issues_of_authorized_user.html): 用户调用此接口,获取授权用户的所有 Issues。 - [更新Issue某条评论](https://atomgit-api-doc.atomgit.com/3.issues/66.update_issue_comment.html): 该接口用于更新指定仓库中 Issue 的某条评论内容,可提交新的评论正文替换原有评论,更新成功后返回空对象。 - [删除Issue某条评论](https://atomgit-api-doc.atomgit.com/3.issues/67.delete_issue_s_specific_comment.html): 该接口用于删除指定仓库中某个 Issue 下的特定评论,便于移除不需要或已过时的讨论内容,操作成功后该评论不再显示。 - [获取仓库Issue某条评论](https://atomgit-api-doc.atomgit.com/3.issues/68.get_repository_issue_comment.html): 该接口用于获取指定仓库中某条 Issue 评论的详细信息,涵盖评论内容、评论类型、作者信息、关联的 Issue 信息以及创建和更新时间。 - [获取当前用户某个组织的Issues](https://atomgit-api-doc.atomgit.com/3.issues/69.get_issues_of_a_certain_organization_of_current_user.html): 该接口用于获取当前用户指定组织的 Issue 列表,支持按负责或创建来源、开启或关闭状态、标签、创建时间等条件筛选,并可按创建或更新时间排序、分页返回,同时支… - [获取企业某个Issue所有评论](https://atomgit-api-doc.atomgit.com/3.issues/70.get_all_comments_of_an_enterprise_s_certain_issue.html): 该接口用于获取指定企业下某个 Issue 的全部评论,支持分页查询。返回结果包含每条评论的内容、创建及更新时间、评论关联的 Issue 信息,以及发表评论的用… - [获取企业的某个Issue](https://atomgit-api-doc.atomgit.com/3.issues/71.get_a_specific_issue_of_an_enterprise.html): 该接口用于获取企业下指定的某个 Issue,返回该 Issue 的详细信息,包括标题、内容、状态、标签、评论数、优先级、类型、创建者、所属仓库及自定义字段等完… - [获取企业issue状态](https://atomgit-api-doc.atomgit.com/3.issues/72.get_enterprise_issue_status.html): 该接口用于获取指定企业的 issue 状态列表。通过传入企业空间地址路径,可查询该企业下所有 issue 状态信息,包括状态名称与状态描述,便于了解企业各类 … - [获取issue关联的分支列表](https://atomgit-api-doc.atomgit.com/3.issues/73.get_the_list_of_branches_associated_with_the_issue.html): 该接口用于获取指定 issue 关联的分支列表,通过仓库所属空间地址、仓库路径和 Issue 编号进行查询,返回与该 issue 相关联的分支名称,响应体为字… - [获取issue的表态列表](https://atomgit-api-doc.atomgit.com/3.issues/74.get_the_list_of_statements_for_the_issue.html): 该接口用于获取指定 Issue 下用户表态(reaction)的列表,支持按 emoji 表情筛选,并分页返回表态记录及对应的用户信息。 - [获取issue评论的表态列表](https://atomgit-api-doc.atomgit.com/3.issues/75.get_the_list_of_statements_from_issue_comments.html): 该接口用于获取指定 issue 评论的表态列表,返回用户对该评论的 emoji 表态记录,包含表态的 emoji 表情、枚举值及表态用户信息,并支持按 emo… - [获取issue的修改历史](https://atomgit-api-doc.atomgit.com/3.issues/76.get_the_modification_history_of_the_issue.html): 该接口用于获取指定仓库下某个 Issue 的修改历史,每条记录包含修改后的内容、修改时间与操作者信息。 - [获取issue评论的修改历史](https://atomgit-api-doc.atomgit.com/3.issues/77.get_the_modification_history_of_issue_comments.html): 该接口用于获取指定 issue 评论的修改历史记录,返回包含修改时间、修改后内容以及操作用户与被修改用户信息的历史记录数组。 - [设置Issue关联的分支](https://atomgit-api-doc.atomgit.com/3.issues/78.set_the_branch_associated_with_the_issue.html): 该接口用于为指定仓库的 Issue 设置关联的分支,提交分支名列表完成关联设置,并返回当前与 Issue 关联的分支名列表。 - [更新issue关联的看板字段](https://atomgit-api-doc.atomgit.com/3.issues/79.update_the_board_field_associated_with_the_issue.html): 该接口用于更新指定 issue 关联的看板字段,通过指定看板标识(kanbanid)并提交字段名称及对应的字段值列表,可批量修改该 issue 在看板中的字段… ## Search - [搜索用户](https://atomgit-api-doc.atomgit.com/4.search/80.search_users.html): 用户调用此接口,根据关键字搜索用户。 - [搜索 Issues](https://atomgit-api-doc.atomgit.com/4.search/81.search_issues.html): 用户调用此接口,按关键字搜索 Issues,返回匹配的 Issue 对象数组。 - [搜索仓库](https://atomgit-api-doc.atomgit.com/4.search/82.search_repositories.html): 用户调用此接口,搜索平台上的仓库。 ## Pull Requests - [获取项目Pull Request列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/83.get_project_pull_request_list.html): 该接口用于获取指定仓库下的 Pull Request 列表,支持按状态、目标分支、时间范围、排序、分页等条件进行筛选,并可仅返回各状态的合并请求计数。 - [创建Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/84.create_pull_request.html): 该接口用于在指定仓库下创建 Pull Request(合并请求),可设置标题、源分支与目标分支、描述内容,并支持指定审查与测试人员、标签、里程碑、草稿状态及合… - [合并Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/85.merge_pull_request.html): 该接口用于合并指定仓库中指定序号的 Pull Request。支持通过 merge、squash 或 rebase 等方式完成合并,可自定义合并标题与描述,并… - [判断Pull Request是否合并](https://atomgit-api-doc.atomgit.com/5.pull_requests/86.check_if_pull_request_is_merged.html): 该接口用于判断指定仓库中某个 Pull Request 是否已经合并,根据仓库空间地址、仓库路径及 PR 序号定位目标,并返回相应的合并状态提示信息。 - [获取pr关联的issue](https://atomgit-api-doc.atomgit.com/5.pull_requests/87.get_pr_associated_issue.html): 该接口用于获取指定仓库中某个 PR(Pull Request)所关联的 issue 列表,并返回每个 issue 的编号、标题、状态、内容描述、创建者信息、标… - [提交pull request 评论](https://atomgit-api-doc.atomgit.com/5.pull_requests/88.submit_pull_request_comments.html): 该接口用于向指定的 pull request 提交评论,可指定文件路径与代码所在行数进行行级评论,也可选择文件级评论,提交成功后返回评论 ID 与评论内容。 - [获取某个Pull Request的所有评论](https://atomgit-api-doc.atomgit.com/5.pull_requests/89.get_all_comments_of_a_pull_request.html): 该接口用于获取指定仓库中某个 Pull Request 的全部评论,支持按代码行评论与 PR 普通评论类型筛选,并可通过页码、每页数量和升降序参数进行分页排序… - [Pull Request Commit文件列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/90.pull_request_commit_file_list.html): 该接口用于查询指定仓库中某个 Pull Request(合并请求)变更所涉及的文件列表,返回每个变更文件的路径、状态、新增与删除行数、diff 补丁信息,以及… - [更新Pull Request信息](https://atomgit-api-doc.atomgit.com/5.pull_requests/91.update_pull_request_information.html): 该接口用于更新指定仓库中某个 Pull Request 的信息,支持修改标题、内容、状态、里程碑、标签、是否草稿等,并可配置合并后是否关闭关联 Issue 及… - [获取单个Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/92.get_single_pull_request.html): 该接口用于获取指定仓库中单个 Pull Request 的详细信息,包括标题、状态、审核人与测试人信息、标签、合并门禁状态、里程碑及合并结果等,帮助开发者了解… - [获取某Pull Request的所有Commit信息](https://atomgit-api-doc.atomgit.com/5.pull_requests/93.get_all_commit_information_for_a_specific_pull_request.html): 该接口用于获取指定仓库中某个 Pull Request 的全部 Commit 信息,返回内容包括提交的 SHA、提交说明、作者与提交者信息、父提交信息以及共同… - [创建 Pull Request标签](https://atomgit-api-doc.atomgit.com/5.pull_requests/94.create_pull_request_label.html): 该接口用于为指定仓库中的指定 Pull Request 创建标签,通过请求体提交标签名称数组,成功后可获取所创建标签的 ID、名称、颜色及文字颜色等详细信息。 - [获取某个 Pull Request的所有标签](https://atomgit-api-doc.atomgit.com/5.pull_requests/95.get_all_labels_of_a_specific_pull_request.html): 该接口用于获取指定仓库中某个 Pull Request 的所有标签,通过仓库空间地址、仓库路径和 PR 序号定位目标,返回包含标签 ID、名称、颜色等信息的标… - [替换 Pull Request所有标签](https://atomgit-api-doc.atomgit.com/5.pull_requests/96.replace_all_labels_on_pull_request.html): 该接口用于替换指定 Pull Request 的所有标签。请求体为标签名称数组,提交后将覆盖该 Pull Request 原有的全部标签,成功时响应为空对象。 - [删除 Pull Request标签](https://atomgit-api-doc.atomgit.com/5.pull_requests/97.delete_pull_request_labels.html): 该接口用于删除指定仓库中指定 Pull Request 的一个或多个标签,支持通过英文逗号分隔标签名称进行批量删除,删除成功后返回空对象,便于对 Pull R… - [处理 Pull Request测试](https://atomgit-api-doc.atomgit.com/5.pull_requests/98.handle_pull_request_testing.html): 该接口用于处理指定仓库中某个 Pull Request 的测试操作,支持通过 force 参数强制测试通过(该能力仅对管理员生效),测试成功后返回空对象作为响… - [处理 Pull Request审查](https://atomgit-api-doc.atomgit.com/5.pull_requests/99.handle_pull_request_approvals.html): 该接口用于对指定仓库中指定序号的 Pull Request 执行审查处理,通过提交审查请求推进该 PR 的审查流程,并支持强制审查通过功能,该强制操作仅对管理… - [获取某个Pull Request的操作日志](https://atomgit-api-doc.atomgit.com/5.pull_requests/100.get_operation_logs_for_a_specific_pull_request.html): 该接口用于查询指定仓库中某个 Pull Request 的操作日志,支持按时间倒序排序和分页浏览,返回每一条操作的详细记录,包括操作内容、操作类型、操作人及时… - [重置 Pull Request测试 的状态](https://atomgit-api-doc.atomgit.com/5.pull_requests/101.reset_pull_request_test_status.html): 该接口用于重置指定 Pull Request 的测试状态。通过请求体中的 resetall 参数,可重置单个测试人的测试结果,也可一次性重置所有测试人的测试状… - [指派用户测试 Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/102.assign_users_to_test_pull_requests.html): 该接口用于为指定仓库中的某个 Pull Request 指派测试人,通过请求体中的测试人列表进行设置,并支持覆盖更新或新增测试人(由 add 参数控制),操作… - [取消用户测试Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/103.cancel_user_test_for_pull_request.html): 该接口用于取消指定仓库中某个 Pull Request 的测试用户。通过传入需移除的用户个人空间地址,可将相应测试者从该 PR 的测试者列表中删除,并返回操作… - [获取可作为Pull Request测试人列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/104.get_the_list_of_people_who_can_be_test_subjects_for_pull_request.html): 该接口用于获取指定仓库中可作为 Pull Request 测试人的用户列表,返回候选用户的账号、昵称、头像及对象标识等信息,供在提交 Pull Request… - [重置 Pull Request审查 的状态](https://atomgit-api-doc.atomgit.com/5.pull_requests/105.reset_the_status_of_a_pull_request_approval.html): 该接口用于重置指定仓库中特定 Pull Request 的审查状态,可通过请求体可选参数设定是否重置所有审查人的审查记录,其中重置全部审查人的操作仅对仓库管理… - [指派用户审查 Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/106.assign_users_to_approve_pull_requests.html): 该接口用于为指定仓库中的指定 Pull Request 指派审查用户:提交以逗号分隔的用户个人空间地址列表,可将一名或多名用户指派为该 PR 的审查者,并返回… - [取消用户审查 Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/107.cancel_user_approval_of_pull_request.html): 该接口用于取消指定 Pull Request 上已指派的用户审查,撤回用户的审查资格,解除其审查任务,使该用户不再参与对该 Pull Request 的审查。 - [pr提交的文件变更信息](https://atomgit-api-doc.atomgit.com/5.pull_requests/108.pr_submitted_file_change_information.html): 该接口用于查询指定 PR 提交的文件变更信息,返回文件变更数量、新增与删除行数、对比引用的 commit 信息,以及各文件的具体差异内容,包含文件路径、行级增… - [企业 Pull Request列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/110.enterprise_pull_request_list.html): 该接口用于查询指定企业(空间)下的 Pull Request 列表,支持按状态、作者、目标分支、标签、时间范围等条件筛选,并可对结果进行分页与排序,返回包含标… - [获取Pull Request某条评论](https://atomgit-api-doc.atomgit.com/5.pull_requests/111.get_pull_request_comment.html): 该接口用于根据评论 ID 获取指定仓库中 Pull Request 的某条评论详情,包括评论内容、作者信息、创建及更新时间,以及评论关联的 Issue 与代码… - [编辑评论](https://atomgit-api-doc.atomgit.com/5.pull_requests/112.edit_comments.html): 该接口用于编辑仓库中指定 Pull Request 下某条评论的内容,通过评论 ID 定位目标评论并提交新的评论内容;编辑成功后返回空对象,失败时返回相应的错… - [删除评论](https://atomgit-api-doc.atomgit.com/5.pull_requests/113.delete_comment.html): 该接口用于删除指定仓库中指定 Pull Request 的评论,通过仓库地址、仓库路径及评论 ID 定位目标评论,删除成功后返回空对象。 - [组织 Pull Request列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/114.organization_pull_request_list.html): 该接口用于查询指定组织下的 Pull Request 列表,支持按仓库、状态、目标分支、作者、标签、创建与更新时间范围及查询范围等条件筛选,同时支持分页和按标… - [获取企业 issue 关联的 Pull Requests](https://atomgit-api-doc.atomgit.com/5.pull_requests/115.get_enterprise_issue_associated_pull_requests.html): 该接口用于获取指定企业下与某个 issue 关联的所有 Pull Requests,通过企业路径与 issue 全局 id 进行查询,返回包含 PR 序号、标… - [Pull Request关联issue](https://atomgit-api-doc.atomgit.com/5.pull_requests/116.pull_request_relates_to_issue.html): 该接口用于将指定仓库中的 Issue 关联到目标 Pull Request,请求时需提交待关联的 Issue 序号列表,关联成功后返回所关联 Issue 的编… - [Pull Request删除关联的issue](https://atomgit-api-doc.atomgit.com/5.pull_requests/117.pull_request_delete_the_associated_issue.html): 该接口用于解除指定 Pull Request 与多个 issue 的关联关系,请求体中传入待解除关联的 issue 序号数组,操作完成后返回该 PR 剩余的关… - [回复Pull Request评论](https://atomgit-api-doc.atomgit.com/5.pull_requests/118.reply_to_pull_request_comment.html): 该接口用于对指定 Pull Request 讨论中的评论进行回复,提交回复正文后,该回复会作为一条新评论写入对应讨论,并返回评论编号及正文内容。 - [修改检视意见解决状态](https://atomgit-api-doc.atomgit.com/5.pull_requests/119.revised_comments_and_inspection_opinions_status_resolved.html): 该接口用于修改指定 Pull Request 中检视意见(评论/讨论)的解决状态,通过请求体中的 resolved 字段设置该检视意见是否已解决。 - [设置Pull Request合并人](https://atomgit-api-doc.atomgit.com/5.pull_requests/120.set_pull_request_merger.html): 该接口用于为指定仓库中的 Pull Request 设置合并人,通过提交以逗号分隔的用户个人空间地址,可指定一个或多个合并人,操作成功后返回合并人的相关信息。 - [指派用户评审Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/121.assign_user_to_review_pull_request.html): 该接口用于为指定仓库中的某个 Pull Request 指派用户作为评审人,支持新增或覆盖更新评审人名单,并可返回指派后的评审人信息。 - [取消用户评审Pull Request](https://atomgit-api-doc.atomgit.com/5.pull_requests/122.cancel_user_review_pull_request.html): 该接口用于取消指定仓库中某个 Pull Request 的用户评审,通过传入需取消评审的用户个人空间地址列表,可将对应评审人移除,并在操作完成后返回更新后的评… - [获取可作为Pull Request评审人列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/123.get_the_list_of_people_who_can_be_reviewers_for_a_pull_request.html): 该接口用于获取指定仓库中指定 Pull Request 的可选评审人列表,返回评审人的用户 ID、账号、昵称、头像等信息,方便用户选择合适的代码评审人员。 - [获取Pull Request的表态列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/124.get_the_list_of_reactions_for_a_pull_request.html): 该接口用于获取指定仓库中指定 Pull Request 的表态列表,返回每条表态对应的 emoji 表情及表态用户信息,支持按表情类型筛选与分页浏览。 - [获取Pull Request评论的表态列表](https://atomgit-api-doc.atomgit.com/5.pull_requests/125.get_the_list_of_reactions_for_a_pull_request_comment.html): 该接口用于获取指定 Pull Request 评论的表态列表,返回各表态记录的编号、表情及表态用户信息,并支持按 emoji 类型筛选与分页查询。 - [获取Pull Request的修改历史](https://atomgit-api-doc.atomgit.com/5.pull_requests/126.get_the_modification_history_of_the_pull_request.html): 该接口用于获取指定仓库中指定 Pull Request 的修改历史,返回包含修改时间、修改内容及操作者、更新者用户信息的修改记录列表。 - [获取Pull Request评论的修改历史](https://atomgit-api-doc.atomgit.com/5.pull_requests/127.get_the_modification_history_of_pull_request_comments.html): 该接口用于获取指定仓库中Pull Request评论的修改历史。通过这个接口,用户可以查看评论在创建及历次修改过程中产生的记录,包括修改时间、修改后的内容、评… - [刷新Pull Request评论位置/过期状态](https://atomgit-api-doc.atomgit.com/5.pull_requests/128.refresh_pull_request_comment_position_expiration_status.html): 该接口用于刷新指定 Pull Request 评论的位置与过期状态,支持按文件路径或评论 ID 定向刷新,当两者均未指定时,将刷新该 Pull Request… ## Commit - [获取仓库所有提交](https://atomgit-api-doc.atomgit.com/6.commit/130.get_all_repository_commits.html): 该接口用于获取指定仓库的所有提交记录,支持按提交 SHA、文件路径、作者及时间范围进行筛选,并可通过分页方式浏览提交历史。 - [仓库的某个提交](https://atomgit-api-doc.atomgit.com/6.commit/131.a_commit_in_a_repository.html): 该接口用于查询指定仓库中某个提交的详细信息,包括提交信息、作者与提交者、变更统计及变更文件列表,可通过 showdiff 参数控制是否返回文件变更明细。 - [Commits对比](https://atomgit-api-doc.atomgit.com/6.commit/132.commits_comparison.html): 该接口用于查询指定仓库中两个提交之间的对比结果,支持以 Commit SHA、分支名或标签名作为对比起点与终点,返回对比范围内的提交列表、变更文件及增删行数等… - [创建commit评论](https://atomgit-api-doc.atomgit.com/6.commit/133.create_commit_comment.html): 该接口用于在指定仓库的某个 commit 下创建评论,调用时需提供仓库所属空间、仓库路径及 commit ID,并提交评论内容,创建成功后返回评论 ID、内容… - [删除commit评论](https://atomgit-api-doc.atomgit.com/6.commit/134.delete_commit_comment.html): 该接口用于删除指定仓库提交下的评论,调用时需提供仓库所属空间地址、仓库路径及评论 id 以定位目标评论,删除成功后返回空对象。 - [获取仓库的某条Commit评论](https://atomgit-api-doc.atomgit.com/6.commit/135.get_a_specific_commit_comment_in_the_repository.html): 该接口用于获取指定仓库中某条 Commit 评论的详情,返回该评论的内容、创建时间、更新时间、评论目标对象以及发表评论的用户信息。 - [更新Commit评论](https://atomgit-api-doc.atomgit.com/6.commit/136.update_commit_comment.html): 该接口用于更新指定 Commit 上的评论内容。调用时需指定仓库所属空间地址、仓库路径与评论 ID,并通过请求体传入新的评论内容,接口返回更新后的评论详情。 - [获取仓库的Commit评论](https://atomgit-api-doc.atomgit.com/6.commit/137.get_repository_commit_comments.html): 该接口用于获取指定仓库的 Commit 评论列表,支持通过页码与每页数量参数进行分页查询,并可选择按评论的升序或降序排列,便于用户浏览和检索仓库中针对各提交的… - [获取代码量贡献](https://atomgit-api-doc.atomgit.com/6.commit/138.get_code_contribution.html): 该接口用于获取指定仓库中某个分支的代码量贡献统计,包括提交记录以及各用户的代码新增与删除行数、提交次数等信息,可通过作者、日期范围等条件筛选统计结果。 - [获取单个commit评论](https://atomgit-api-doc.atomgit.com/6.commit/139.get_single_commit_comment.html): 该接口用于获取指定仓库中某个 commit 的评论列表,支持分页查询,返回每条评论的内容、创建及更新时间,以及发表评论的用户信息。 - [获取commit的diff](https://atomgit-api-doc.atomgit.com/6.commit/140.get_the_diff_of_commit.html): 该接口用于获取指定仓库中某个 commit 的 diff 内容。通过这个接口,传入仓库所属空间地址、仓库路径及 commit 的 SHA 值,即可查询对应提交… - [获取commit的patch](https://atomgit-api-doc.atomgit.com/6.commit/141.get_the_commit_patch.html): 该接口用于获取指定仓库中某个 commit 的 patch 内容,以 unified diff 格式返回该提交带来的文件变更,便于查看提交的具体改动。 ## Tag - [列出项目所有的tag](https://atomgit-api-doc.atomgit.com/7.tag/142.list_all_tags_of_the_project.html): 列出指定仓库下的全部标签(tags),支持分页查询。 - [创建仓库的Tag](https://atomgit-api-doc.atomgit.com/7.tag/143.create_a_tag_for_a_repository.html): 用户调用此接口,在指定仓库下创建一个新的标签(Tag)。 - [删除仓库的Tag](https://atomgit-api-doc.atomgit.com/7.tag/144.delete_a_tag_from_the_repository.html): 用户调用此接口,进行删除仓库的一个Tag操作. - [列出项目保护 tag](https://atomgit-api-doc.atomgit.com/7.tag/145.list_project_protection_tags.html): 该接口用于列出指定仓库中的保护 tag 列表,返回各保护 tag 的名称及其创建所需的最低访问级别,并支持分页查询,方便查看项目对 tag 的权限保护设置。 - [创建项目保护 tag](https://atomgit-api-doc.atomgit.com/7.tag/146.create_project_protection_tag.html): 该接口用于在指定仓库下创建一条项目保护 tag,并设置标签名称及允许创建的访问级别,同时可指定具备创建权限的自定义角色,以实现对标签创建操作的保护与权限管控。 - [修改项目保护 tag](https://atomgit-api-doc.atomgit.com/7.tag/147.modify_project_protection_tag.html): 该接口用于修改指定仓库的项目保护 tag,可设置标签名称及允许创建的访问级别,用于管控标签的创建权限。 - [删除项目保护 tag](https://atomgit-api-doc.atomgit.com/7.tag/148.delete_project_protection_tag.html): 该接口用于删除指定仓库中的保护标签,需提供仓库所属空间地址、仓库路径及标签名称。删除后该标签将不再受保护,接口成功时返回空对象。 - [获取项目保护 tag 详情](https://atomgit-api-doc.atomgit.com/7.tag/149.get_project_protection_tag_details.html): 该接口用于获取指定仓库下某个保护 tag 的详情,返回该标签的名称、允许创建(推送)该标签的最低角色等级及对应的角色等级描述信息。 ## Labels - [替换所有仓库标签](https://atomgit-api-doc.atomgit.com/8.labels/150.replace_all_repository_labels.html): 该接口用于替换指定仓库的全部标签:传入新的标签名称列表即可整体覆盖原有标签,标签名会被统一转为小写并去重,传空数组则清空该仓库的所有标签。 - [删除Issue所有标签](https://atomgit-api-doc.atomgit.com/8.labels/151.remove_all_labels_from_issue.html): 该接口用于删除指定仓库中某个 Issue 的所有标签,通过仓库空间地址和 Issue 编号定位目标,删除成功后返回空对象,实现对 Issue 标签的整体清理。 - [替换Issue所有标签](https://atomgit-api-doc.atomgit.com/8.labels/152.replace_all_labels_of_issue.html): 该接口用于替换指定仓库中指定 Issue 的全部标签。请求体为标签名称组成的字符串数组,替换后该 Issue 的标签将完全由传入的数组决定。 - [更新仓库的任务标签](https://atomgit-api-doc.atomgit.com/8.labels/153.update_a_task_label_in_a_repository.html): 该接口用于更新指定仓库的任务标签,以标签原有名称定位目标标签,支持修改标签的新名称与颜色,更新成功后返回标签的 ID、名称及颜色信息。 - [获取仓库所有任务标签](https://atomgit-api-doc.atomgit.com/8.labels/154.get_all_task_labels_in_repository.html): 该接口用于获取指定仓库中的所有任务标签,返回标签的 ID、名称、颜色及所属仓库 ID 等信息,并支持通过分页参数控制返回的标签数量。 - [创建仓库任务标签](https://atomgit-api-doc.atomgit.com/8.labels/155.create_repository_task_label.html): 该接口用于在指定仓库下创建一个任务标签,提交标签名称和颜色即可完成创建,创建成功后返回该标签的标识、名称与颜色信息。 - [删除仓库任务标签](https://atomgit-api-doc.atomgit.com/8.labels/156.delete_a_repository_task_label.html): 该接口用于删除指定仓库中的任务标签。通过传入仓库所属空间地址、仓库路径及标签名称,即可将对应标签从仓库中删除,删除成功后返回空对象。 - [获取企业所有的标签](https://atomgit-api-doc.atomgit.com/8.labels/157.get_all_enterprise_tags.html): 该接口用于获取指定企业的全部标签,支持分页查询,每页数量最大为 100。返回结果为标签列表,包含标签 ID、名称、颜色、创建时间与更新时间等信息,可用于企业标… - [获取标签列表](https://atomgit-api-doc.atomgit.com/8.labels/158.get_tag_list.html): 获取企业(组织)下的标签列表,支持关键词搜索、分页与排序。 ## Milestone - [获取仓库所有里程碑](https://atomgit-api-doc.atomgit.com/9.milestone/159.get_all_repository_milestones.html): 该接口用于获取指定仓库的全部里程碑,支持按状态筛选(开放、关闭或全部),并可依据截止日期排序及分页查看,返回里程碑的标题、状态、截止日期及关联的 Issue … - [创建仓库里程碑](https://atomgit-api-doc.atomgit.com/9.milestone/160.create_repository_milestone.html): 该接口用于在指定仓库中创建里程碑,支持设置里程碑标题、具体描述、截止日期及状态,并返回创建后的里程碑完整信息。 - [获取仓库单个里程碑](https://atomgit-api-doc.atomgit.com/9.milestone/161.get_single_repository_milestone.html): 该接口用于获取指定仓库中单个里程碑的详细信息,包括里程碑标题、描述、状态、截止日期、创建及更新时间,以及关联的已关闭和未关闭 Issue 数量等数据。 - [删除仓库单个里程碑](https://atomgit-api-doc.atomgit.com/9.milestone/162.delete_single_milestone_in_repository.html): 该接口用于删除指定仓库中的单个里程碑。删除成功后返回空响应体;若目标里程碑不存在,则返回404错误提示。 - [更新仓库里程碑](https://atomgit-api-doc.atomgit.com/9.milestone/163.update_repository_milestones.html): 该接口用于更新指定仓库中的里程碑信息,可修改里程碑的标题、状态、具体描述及截止日期,并返回更新后的里程碑详情。