-
Notifications
You must be signed in to change notification settings - Fork 3
Virtual Corpus KoralQuery
Eliza Margaretha Illig edited this page Oct 25, 2024
·
3 revisions
retrieve the KoralQuery of a virtual corpus with name vc_name 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/koralQuery/~{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 |
HTTP Status Code | Description |
---|---|
200 OK | successful request |
400 Bad Request | when fieldName is null |
401 Unauthorized | when the operation is not permitted, e.g. user is not a system-admin. |
415 Unsupported Media Type | when content-type is not specified or incorrect |
Request with Basic authentication (for testing only)
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' http://localhost:8089/api/v1.0/vc/koralQuery/~system/system-vc
Response
{
"collection": {
"operands": [
{
"@type": "koral:doc",
"match": "match:eq",
"value": "GOE",
"key": "corpusSigle"
},
{
"@type": "koral:doc",
"match": "match:geq",
"type": "type:date",
"value": "1820",
"key": "creationDate"
}
],
"@type": "koral:docGroup",
"operation": "operation:and"
}
}
- 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