Group

From enviPath Wiki
Jump to navigation Jump to search

REST Operations

GET

URI Parameter Accept Types Result Status Codes
/group

optional parameter "delimiter" for
text/csv only, default value: ","

text/html

application/json

text/plain

text/csv

List of all groups. 200 - OK

500 - Internal Server Error

/group/<id>

optional parameter "delimiter" for
text/csv only, default value: ","

text/html

application/json

text/plain

text/csv

The group identified by the URI. 200 - OK

401 - Unauthorized

404 - Not Found

500 - Internal Server Error

POST

URI Parameter Accept Types Result Status Codes
/group groupname

description

Create a new Group. The redirect points to the URI of the new Group. 303 - See Other

500 - Internal Server Error

/group/<id> groupName Modify the group identified by the URI. 200 - OK
groupDescription 401 - Unauthorized
newOwnerURI - User URI of the new Owner 404 - Not Found
hiddenMethod = permissions

ppsURI - of the (new) group member

read - read permission ('on' to set)

write - write permission ('on' to set)

500 - Internal Server Error


DELETE

URI Parameter Accept Types Result Status Codes
/group Delete all groups the user has write access on. 303 - See Other

500 - Internal Server Error

/group/<id> Delete the group identified by the URI. 303 - See Other
401 - Unauthorized
404 - Not Found
500 - Internal Server Error



PUT

Not Implemented.