-
Notifications
You must be signed in to change notification settings - Fork 3
Service: Virtual Corpus Sharing
Eliza Margaretha Illig edited this page Oct 25, 2024
·
17 revisions
allows users to share their virtual corpora (VC) with a group of users. This service is only available for group admins and requires authorization scope share_vc
.
Available in: full version
Method: POST
Service URL: root/vc/~{vc_creator}/{vc_name}/share/@{group_name}
Header Parameters
Name | Required | Description | Value |
---|---|---|---|
Authorization | yes | HTTP authentication with scheme: Bearer | OAuth2 access token |
Path Parameters
Name | Required | Description | Type |
---|---|---|---|
vc_creator | yes | the username of the virtual corpus creator | String |
vc_name | yes | virtual corpus name | String |
group_name | yes | user-group name | String |
Sharing marlin-vc to marlin-group
Request with cURL
curl --request POST -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE' http://localhost:8089/api/v1.0/vc/~marlin/marlin-vc/share/@marlin-group
Request with Basic authentication (for testing only)
curl --request POST -H 'Authorization: Basic bWFybGluOnBhc3N3b3Jk' http://localhost:8089/api/v1.0/vc/~marlin/marlin-vc/share/@marlin-group
HTTP Status Code | Description |
---|---|
200 OK | successful request |
400 Bad Request | when fieldName is null |
415 Unsupported Media Type | when the request method (e.g. GET) is incorrect. |
401 Unauthorized | when the operation is not permitted, e.g. user doesn't log in. |
- 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