Projects
Update project
$client->projects->update(string project, ?string displayName): Project
PATCH/v0/projects/{project}
List projects
$client->projects->list(?string cursor, ?float limit, ?string org): Page<Project>
GET/v0/projects
Create project
$client->projects->create(string displayName, string org, array<string,FileInput> revision, string slug, list<Target> targets): Project
POST/v0/projects
Generate an AI commit message for a specific SDK
$client->projects->generateCommitMessage(string project, Target target, string baseRef, string headRef): ProjectGenerateCommitMessageResponse
POST/v0/projects/{project}/generate_commit_message
ProjectsBranches
Create a new project branch
$client->projects->branches->create(string project, string branch, string branchFrom, ?bool force): ProjectBranch
POST/v0/projects/{project}/branches
Retrieve a project branch
$client->projects->branches->retrieve(string branch, string project): ProjectBranch
GET/v0/projects/{project}/branches/{branch}
List project branches
$client->projects->branches->list(string project, ?string cursor, ?float limit): Page<BranchListResponse>
GET/v0/projects/{project}/branches
Delete a project branch
$client->projects->branches->delete(string branch, string project): BranchDeleteResponse
DELETE/v0/projects/{project}/branches/{branch}
Rebase a project branch
$client->projects->branches->rebase(string branch, string project, ?string base): ProjectBranch
PUT/v0/projects/{project}/branches/{branch}/rebase
Reset
$client->projects->branches->reset(string branch, string project, ?string targetConfigSha): ProjectBranch
PUT/v0/projects/{project}/branches/{branch}/reset
ProjectsConfigs
Retrieve configuration files
$client->projects->configs->retrieve(string project, ?string branch, ?string include): ConfigGetResponse
GET/v0/projects/{project}/configs
Generate config suggestions
$client->projects->configs->guess(string project, string spec, ?string branch): ConfigGuessResponse
POST/v0/projects/{project}/configs/guess