Skip to main content

PromoteAssetToRepositoryInput

Autogenerated input type of PromoteAssetToRepository

input PromoteAssetToRepositoryInput {
clientMutationId: String
companyId: ID!
assetId: ID!
repositoryUrl: String!
branchName: String
}

Fields​

PromoteAssetToRepositoryInput.clientMutationId ● String scalar​

A unique identifier for the client performing the mutation.

PromoteAssetToRepositoryInput.companyId ● ID! non-null scalar​

PromoteAssetToRepositoryInput.assetId ● ID! non-null scalar​

PromoteAssetToRepositoryInput.repositoryUrl ● String! non-null scalar​

PromoteAssetToRepositoryInput.branchName ● String scalar​

The branch to adopt as the repository default. It wins over any branch the asset's own history reports, and every existing finding is stamped onto it. Surrounding whitespace is trimmed. When omitted, the branch is taken from the asset's history, or "main" when it has none.

Member Of​

promoteAssetToRepository mutation

Contribute to the Docs

Found something outdated or missing? Help us improve the documentation with a quick suggestion or edit.

How to contribute