Projects
Retrieve project
client.projects.retrieve(ProjectRetrieveParams { project } params?, RequestOptionsoptions?): Project { config_repo, display_name, object, 3 more }
GET/v0/projects/{project}
Update project
client.projects.update(ProjectUpdateParams { project, display_name } params?, RequestOptionsoptions?): Project { config_repo, display_name, object, 3 more }
PATCH/v0/projects/{project}
List projects
client.projects.list(ProjectListParams { cursor, limit, org } query?, RequestOptionsoptions?): Page<Project { config_repo, display_name, object, 3 more } >
GET/v0/projects
Create project
client.projects.create(ProjectCreateParams { display_name, org, revision, 2 more } body, RequestOptionsoptions?): Project { config_repo, display_name, object, 3 more }
POST/v0/projects
Generate an AI commit message for a specific SDK
client.projects.generateCommitMessage(ProjectGenerateCommitMessageParams { project, target, base_ref, head_ref } params, RequestOptionsoptions?): ProjectGenerateCommitMessageResponse { ai_commit_message }
POST/v0/projects/{project}/generate_commit_message
ProjectsBranches
Create a new project branch
client.projects.branches.create(BranchCreateParams { project, branch, branch_from, force } params, RequestOptionsoptions?): ProjectBranch { branch, config_commit, latest_build, 3 more }
POST/v0/projects/{project}/branches
Retrieve a project branch
client.projects.branches.retrieve(stringbranch, BranchRetrieveParams { project } params?, RequestOptionsoptions?): ProjectBranch { branch, config_commit, latest_build, 3 more }
GET/v0/projects/{project}/branches/{branch}
List project branches
client.projects.branches.list(BranchListParams { project, cursor, limit } params?, RequestOptionsoptions?): Page<BranchListResponse { branch, config_commit, latest_build_id, 3 more } >
GET/v0/projects/{project}/branches
Delete a project branch
client.projects.branches.delete(stringbranch, BranchDeleteParams { project } params?, RequestOptionsoptions?): BranchDeleteResponse
DELETE/v0/projects/{project}/branches/{branch}
Rebase a project branch
client.projects.branches.rebase(stringbranch, BranchRebaseParams { project, base } params?, RequestOptionsoptions?): ProjectBranch { branch, config_commit, latest_build, 3 more }
PUT/v0/projects/{project}/branches/{branch}/rebase
Reset
client.projects.branches.reset(stringbranch, BranchResetParams { project, target_config_sha } params?, RequestOptionsoptions?): ProjectBranch { branch, config_commit, latest_build, 3 more }
PUT/v0/projects/{project}/branches/{branch}/reset
ModelsExpand Collapse
ProjectBranch { branch, config_commit, latest_build, 3 more }
ProjectBranch { branch, config_commit, latest_build, 3 more }
A project branch names a line of development for a project. Like a Git branch, it points to a Git commit with a set of config files. In addition, a project branch also points to a set of custom code changes, corresponding to Git branches in the staging repos.
targets: Targets { cli, csharp, go, 10 more }
targets: Targets { cli, csharp, go, 10 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
commit: NotStarted { status } | Queued { status } | InProgress { status } | Completed { commit, completed, completed_at, 3 more }
One of the following:
BranchListResponse { branch, config_commit, latest_build_id, 3 more }
BranchListResponse { branch, config_commit, latest_build_id, 3 more }
A project branch names a line of development for a project. Like a Git branch, it points to a Git commit with a set of config files. In addition, a project branch also points to a set of custom code changes, corresponding to Git branches in the staging repos.
ProjectsConfigs
Retrieve configuration files
client.projects.configs.retrieve(ConfigRetrieveParams { project, branch, include } params?, RequestOptionsoptions?): ConfigRetrieveResponse { content }
GET/v0/projects/{project}/configs
Generate config suggestions
client.projects.configs.guess(ConfigGuessParams { project, spec, branch } params, RequestOptionsoptions?): ConfigGuessResponse { content }
POST/v0/projects/{project}/configs/guess