Class VersionsRequestBuilder.PostQueryParameters
java.lang.Object
io.apicurio.registry.rest.client.groups.item.artifacts.item.versions.VersionsRequestBuilder.PostQueryParameters
- All Implemented Interfaces:
com.microsoft.kiota.QueryParameters
- Enclosing class:
VersionsRequestBuilder
@Generated("com.microsoft.kiota")
public class VersionsRequestBuilder.PostQueryParameters
extends Object
implements com.microsoft.kiota.QueryParameters
Creates a new version of the artifact by uploading new content. The configured rules forthe artifact are applied, and if they all pass, the new content is added as the most recent version of the artifact. If any of the rules fail, an error is returned.The body of the request can be the raw content of the new artifact version, or the raw content and a set of references pointing to other artifacts, and the typeof that content should match the artifact's type (for example if the artifact type is `AVRO`then the content of the request should be an Apache Avro document).This operation can fail for the following reasons:* Provided content (request body) was empty (HTTP error `400`)* An invalid version number was provided (HTTP error `400`)* No artifact with this `artifactId` exists (HTTP error `404`)* The new content violates one of the rules configured for the artifact (HTTP error `400`)* A server error occurred (HTTP error `500`)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtracts the query parameters into a map for the URI template parsing.
-
Field Details
-
dryRun
When set to `true`, the operation will not result in any changes. Instead, itwill return a result based on whether the operation **would have succeeded**.
-
-
Constructor Details
-
PostQueryParameters
public PostQueryParameters()
-
-
Method Details