Package io.apicurio.registry.rest.v3
Interface ContentResource
@Path("/apis/registry/v3/content")
public interface ContentResource
A JAX-RS interface. An implementation of this interface must be provided.
-
Method Summary
Modifier and TypeMethodDescriptiondetectContentReferences(String artifactType, @NotNull VersionContent data) Analyzes the provided content and returns a list of external references found within it.
-
Method Details
-
detectContentReferences
@Path("/references") @POST @Produces("application/json") @Consumes("application/json") List<ArtifactReference> detectContentReferences(@QueryParam("artifactType") String artifactType, @NotNull @NotNull VersionContent data) Analyzes the provided content and returns a list of external references found within it. The artifact type is used to determine the appropriate reference detection strategy. If no artifact type is provided, the system will attempt to auto-detect it from the content.
-