-
Notifications
You must be signed in to change notification settings - Fork 3
Service: User Setting Retrieval
Eliza Margaretha edited this page Feb 5, 2019
·
4 revisions
Retrieves settings of a user. User settings contains user preferences for various default settings, for instance default foundries for specific layers such as lemma and part of speech.
Available in: full version
Method: GET
Service URL: {root}/{api-version}/~{username}/setting
Path parameters
name | required | description | type | example |
---|---|---|---|---|
root | yes | the service root URI | String | http://localhost:8089/api |
api-version | yes | the version of the API | String | v1.0 |
username | yes | the username must be the same as the authenticated username | String |
Header Parameters
Name | Required | Description | Value |
---|---|---|---|
Authorization | yes | HTTP authentication with schemes: Api, Bearer | user authentication token: Api token, OAuth2 access token (Bearer) |
In the following example, multiple values are separated by empty space, see "metadata".
curl -H 'Authorization: Api eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MTM1MzI3O TAxMzQsInN1YiI6InVzZXJuYW1lIiwiaXNzIjoiaHR0cDpcL1wva29yYXAuaWRzLW1 hbm5oZWltLmRlIn0.p4jHIGeVwTpYAPFiWAd0R8Zcazyg7e9_tUGxOyFGUlo' http://localhost:8089/api/v1.0/~dory/setting
Response
This is only an example. Setting keys are not strictly defined.
{ "pos-foundry": "marmot", "resultPerPage": "25", "metadata": "author title textSigle availability" }
- 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
- User group creation
- User group deletion
- User group list
- Member invitation
- Member deletion
- Approval of member invitation
- Rejection of member invitation
- Member role management
- Virtual corpus creation and update
- Virtual corpus deletion
- Virtual corpus list
- Virtual corpus retrieval
- Virtual corpus statistics
- Virtual corpus statistics with KoralQuery