Class SchemasResourceImpl

    • Constructor Detail

      • SchemasResourceImpl

        public SchemasResourceImpl()
    • Method Detail

      • getSchema

        public SchemaInfo getSchema​(int id)
        Description copied from interface: SchemasResource
        Get the schema string identified by the input ID. Parameters:
        Specified by:
        getSchema in interface SchemasResource
        Parameters:
        id - (int) – the globally unique identifier of the schema Response JSON Object: schema (string) – Schema string identified by the ID Status Codes: 404 Not Found – Error code 40403 – Schema not found 500 Internal Server Error – Error code 50001 – Error in the backend datastore
      • getSubjectVersions

        public List<SubjectVersion> getSubjectVersions​(int id)
        Description copied from interface: SchemasResource
        Get the subject-version pairs identified by the input ID. Parameters:
        Specified by:
        getSubjectVersions in interface SchemasResource
        Parameters:
        id - (int) – the globally unique identifier of the schema Response JSON Array of Objects: subject (string) – Name of the subject version (int) – Version of the returned schema Status Codes: 404 Not Found – Error code 40403 – Schema not found 500 Internal Server Error – Error code 50001 – Error in the backend datastore
      • getRegisteredTypes

        public List<String> getRegisteredTypes()
        Description copied from interface: SchemasResource
        Get the schema types that are registered with Schema Registry. Response JSON Object: schema (string) – Schema types currently available on Schema Registry. Status Codes: 404 Not Found – Error code 40403 – Schema not found 500 Internal Server Error – Error code 50001 – Error in the backend datastore
        Specified by:
        getRegisteredTypes in interface SchemasResource