Open pheyvaer opened 8 years ago
Tilde endpoint now returns list of available collections in json format. Curl:
curl -X GET -H "Authorization: Basic RlJFTUU6dXxGcjNtM19zJGN1ciQ=" "https://services.tilde.com/collections/terminology"
Optional query parameter (in order to retrieve private collections):
Optional query parameters for filtering (to return filtered list of collections):
Example of response:
{
"collections": [
{
"id": 6681,
"name": "EASTIN-CL Multilingual Ontology of Assistive Technology",
"languages": [
"da",
"de",
"en",
"et",
"it",
"lt",
"lv"
],
"domains": [
"TaaS-0200"
]
},
{
"id": 6826,
"name": "Foras na Gaeilge, Focal.ie",
"languages": [
"de",
"el",
"en",
"es",
"et",
"eu",
"fr",
"hu",
"la",
"lt",
"lv",
"mt",
"pl",
"sk",
"sl",
"ga",
"it",
"ru",
"cs",
"ja",
"nl",
"da",
"bg",
"fi",
"no",
"pt",
"ro",
"sv"
],
"domains": [
"TaaS-0100",
"TaaS-0300",
"TaaS-1000",
"TaaS-2000",
"TaaS-2100",
"TaaS-1500"
]
}]
}
TO DO: include it in FREME server.
We can include this. @pheyvaer is this still a requirement?`
Do we actually need to provide this as a FREME endpoint? Users could call the service directly. This also applies to #18
No, not at the moment.
So developers don't need to hard-code this.