Chemaxon Cloud provides /api/groups
endpoint where applications can send an HTTP GET
request to receive the list of available user groups within team. Request has to be authenticated using JWT token header (see Application authentication page) either for current user or service itself.
{warning} Mapping of team groups provided by Chemaxon Cloud to application roles is a responsibility of application.
{info} Interactive API documentation is available at: http://team1.chemaxon.cloud/swagger-ui.html#!/gateway45public45api45controller/listGroupsUsingGET
{info} Note: To try out, change
team1
to your subdomain and authorize the requests on gateway-public section by client id and client secret.
Example
GET /api/groups
[
{
"id": 37,
"realm": 33,
"memberIds": [56],
"groupName": "TEAM_ADMIN",
"isTeamAdminGroup": true
},
{
"id": 38,
"realm": 33,
"memberIds": [],
"groupName": "RESEARCHERS",
"isTeamAdminGroup": false
},
{
"id": 39,
"realm": 33,
"memberIds": [],
"groupName": "GUESTS",
"isTeamAdminGroup": false
}
]