درخواست ها
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
export default {
|
||||
base: {
|
||||
get_document: "elp/v1/indices/{{type_name}}/{{doc_id}}",
|
||||
update_document: "elp/v1/indices/{{type_name}}/update/{{doc_id}}",
|
||||
update_field: "elp/v1/indices/{{type_name}}/update/field/{{doc_id}}",
|
||||
compute_field: "elp/v1/indices/{{type_name}}/compute/field",
|
||||
add_document: "elp/v1/indices/{{type_name}}/insert",
|
||||
delete_document: "elp/v1/indices/{{type_name}}/delete/{{doc_id}}",
|
||||
getSchema: "elp/schema/get",
|
||||
},
|
||||
search: {
|
||||
elp_base_count: "elp/v1/indices/{{index_key}}/count",
|
||||
elp_base_search: "elp/v1/indices/{{index_key}}/search",
|
||||
elp_voice_search: "elp/voice/{{index_key}}/search",
|
||||
elp_db_search: "elp/db/indices/{{index_key}}/search",
|
||||
},
|
||||
Info: {
|
||||
elp_option_get: "elp/v1/base/option/doc/{{main_key}}",
|
||||
elp_completion: "elp/v1/indices/{{type_name}}/completion/{{property_key}}",
|
||||
elp_main_label: "elp/v1/base/option/get/items/{{main_label}}",
|
||||
elp_update_field: "elp/v1/indices/{{type_name}}/update/field/{{doc_id}}",
|
||||
elp_list_Tree: "/elp/tbase/{{type_name}}/list/tree",
|
||||
elp_get_Tree: "/elp/tbase/{{type_name}}/get/item/all",
|
||||
elp_update_Tree: "/elp/tbase/{{type_name}}/update/{{id}}",
|
||||
elp_delete_Tree: "/elp/tbase/{{type_name}}/delete/{{id}}",
|
||||
elp_move_in_Tree:
|
||||
"/elp/tbase/{{type_name}}/move_in/{{drop_id}}/{{drag_id}}",
|
||||
elp_insert_Tree: "/elp/tbase/{{type_name}}/insert",
|
||||
elp_relation_Tree: "/elp/tbase/{{type_name}}/relation/add",
|
||||
elp_relation_Tree_delete: "/elp/tbase/{{type_name}}/relation/delete",
|
||||
elp_get_list_Tree: "/elp/db/indices/{{index_key}}/tree",
|
||||
},
|
||||
rag_chat: {
|
||||
// elp_semantic_search: "elp/chat/semantic_search",
|
||||
elp_chat: "elp/chat/query/{{type_name}}",
|
||||
note_action: "elp/note/ai/action",
|
||||
note_job_action: "elp/chat/job/add/action/{{note_id}}",
|
||||
chat_job_query: "elp/chat/job/add/query/{{type_name}}/{{note_id}}",
|
||||
chat_job_search_query: "elp/chat/job/search/query/{{type_name}}",
|
||||
chat_job_get: "elp/chat/job/get/{{job_id}}",
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
export default {
|
||||
search: {
|
||||
mirror_search:
|
||||
"repo/monir/mirror/{{mirror_type}}/{{index_key}}/{{search_type}}/{{sortKey}}/{{field_collapse}}/{{offset}}/{{limit}}/{{filter}}",
|
||||
autoComplate: "monir/complation/{{index_key}}/{{filter}}",
|
||||
queryNormal:
|
||||
"repo/monir/search/{{index_key}}/{{search_type}}/{{sortKey}}/{{field_collapse}}/{{offset}}/{{limit}}/{{filter}}",
|
||||
textSearch:
|
||||
"repo/monir/search/text/{{index_key}}/{{field}}/{{offset}}/{{limit}}/{{filter}}",
|
||||
// queryMirror:
|
||||
// "monir/mirror/{{mirror_type}}/{{index_key}}/{{search_type}}/{{sortKey}}/{{field_collapse}}/{{offset}}/{{limit}}/{{filter}}",
|
||||
},
|
||||
|
||||
public: {
|
||||
updateProperty_full:
|
||||
"public/{{index_key}}/edit/{{entity_id}}/{{property}}/index/full",
|
||||
|
||||
updateEntity: "repo/public/{{index_key}}/update/{{id}}",
|
||||
get_doc_byid: "repo/public/get/byid/{{index_key}}/{{entity_id}}",
|
||||
uplaod_file: "repo/public/file/{{type_key}}/uploadfile",
|
||||
},
|
||||
calendar: {
|
||||
schema: {
|
||||
list: "repo/schema",
|
||||
},
|
||||
list: "repo/calendar/@offset/@limit/@filter",
|
||||
list_collpase: "repo/calendar/@field_collapsed/@offset/@limit/@filter",
|
||||
addTask: "repo/calendar/add",
|
||||
update: "repo/calendar/edit/@id",
|
||||
delete: "repo/calendar/delete/@id",
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user