This is an open source project of government open data, which is implemented in java , for sake of Exensiability ,Performance and Flexiability ...(instead of ckan)
/orgnization/create
{
full_name_cn:string, /**/
short_name_cn:string, /**/
full_name_en:string, /**/
short_name_en:string, /**/
org_type:string, /**/
landingPage:string /**/
}
/orgnization/relation/create
{
src_org_id:long, /**/
dest_org_id:long, /**/
relation_type:string /**/
}
/orgnization/relation/delete
{
src_org_id:long, /**/
dest_org_id:long, /**/
relation_type:string /**/
}
/orgnization/location/create
{
org_id:long, /**/
longitude:double, /*经度*/
latitude:double, /*纬度*/
address:string /**/
}
/orgnization/location/update
{
org_id:long, /**/
longitude:double, /*经度*/
latitude:double, /*纬度*/
address:string /**/
}
/orgnization/search/getbyid
{
org_id:long
}
/orgnization/search/getByName
{
name:string
}
/orgnization/search/searchByCnName
{
name_cn:string
}
/orgnization/search/searchByCnName
{
name_en:string
}
/orgnization/search/searchByNames
{
name:string
}
/orgnization/search/searchByLocation
{
longitude:double, /*经度*/
latitude:double, /*纬度*/
distance:double /*与经纬度指定位置的最大距离*/
}
/orgnization/search/searchByAddress
{
address:string
}
/orgnization/search/searchByLocation
{
src_org_id:long,/*起始结点*/
relation_type:string,/*关系类型名称*/
step_limit:int /*关系路径最大长度*/
}
/subjectword/create
{
uri:string,
name:string
}
/subjectword/update
{
subject_word_id:long
}
/subjectword/delete
{
subject_word_id:string
}
/subjectword/relation/create
{
src_subject_word_id:long, /**/
dest_subject_word_id:long, /**/
relation_type:string /**/
}
/subjectword/relation/delete
{
src_subject_word_id:long, /**/
dest_subject_word_id:long, /**/
relation_type:string /**/
}
/subjectword/search/getById
{
subject_word_id : long
}
/subjectword/search/searchByLiteral
{
word_literal:string
}
/dataset/search/getById
{
}
/dataset/search/searchByName
{
}
/dataset/search/searchBySubjectWords
{
}
/dataset/search/searchByKeyWords
{
}
/dataset/search/searchByDescription
{
}
/dataset/search/searchByPublisher
{
}