...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X POST http://localhost:8080/rest/objects/proj1 echo "prefix rdf:insert data { <> <http://www.w3.org/1999/02/22-rdf-syntax-ns#>ns#type> prefix index: <http://fedora.info/definitions/v4/indexing#> insert data { <> rdf:type index:indexableindexing#indexable> . }" \ | curl -X PATCH --upload-file - http://localhost:8080/rest/objects/proj1 echo "prefix ex: <http://example.org/> insert data { <http://localhost:8080/rest/objects/obj1> ex:project <http://localhost:8080/rest/objects/proj1> . }" \ | curl -X PATCH --upload-file - http://localhost:8080/rest/objects/obj1 |
...