Versions Compared

Key

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

...

Code Block
DELETE http://repositoryservice.sagebase.org/repo/v1/resource/{rid}/acl

Get the

...

users who can be added to a resource's ACL

Code Block

GET http://repositoryservice.sagebase.org/repo/v1/user
Code Block

[
  {"name":"anonymous","id":"3","creationDate":1307402971000,"uri":null,"etag":null,"individual":true},	
  {"name":"foo","id":"4","creationDate":1307403226000,"uri":null,"etag":null,"individual":true}
]

Get the groups who can be added to a resource's ACL

Code Block
GET http://repositoryservice.sagebase.org/repo/v1/principalsuserGroup
Code Block
[
  {"name":"Identified Users","id":"1","creationDate":1307141423000,"uri":null,"etag":null,"individual":false},
  {"name":"Administrators","id":"2","creationDate":1307141423000,"uri":null,"etag":null,"individual":false}
]