Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
firstline19
linenumberstrue
curl -i -u fedoraAdmin:secret3 -X PATCH -H "Content-Type: application/sparql-update" -d "PREFIX acl: <http://www.w3.org/ns/auth/acl#> INSERT { <<http://localhost:8080/fcrepo/rest/collection1> acl:accessControl <<http://localhost:8080/fcrepo/rest/acl1> . } WHERE {}" http://localhost:8080/fcrepo/rest/acl1
curl -i -u fedoraAdmin:secret3 -X PATCH -H "Content-Type: application/sparql-update" -d "PREFIX acl: <http://www.w3.org/ns/auth/acl#> INSERT { <<http://localhost:8080/fcrepo/rest/collection1/item1> acl:accessControl <<http://localhost:8080/fcrepo/rest/acl2> . } WHERE {}" http://localhost:8080/fcrepo/rest/acl2
curl -i -u fedoraAdmin:secret3 -X PATCH -H "Content-Type: application/sparql-update" -d "PREFIX acl: <http://www.w3.org/ns/auth/acl#> INSERT { <<http://localhost:8080/fcrepo/rest/collection1/subcollection1/item3> acl:accessControl <<http://localhost:8080/fcrepo/rest/acl3> . } WHERE {}" http://localhost:8080/fcrepo/rest/acl3

...