-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Group List
Eliza Margaretha edited this page Mar 12, 2018
·
17 revisions
Lists all user-groups in which a user is an active or a pending member. Information about members of a user-group is restricted only to active members with USER_GROUP_ADMIN role.
Available in: full version
Method: GET
Service URL: root/group/list
Header Parameter
| Name | Required | Authentication scheme | Value |
|---|---|---|---|
| Authorization | yes | Bearer, Api | Api token from authentication token service |
Request example with cURL:
curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3O
TAxMzQsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXAuaWRzLW1
hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg7e9_tUGxOyFGUlo'
http://localhost:8089/api/group/list
Request example with Basic authentication (for testing only):
Retrieve user-groups of marlin
curl -H 'Authorization: Basic bWFybGluOnBhc3N3b3Jk'
http://localhost:8089/api/group/list
Output example:
Since marlin has member status PENDING and does not have any role in dory group, members of dory group are not shown.
[
{
"id": 1,
"name": "marlin group",
"owner": "marlin",
"members": [
{
"userId": "marlin",
"status": "ACTIVE",
"roles": [
"USER_GROUP_ADMIN",
"VC_ACCESS_ADMIN"
]
},
{
"userId": "dory",
"status": "ACTIVE",
"roles": [
"USER_GROUP_ADMIN",
"VC_ACCESS_ADMIN"
]
}
],
"userMemberStatus": "ACTIVE",
"userRoles": [
"USER_GROUP_ADMIN",
"VC_ACCESS_ADMIN"
]
},
{
"id": 2,
"name": "dory group",
"owner": "dory",
"userMemberStatus": "PENDING",
"userRoles":[]
}
]
- Setting LDAP
- Setting initial super client
- Setting a custom environment
- Setting resources for CLARIN FCS
- Disabling query rewrites
- Named virtual corpora
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting a test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery