-
Notifications
You must be signed in to change notification settings - Fork 2
Kosa RESTful API
atOm aNt edited this page Jan 21, 2014
·
3 revisions
__TO_BE_COMPLETED__
# First node on the graph ( Has Narrowers but no Broader Concepts )
GET /api/gettopconcepts
Parameters
lang -> language
Example
http://kos.appgee.net/api/gettopconcepts?lang=en
# Parent nodes
GET /api/getbroaderconcepts
Parameters
lang -> language
uri -> URI
Example
http://__ Kosa server __ /api/getbroaderconcepts?uri=http://aims.fao.org/aos/agrovoc/c_1329377502888&lang=de
# Children nodes. (Returns {} if none)
GET /api/getnarrowerconcepts
Parameters
lang -> language
uri -> URI
Example
http:// __ Kosa Server __ /api/getnarrowerconcepts?uri=http://aims.fao.org/aos/agrovoc/c_1329377502888&lang=de
# Top nodes
GET /api/gettopconcepts
Parameters
lang -> language
Example
http:// __ Kosa Server __ /api/gettopconcepts?lang=en
( Related Concepts are sent on each request )