logo
0
0
WeChat Login
Forkfromcnb/sdk/chat-api, ahead:main1 commits, behind:main5 commits

Version

AI

  • AiAutoPr Automatically code and create a PR with AI based on the input requirement content and title.?
  • AiChatCompletions 调用者需有代码写权限(CI 中使用 CNB_TOKEN 不检查写权限)?

Activities

  • GetUserActivitiesByDate Get user activities by date.?
  • GetUserRepoActivityDetails List of personal repository activity details.?
  • TopContributors List the top active users?

Badge

  • GetBadge Get badge svg or JSON data.?
  • ListBadge List badge data?
  • UploadBadge Upload badge data?

Build

  • BuildCrontabSync Synchronize the content under the repository branch.?
  • BuildLogsDelete Delete pipeline logs content.?
  • BuildRunnerDownloadLog Pipeline runner log download.?
  • GetBuildLogs List pipeline builds.?
  • GetBuildStage Get pipeline build stage detail.?
  • GetBuildStatus Get pipeline build status.?
  • StartBuild Start a build.?
  • StopBuild Stop a build.?

Event

  • GetEvents Get events pre-signed URL and return content.?

Followers

  • GetFollowersByUserID Get the followers list of specified user.?
  • GetFollowingByUserID Get the list of users that the specified user is following.?

Git

  • CreateBlob Create a blob.?
  • CreateBranch Create a new branch based on a start point.?
  • CreateTag Create a tag.?
  • DeleteBranch Delete the specified branch.?
  • DeleteCommitAnnotation Delete commit annotation.?
  • DeleteCommitAsset Delete commit asset.?
  • DeleteTag Delete the specified tag.?
  • DeleteTagAnnotation Delete the metadata of the specified tag.?
  • GetArchive ?
  • GetArchiveCommitChangedFiles Download archive of changed files for a commit.?
  • GetArchiveCompareChangedFiles Download archive of changed files for a compare.?
  • GetBranch Get a branch.?
  • GetCommit Get a commit.?
  • GetCommitAnnotations Get commit annotations.?
  • GetCommitAnnotationsInBatch Get commit annotations in batch.?
  • GetCommitAssets Get a request to fetch a commit assets and returns 302 redirect to the assets URL with specific valid time.?
  • GetCommitAssetsBySha List commit assets.?
  • GetCommitStatuses List commit check statuses.?
  • GetCompareCommits Compare two commits, branches, or tags.?
  • GetContent List repository files or file.?
  • GetContentWithoutPath List repository files and directories.?
  • GetHead Get the default branch of the repository.?
  • GetPresignedLFSDownloadLink ?
  • GetRaw ?
  • GetTag Get a tag.?
  • GetTagAnnotations Query the metadata of the specified tag.?
  • ListBranches List branches.?
  • ListCommits List commits.?
  • ListTags List tags.?
  • PostCommitAssetUploadConfirmation Confirm commit asset upload.?
  • PostCommitAssetUploadURL Create a commit asset.?
  • PutCommitAnnotations Put commit annotations.?
  • PutTagAnnotations Set the metadata of the specified tag.?

GitSettings

  • DeleteBranchProtection Delete branch protection rule.?
  • GetBranchProtection Get branch protection rule.?
  • GetPipelineSettings List pipeline settings.?
  • GetPullRequestSettings List pull request settings.?
  • GetPushLimitSettings List push limit settings.?
  • ListBranchProtections List branch protection rules.?
  • PatchBranchProtection Update branch protection rule.?
  • PostBranchProtection Create branch protection rule.?
  • PutPipelineSettings Update pipeline settings.?
  • PutPullRequestSettings Set pull request settings.?
  • PutPushLimitSettings Set push limit settings.?

Issues

  • CanUserBeAssignedToIssue Checks if a user can be assigned to an issue.?
  • CreateIssue Create an issue.?
  • CreateIssueProperties ?
  • DeleteIssueAssignees Removes one or more assignees from an issue.?
  • DeleteIssueLabel Remove a label from an issue.?
  • DeleteIssueLabels Remove all labels from an issue.?
  • GetIssue Get an issue.?
  • GetIssueComment Get an issue comment.?
  • ListIssueAssignees List repository issue assignees.?
  • ListIssueComments List repository issue comments.?
  • ListIssueLabels List labels for an issue.?
  • ListIssues List issues.?
  • PatchIssueAssignees Updates the assignees of an issue.?
  • PatchIssueComment Update an issue comment.?
  • PostIssueAssignees Adds up to assignees to a issue, Users already assigned to an issue are not replaced.?
  • PostIssueComment Create an issue comment.?
  • PostIssueLabels Add labels to an issue.?
  • PutIssueLabels Set the new labels for an issue.?
  • UpdateIssue Update an issue.?

KnowledgeBase

  • DeleteKnowledgeBase ?
  • GetKnowledgeBaseInfo ?
  • GetModels ?
  • QueryKnowledgeBase ?

Members

  • AddMembersOfGroup Add members.?
  • AddMembersOfMission Add members.?
  • AddMembersOfRegistry Add members.?
  • AddMembersOfRepo Add members.?
  • DeleteMembersOfGroup Remove direct members from specified organization.?
  • DeleteMembersOfRepo Remove direct members from specified repository.?
  • DeleteOutsideCollaborators Removes external contributors from specified repository.?
  • GetMemberAccessLevelOfGroup Get permission information for accessing members at current level.?
  • GetMemberAccessLevelOfRepo Get permission information for accessing members at current level.?
  • ListAllMembers List active members in specified repository including inherited members.?
  • ListInheritMembersOfGroup List inherited members within specified organization?
  • ListInheritMembersOfRepo List inherited members within specified repository?
  • ListMemberAccessLevelOfGroup Get specified member's permissions with organizational hierarchy.?
  • ListMemberAccessLevelOfRepo Get specified member's permissions with organizational hierarchy.?
  • ListMembersOfGroup List all direct members within specified organization.?
  • ListMembersOfRepo List all direct members within specified repository.?
  • ListOutsideCollaborators List external contributors in specified repository.?
  • UpdateMembersOfGroup Update permission information for direct members in specified organization.?
  • UpdateMembersOfRepo Update permission information for direct members in specified repository.?
  • UpdateOutsideCollaborators Update permission information for external contributors in specified repository.?

Missions

  • CreateMission Create a mission.?
  • DeleteMission Delete the specified mission.?
  • GetGroupSubMissions Query all missions that the user has permission to see under the specific organization.?
  • GetMissionViewConfig Get mission view config.?
  • GetMissionViewList Get view list of a mission.?
  • PostMissionViewConfig Set mission view config.?
  • PostMissionViewList Sort mission view list.?
  • PutMissionViewList Update a mission view or add a new one.?
  • SetMissionVisibility Update the visibility of a mission.?

Organizations

  • CreateOrganization Create new organization.?
  • DeleteOrganization Delete the specified organization.?
  • GetGroup Get information for the specified organization.?
  • GetGroupSetting Get the configuration details for the specified organization.?
  • GetGroupsByUserID Get a list of top-level organizations that the specified user has permissions to access.?
  • ListGroups Get the list of sub-organizations that the current user has access to in the specified organization.?
  • ListSubgroups Get the list of sub-organizations under the specified organization.?
  • ListTopGroups Get top-level organizations list that the current user has access to.?
  • TransferGroup Transfer an organization.?
  • UpdateGroupSetting Updates the configuration for the specified organization.?
  • UpdateOrganization Updates organization information including: description, display name, website URL and contact email.?
  • UploadLogos Initiate a request to upload logo,returns upload URL.Use PUT to initiate a stream upload.?

Pulls

  • CanUserBeAssignedToPull Checks if a user can be assigned to a pull request.?
  • DeletePullAssignees ?
  • DeletePullLabel Remove a label from a pull.?
  • DeletePullLabels Remove all labels from a pull.?
  • GetPull Get a pull request.?
  • GetPullComment Get a pull comment.?
  • ListPullAssignees List repository pull request assignees.?
  • ListPullComments List pull comments requests.?
  • ListPullCommitStatuses ?
  • ListPullCommits Lists the commits in a specified pull request.?
  • ListPullFiles Lists the files in a specified pull request.?
  • ListPullLabels List labels for a pull.?
  • ListPullReviewComments List pull review comments.?
  • ListPullReviews List pull reviews.?
  • ListPulls List pull requests.?
  • ListPullsByNumbers List pull requests by numbers.?
  • MergePull Merge a pull request.?
  • PatchPull Update a pull request.?
  • PatchPullComment Update a pull comment.?
  • PostPull Create a pull request.?
  • PostPullAssignees Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.?
  • PostPullComment Create a pull comment.?
  • PostPullLabels Add labels to a pull.?
  • PostPullReview Create a pull review.?
  • PutPullLabels Set the new labels for a pull.?
  • UploadFiles Initiate a request to upload files,returns upload URL.Use PUT to initiate a stream upload.?
  • UploadImgs Initiate a request to upload images,returns upload URL.Use PUT to initiate a stream upload.?

