Class FairController


  • @Controller
    @RequestMapping("/api/fdp")
    public class FairController
    extends Object
    Serves metadata for the molgenis FAIR DataPoint.
    • Method Detail

      • getMetadata

        @GetMapping(produces="text/turtle")
        @ResponseBody
        public org.eclipse.rdf4j.model.Model getMetadata()
      • getCatalog

        @GetMapping(produces="text/turtle",
                    value="/{catalogID}")
        @ResponseBody
        public org.eclipse.rdf4j.model.Model getCatalog​(@PathVariable("catalogID")
                                                        String catalogID)
      • getDataset

        @GetMapping(produces="text/turtle",
                    value="/{catalogID}/{datasetID}")
        @ResponseBody
        public org.eclipse.rdf4j.model.Model getDataset​(@PathVariable("catalogID")
                                                        String catalogID,
                                                        @PathVariable("datasetID")
                                                        String datasetID)
      • getDistribution

        @GetMapping(produces="text/turtle",
                    value="/{catalogID}/{datasetID}/{distributionID}")
        @ResponseBody
        public org.eclipse.rdf4j.model.Model getDistribution​(@PathVariable("catalogID")
                                                             String catalogID,
                                                             @PathVariable("datasetID")
                                                             String datasetID,
                                                             @PathVariable("distributionID")
                                                             String distributionID)