@Path(value="/ccompat/subjects")
@Consumes(value={"application/json","application/octet-stream","application/vnd.schemaregistry.v1+json","application/vnd.schemaregistry+json"})
@Produces(value="application/vnd.schemaregistry.v1+json")
public interface SubjectsResource
Modifier and Type | Method and Description |
---|---|
List<Integer> |
deleteSubject(String subject)
Deletes the specified subject and its associated compatibility level if registered.
|
Schema |
findSchemaByContent(String subject,
@NotNull SchemaContent request)
Check if a schema has already been registered under the specified subject.
|
List<String> |
listSubjects()
Get a list of registered subjects.
|
@GET List<String> listSubjects()
@POST @Path(value="/{subject}") Schema findSchemaByContent(@PathParam(value="subject") String subject, @NotNull @NotNull SchemaContent request) throws Exception
Exception
@DELETE @Path(value="/{subject}") List<Integer> deleteSubject(@PathParam(value="subject") String subject) throws Exception
Exception
Copyright © 2020 Red Hat. All rights reserved.