Registries

  • DeletePackage Delete the specific package.?
  • DeletePackageTag Delete the specific tag under specific package?
  • DeleteRegistry Delete the registry.?
  • GetGroupSubRegistries Query all registries that the user has permission to see under specific organization.?
  • GetPackage Get the package detail.?
  • GetPackageTagDetail Get the specific tag under specific package.?
  • ListPackageTags List all tags under specific package.?
  • ListPackages List all packages.?
  • SetRegistryVisibility Update visibility of registry.?

Releases

  • DeleteRelease Delete a release.?
  • DeleteReleaseAsset ?
  • GetLatestRelease Query the latest release.?
  • GetReleaseAsset ?
  • GetReleaseByID Get a release by id, include assets information.?
  • GetReleaseByTag Get a release by tag, include assets information.?
  • GetReleasesAsset Get a request to fetch a release assets and returns 302 redirect to the assets URL with specific valid time.?
  • ListReleases List releases.?
  • PatchRelease Update a release.?
  • PostRelease Create a release.?
  • PostReleaseAssetUploadConfirmation Confirm release asset upload.?
  • PostReleaseAssetUploadURL Create a release asset.?

RepoContributor

  • GetRepoContributorTrend Query detailed trend data for top 100 contributors of the repository.?

RepoLabels

  • DeleteLabel Delete the specified repository label.?
  • ListLabels List repository labels.?
  • PatchLabel Update label information.?
  • PostLabel Create a label.?

Repositories

  • ArchiveRepo Archive a repository.?
  • CreateRepo Create repositories.?
  • DeleteRepo Delete the specified repository.?
  • GetByID Get information for the specified repository.?
  • GetGroupSubRepos List the repositories that the user has access to.?
  • GetPinnedRepoByGroup List the pinned repositories of a group.?
  • GetPinnedRepoByID Get a list of repositories that the specified user has pinned.?
  • GetRepos List repositories owned by the current user with the specified permissions or higher.?
  • GetReposByUserName List repositories where the specified user has the specified permission level or higher and are visible to guests.?
  • ListForksRepos Get fork list for specified repository.?
  • SetPinnedRepoByGroup Update the pinned repositories of a group.?
  • SetRepoVisibility Update visibility of repository.?
  • TransferRepo Transfer a repository.?
  • UnArchiveRepo Unarchive a repository.?
  • UpdateRepo updates repository details including description, website URL,topics and license type.?

Security

  • GetRepoSecurityOverview Query the security overview data of a repository?

Starring

  • GetUserAllStaredRepos List all stared repositories.?
  • GetUserStaredRepos Get the list of repositories starred by the specified user.?
  • ListStarUsers Get the list of users who starred the specified repository.?

Users

  • AutoCompleteSource List resources that the current user has specified permissions for.?
  • GetUserInfo Get detailed information for a specified user.?
  • GetUserInfoByName Get detailed information for a specified user.?
  • ListGPGKeys List GPG Keys.?
  • UpdateUserInfo Updates the specified user's profile information.?

Workspace

  • DeleteWorkspace Delete my workspace.?
  • GetWorkspaceDetail Query cloud-native development access address by pipeline SN.?
  • ListWorkspaces List my workspaces.?
  • StartWorkspace Start cloud-native dev. Opens existing env or creates a new one.?
  • WorkspaceStop Stop/close my workspace.?

About

No description, topics, or website provided.
10.56 MiB
488.81 KiB
0 forks0 stars2 branches0 TagREADME
Language
Go94.5%
Makefile5.5%