cnb
/
sdk
/
chat-api
Public
to search
Type
to search
5
5
Login
Code
Issues
Pull requests
Events
Packages
Insights
main
Branch
1
Tag
0
Knowledge
Fork
段超
ci: 优化提示词
d88794db
8
commits
.cnb
docs
gen_readme
.cnb.yml
Makefile
README.en.md
README.md
go.mod
go.sum
Activities
GetUserActivitiesByDate ?
GetUserRepoActivityDetails ?
Ai
AiAutoPr Automatically code and create a PR with AI based on the input requirement content and title.?
AiChatCompletions Ai chat completions, params may differ by model.?
Artifactory
DeletePackageTag Delete the specific tag under specific package?
DeleteRegistry Delete the artifact repository.?
DownloadRegistryQuotas Download registry quota details.?
GetPackage Get the package detail.?
GetPackageTagDetail Get the specific tag under specific package.?
GetRegistryQuota Get quota of specific registry.?
GetRegistryQuotas Get quotas of packages under one registry.?
HeadPackages Head all packages.?
ListPackageTags List all tags under specific package.?
ListPackages List all packages.?
SetRegistryVisibility ?
Assets
GetCommitAssets Get a request to fetch a commit assets and returns the content directly or a 302 redirect to the assets URL.?
GetLatestReleasesAsset Initiate a request to get latest release attachments, returns content or 302 redirect.?
GetReleasesAsset Initiate a request to get release attachments, returns content or 302 redirect.?
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.?
UploadLogos Initiate a request to upload logo,returns upload URL.Use PUT to initiate a stream upload.?
UploadReleases 请使用 put 发起流式上传?
Badge
GetBadge Get badge svg or JSON data.?
ListBadge List badge data?
UploadBadge Upload badge data?
Build
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 ?
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.?
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.?
GetCommitAssetsBySha List commit assets.?
GetCommitStatuses List commit check statuses.?
GetCompareCommits Compare two commits.?
GetContent List repository files or file.?
GetHead Get the default branch of the repository.?
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.?
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 10 assignees to an 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 ?
Missions
DeleteMission Delete the specified mission.?
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 ?
Organizations
CreateOrganization Create new organization.?
DeleteOrganization Delete the specified organization.?
GetGroup Get information for the specified organization.?
GetGroupsByUserID Get a list of top-level organizations that the specified user has permissions to access.?
ListTopGroups Get top-level organizations list that the current user has access to.?
TransferGroup ?
UpdateOrganization Updates organization information including: description, display name, website URL and contact email.?
Pulls
CanUserBeAssignedToPull Checks if a user can be assigned to a pull request.?
DeletePullAssignees Removes one or more assignees from a pull request.?
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 10 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.?
Releases
DeleteRelease Delete a release.?
DeleteReleaseAsset Delete the specified release asset.?
GetLatestRelease Query the latest release.?
GetReleaseAsset Get the specified release asset.?
GetReleaseByID Get a release by id, include assets information.?
GetReleaseByTag Get a release by tag, include assets information.?
ListReleases List releases.?
PatchRelease Update a release.?
PostRelease Create a release.?
PostReleaseAssetUploadConfirmation Confirm release asset upload.?
PostReleaseAssetUploadURL Create a release asset.?
RepoLabels
DeleteLabel Delete the specified repository label.?
ListLabels List repository labels.?
PatchLabel Update label information.?
PostLabel Create a label.?
Repositories
DeleteRepo Delete the specified repository.?
GetByID Get information for the specified repository.?
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.?
GetUserAllStaredRepos List all stared repositories.?
SetRepoVisibility ?
TransferRepo ?
UpdateRepo updates repository details including description, website URL,topics and license type.?
Security
GetRepoSecurityOverview Query the security overview data of a repository?
Starring
GetUserStaredRepos Get the list of repositories starred by the specified user.?
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.?
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.?
wiki
UploadWikiFile Initiate a request to upload wiki files,returns upload URL.Use PUT to initiate a stream upload.?
Sponsor
sixther
(段超)
About
基于 CNB 知识库的智能 API 示例生成器,一键将 Swagger 文档转换为多语言(Go、Python、Java、PHP 等)的可运行调用示例代码。
628.00 KiB
336.77 KiB
5
forks
5
stars
1
branches
0
Tag
README
Release
0
Tag
0
Sponsor
sixther
(段超)
Contributors
1
Language
Go
94.8%
Makefile
5.2%