Class MetaRequestBuilder.PostQueryParameters

java.lang.Object
io.apicurio.registry.rest.client.v2.groups.item.artifacts.item.meta.MetaRequestBuilder.PostQueryParameters
All Implemented Interfaces:
com.microsoft.kiota.QueryParameters
Enclosing class:
MetaRequestBuilder

@Generated("com.microsoft.kiota") public class MetaRequestBuilder.PostQueryParameters extends Object implements com.microsoft.kiota.QueryParameters
Gets the metadata for an artifact that matches the raw content. Searches the registryfor a version of the given artifact matching the content provided in the body of thePOST.This operation can fail for the following reasons:* Provided content (request body) was empty (HTTP error `400`)* No artifact with the `artifactId` exists (HTTP error `404`)* No artifact version matching the provided content exists (HTTP error `404`)* A server error occurred (HTTP error `500`)
  • Field Details

    • canonical

      @Nullable public Boolean canonical
      Parameter that can be set to `true` to indicate that the server should "canonicalize" the content when searching for a matching version. Canonicalization is unique to each artifact type, but typically involves removing any extra whitespace and formatting the content in a consistent manner.
  • Constructor Details

    • PostQueryParameters

      public PostQueryParameters()
  • Method Details

    • toQueryParameters

      @Nonnull public Map<String,Object> toQueryParameters()
      Extracts the query parameters into a map for the URI template parsing.
      Specified by:
      toQueryParameters in interface com.microsoft.kiota.QueryParameters
      Returns:
      a Map<String,Object>