Open stbischof opened 1 year ago
curl -i -X PUT -H "Authorization: yourRepoApiKey" -H "Content-Type: text/turtle" --data @catalogue_jena_1.ttl localhost:8081/catalogues/jena_test_1
curl -i -X GET http://localhost:8081/catalogues
curl -i -X PUT -H "Authorization: yourRepoApiKey" -H "Content-Type: application/rdf+xml" --data @dataset.xml "localhost:8081/datasets?catalogue=jena_test_1&id=b3b8fcf0-e4d3-400e-a824-b89c3c388238"
curl -i -X GET -H "Authorization: yourRepoApiKey" -H "Content-Type: application/rdf+xml" "localhost:8081/datasets?catalogue=jena_test_1"
curl -i -X GET -H "Authorization: yourRepoApiKey" -H "Content-Type: application/rdf+xml" "localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238?catalogue=jena_test_1" curl -i -X GET -H "Authorization: yourRepoApiKey" "localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238.rdf?catalogue=jena_test_1"
http://localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238.rdf?catalogue=jena_test_1
curl -i -X DELETE -H "Authorization: yourRepoApiKey" "localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238?catalogue=jena_test_1"
catalogue_jena_1.ttl
@prefix dcat: <http://www.w3.org/ns/dcat#> . @prefix dc: <http://purl.org/dc/terms/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . <http://opendata.jena.de/id/catalogue/jens_test_catalogue_1> a dcat:Catalog ; dc:language <http://publications.europa.eu/resource/authority/language/DEU> ; dc:title "JenaTestCatalogue"@de ; dc:description "JenaTestCatalogueDescription"@de ; dc:type "dcat-ap"^^xsd:string .
curl -i -X PUT -H "Authorization: yourRepoApiKey" -H "Content-Type: text/turtle" --data @catalogue_jena_1.ttl localhost:8081/catalogues/jena_test_1
curl -i -X GET http://localhost:8081/catalogues
curl -i -X PUT -H "Authorization: yourRepoApiKey" -H "Content-Type: application/rdf+xml" --data @dataset.xml "localhost:8081/datasets?catalogue=jena_test_1&id=b3b8fcf0-e4d3-400e-a824-b89c3c388238"
curl -i -X GET -H "Authorization: yourRepoApiKey" -H "Content-Type: application/rdf+xml" "localhost:8081/datasets?catalogue=jena_test_1"
curl -i -X GET -H "Authorization: yourRepoApiKey" -H "Content-Type: application/rdf+xml" "localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238?catalogue=jena_test_1" curl -i -X GET -H "Authorization: yourRepoApiKey" "localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238.rdf?catalogue=jena_test_1"
http://localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238.rdf?catalogue=jena_test_1
curl -i -X DELETE -H "Authorization: yourRepoApiKey" "localhost:8081/datasets/b3b8fcf0-e4d3-400e-a824-b89c3c388238?catalogue=jena_test_1"
catalogue_jena_1.ttl