-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Group List
Eliza Margaretha edited this page May 20, 2022
·
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
Header Parameter
| Name | Required | Authentication scheme | Value |
|---|---|---|---|
| Authorization | yes | HTTP authentication with scheme: Bearer | OAuth2 access token |
Request with cURL:
curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3O
TAxMzQsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXAuaWRzLW1
hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg7e9_tUGxOyFGUlo'
http://localhost:8089/api/v1.0/group
Request with Basic authentication (for testing only):
Retrieve user-groups of marlin
curl -H 'Authorization: Basic bWFybGluOnBhc3N3b3Jk'
http://localhost:8089/api/v1.0/group
Response
Since marlin has member status PENDING and does not have any role in dory group, members of dory group are not shown. User in userMemberStatus and userRoles refers to the user requesting the service. In this example, they describe marlin's member status and roles in the corresponding user-groups.
[
{
"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