Versions Compared

Key

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

...

Add a user to the group

Code Block
PUTPOST http://repositoryservice.sagebase.org/repo/v1/usergroup/{gid}/users/{uid}

...

Note: A resource is specified by its type and an identifier, unique within a type.  Allowable types are returned by the DAOs in the 'models' package, e.g. org.sagebionetworks.repo.model.DatasetDAO.getType() returns the type for Datasets.

Code Block
PUTPOST http://repositoryservice.sagebase.org/repo/v1/usergroup/{gid}/resources/{rtype}/{rid}
{"accessType":["READ","CHANGE","SHARE"]}

...