Group functionality.
This resource represents a method in which to create a new group.
Resource URI:
/rest/hosting/group/
Create a new group by submitting an HTTP PUT request.
Note
This resource requires create permission on the elastic_hosting extension module.
| Parameters: |
|
|---|---|
| Return type: |
This resource represens a specific group.
Resource URI:
/rest/hosting/group/<UUID>/
Retrieve the specified group by submitting an HTTP GET request. The UUID in the resource URI should be the UUID of the target group.
Note
This resource requires read permission on both the group and the elastic_hosting extension module when using the HTTP GET method.
| Return type: | group.RepGroupUUID |
|---|
Update the specified group by submitting an HTTP POST request. The UUID in the resource URI should be the UUID of the target group.
Note
This resource requires update permission on both the group and the elastic_hosting extension module when using the HTTP POST method.
| Parameters: |
|
|---|---|
| Return type: |
This resource represents a list of groups.
Resource URI:
/rest/hosting/group/list/
Retrieve a list of groups by submitting an HTTP GET request.
Note
This resource requires read permission on the elastic_hosting extension module and on each group that is found.
| Return type: | group.RepGroupList |
|---|
This is a representation of a group resource.
Representation:
{"errno":response.errno,
"message":response.message,
"group": group_obj}
This is a representation of a group resource.
Representation:
{"errno": response.errno,
"message": response.message,
"user": {"uuid": group.uuid,
"group_name": group.group_name,
"display_name": group.display_name}}
This is a representation of a list of groups. This is a list of user.RepGroupUUID representations.
Representation
{"errno": response.errno,
"message": response.message,
"groups": [group1, group2]}