...
Create group.sparql with the following contents:
Code Block language text title group.sparql PREFIX vcard: <http://www.w3.org/2006/vcard/ns#> INSERT { <> vcard:memberhasMember "adminuser" . } WHERE {}
Run this command to update the group and add
adminuser
to it:Code Block language text $ curl -i -X PATCH http://localhost:8080/fcrepo/rest/group \ -u fedoraAdmin:secret3 \ -H "Content-Type: application/sparql-update" \ --data-binary @group.sparql
You should receive a 204 No Content response on success.
...