GroupRest Resource
Group
- Available Since
- 1.5
POST /2.0/groups/create
Create a new Group
- Available Since
- 1.5
| media type | data type | description |
|---|---|---|
| application/json | GroupCreateVO (JSON) | Request JSON (example): |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
- Available Since
- 1.5
POST /2.0/groups/addUsers/{groupCode}
Add list user
| name | type | description |
|---|---|---|
| groupCode | path | : 15644 |
| media type | data type | description |
|---|---|---|
| application/json | array of string (JSON) | Request JSON (example):
[
"adm", "user1"
]
|
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
|
- Available Since
- 1.5.9
GET /2.0/groups/findGroupsByUser/{genericId}
- Available Since
- 1.5.9
| name | type | description | default |
|---|---|---|---|
| genericId | path | User's generic indentifier, can be (login, idpId or userCode) |
|
| pattern | query | (optional - default = "") |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
- Available Since
- 1.6
GET /2.0/groups/listUsersByGroup/{groupId}
- Available Since
- 1.6
| name | type | description | default | constraints |
|---|---|---|---|---|
| groupId | path | Group code to find users |
||
| limit | query | (optional - default = "20") |
20 | required |
| offset | query | (optional - default = "0") |
0 | required |
| orderby | query | |||
| pattern | query | (optional - default = "") |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
- Available Since
- 1.5
GET /2.0/groups/containsUser/{groupCode}/{genericId}
Add list user
- Available Since
- 1.5
| name | type | description |
|---|---|---|
| genericId | path | : User's generic indentifier, can be (login, idpId or userCode) |
| groupCode | path | : 15644 |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |