Skip to main content

ChangeAssetTypePayload

Autogenerated return type of ChangeAssetType.

type ChangeAssetTypePayload {
asset: Asset
clientMutationId: String
droppedBranchCount: Int!
errors: [ErrorMessage!]!
requiresPromotion: Boolean!
}

Fields​

ChangeAssetTypePayload.asset ● Asset object​

The converted asset (null on failure).

ChangeAssetTypePayload.clientMutationId ● String scalar​

A unique identifier for the client performing the mutation.

ChangeAssetTypePayload.droppedBranchCount ● Int! non-null scalar​

Branches the conversion deleted. Always 0 unless a repository became an FQDN/API.

ChangeAssetTypePayload.errors ● [ErrorMessage!]! non-null object​

Why the conversion was refused. Empty on success.

ChangeAssetTypePayload.requiresPromotion ● Boolean! non-null scalar​

True when the asset now sits in the Repositories section without the repository identity a source-code scanner resolves. Promote it (promoteAssetToRepository) to enable branches and AST. Always false for a DOMAIN or API target.

Returned By​

changeAssetType mutation

Contribute to the Docs

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

How to contribute