-
Notifications
You must be signed in to change notification settings - Fork 3
Service: Virtual Corpus Retrieval
Eliza Margaretha Illig edited this page Oct 24, 2024
·
17 revisions
returns a virtual corpus with name vc_name and created by the given vc_creator. This service requires an OAuth2 access token with scope vc_info
.
Available in: full version
Method: GET
Service URL: root/vc/~{vc_creator}/{vc_name}
Header Parameter
Name | Required | Authentication scheme | Value |
---|---|---|---|
Authorization | yes | HTTP authentication with scheme: Bearer | OAuth2 access token |
Path Parameter
Name | Required | Description |
---|---|---|
vc_creator | yes | username of the vc creator |
vc_name | yes | a virtual corpus name |
Request with Basic authentication (for testing only)
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' http://localhost:8089/api/v1.0/vc/~system/system-vc
Response
{ "id": 3, "name": "system-vc", "type": "system", "status": "experimental", "description": "test vc", "requiredAccess": "ALL", "createdBy": "system", "numberOfDoc": 11, "numberOfParagraphs": 772, "numberOfSentences": 25074, "numberOfTokens": 665842 }
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting 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