Skip to content
FeedbackDashboard

Create a new project branch

ProjectBranch projects().branches().create(BranchCreateParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
post/v0/projects/{project}/branches

Create a new branch for a project.

The branch inherits the config files from the revision pointed to by the branch_from parameter. In addition, if the revision is a branch name, the branch will also inherit custom code changes from that branch.

ParametersExpand Collapse
BranchCreateParams params
Optional<String> project
String branch

Branch name

String branchFrom

Branch or commit SHA to branch from

Optional<Boolean> force

Whether to throw an error if the branch already exists. Defaults to false.

ReturnsExpand Collapse
class ProjectBranch:

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.

String branch

Branch name

ConfigCommit configCommit

A Git commit that points to the latest set of config files on a given branch.

Repo repo
String branch
String name
String owner
String sha
Optional<Build> latestBuild
String id

Build ID

String configCommit
LocalDateTime createdAt
Optional<DocumentedSpec> documentedSpec
Accepts one of the following:
class UnionMember0:
String content
Type type
class UnionMember1:
LocalDateTime expires
Type type
String url
Object object_
String org
String project
Targets targets
Optional<BuildTarget> cli
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> csharp
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> go
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> java
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> kotlin
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> node
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> openAPI
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> php
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> python
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> ruby
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> terraform
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<BuildTarget> typescript
Commit commit
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
class Completed:
Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
InnerCompleted completed

deprecated

Optional<Commit> commit
Repo repo
String branch
String name
String owner
String sha
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
CommitConclusion conclusion
Accepts one of the following:
ERROR("error")
WARNING("warning")
NOTE("note")
SUCCESS("success")
MERGE_CONFLICT("merge_conflict")
UPSTREAM_MERGE_CONFLICT("upstream_merge_conflict")
FATAL("fatal")
PAYMENT_REQUIRED("payment_required")
CANCELLED("cancelled")
TIMED_OUT("timed_out")
NOOP("noop")
VERSION_BUMP("version_bump")
Optional<MergeConflictPr> mergeConflictPr
double number
Repo repo
String name
String owner
JsonValue; status "completed"constant"completed"constant
Optional<String> installUrl
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Object object_
Status status
Accepts one of the following:
NOT_STARTED("not_started")
CODEGEN("codegen")
POSTGEN("postgen")
COMPLETED("completed")
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
Optional<CheckStep> build
Accepts one of the following:
JsonValue;
JsonValue; status "not_started"constant"not_started"constant
JsonValue;
JsonValue; status "queued"constant"queued"constant
JsonValue;
JsonValue; status "in_progress"constant"in_progress"constant
Completed
InnerCompleted completed

deprecated

Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
Optional<String> url
Accepts one of the following:
SUCCESS("success")
FAILURE("failure")
SKIPPED("skipped")
CANCELLED("cancelled")
ACTION_REQUIRED("action_required")
NEUTRAL("neutral")
TIMED_OUT("timed_out")
JsonValue; status "completed"constant"completed"constant
Optional<String> url
LocalDateTime updatedAt
Object object_
String org
String project

Project name

Create a new project branch
package com.configure_me_stainless_v0.api.example;

import com.configure_me_stainless_v0.api.client.StainlessClient;
import com.configure_me_stainless_v0.api.client.okhttp.StainlessOkHttpClient;
import com.configure_me_stainless_v0.api.models.projects.branches.BranchCreateParams;
import com.configure_me_stainless_v0.api.models.projects.branches.ProjectBranch;

public final class Main {
    private Main() {}

    public static void main(String[] args) {
        StainlessClient client = StainlessOkHttpClient.fromEnv();

        BranchCreateParams params = BranchCreateParams.builder()
            .branch("branch")
            .branchFrom("branch_from")
            .build();
        ProjectBranch projectBranch = client.projects().branches().create(params);
    }
}
{
  "branch": "branch",
  "config_commit": {
    "repo": {
      "branch": "branch",
      "name": "name",
      "owner": "owner"
    },
    "sha": "sha"
  },
  "latest_build": {
    "id": "id",
    "config_commit": "config_commit",
    "created_at": "2019-12-27T18:11:19.117Z",
    "documented_spec": {
      "content": "content",
      "type": "content"
    },
    "object": "build",
    "org": "org",
    "project": "project",
    "targets": {
      "cli": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "csharp": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "go": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "java": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "kotlin": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "node": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "openapi": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "php": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "python": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "ruby": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "terraform": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "typescript": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      }
    },
    "updated_at": "2019-12-27T18:11:19.117Z"
  },
  "object": "project_branch",
  "org": "org",
  "project": "project"
}
Returns Examples
{
  "branch": "branch",
  "config_commit": {
    "repo": {
      "branch": "branch",
      "name": "name",
      "owner": "owner"
    },
    "sha": "sha"
  },
  "latest_build": {
    "id": "id",
    "config_commit": "config_commit",
    "created_at": "2019-12-27T18:11:19.117Z",
    "documented_spec": {
      "content": "content",
      "type": "content"
    },
    "object": "build",
    "org": "org",
    "project": "project",
    "targets": {
      "cli": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "csharp": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "go": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "java": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "kotlin": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "node": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "openapi": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "php": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "python": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "ruby": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "terraform": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      },
      "typescript": {
        "commit": {
          "status": "not_started"
        },
        "install_url": "install_url",
        "lint": {
          "status": "not_started"
        },
        "object": "build_target",
        "status": "not_started",
        "test": {
          "status": "not_started"
        },
        "build": {
          "status": "not_started"
        }
      }
    },
    "updated_at": "2019-12-27T18:11:19.117Z"
  },
  "object": "project_branch",
  "org": "org",
  "project": "project"
}