Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
Hi All, I Am Creating Sub Project, For Experiment, But It Seems There Is


Hi AppetizingMouse58 , this is from My Work View
` # Payload
{"meta":{"id":"4ff606b50768402495674f4a2b37bdf4","trx":"4ff606b50768402495674f4a2b37bdf4","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

Response

{"meta":{"id":"4ff606b50768402495674f4a2b37bdf4","trx":"4ff606b50768402495674f4a2b37bdf4","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

--

payload

{"meta":{"id":"4ff606b50768402495674f4a2b37bdf4","trx":"4ff606b50768402495674f4a2b37bdf4","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"id":"75d04598197a445ebef533814022c58d","company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"name":"ex-1","basename":"ex-1","description":"","created":"2022-09-26T01:32:47.901000+00:00","tags":[],"system_tags":[],"last_update":"2022-09-26T01:33:28.216000+00:00","featured":9999,"path":[],"own_tasks":0,"own_models":0,"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[{"id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1"}]}]}}

Response

{"meta":{"id":"74823fc7be5b411aa5240f1a0720a64e","trx":"74823fc7be5b411aa5240f1a0720a64e","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"0337aabe715e4642bb6afd85621d6224"}}

--

payload

{"meta":{"id":"74823fc7be5b411aa5240f1a0720a64e","trx":"74823fc7be5b411aa5240f1a0720a64e","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[{"company":{"id":"d1bd92a3b039400cbafc60a7a5b1e52b"},"created":"2022-09-26T01:33:28.216000+00:00","id":"5664bd88f48d4868a80805f6d824d5a9","name":"ex-1/sub-ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"stats":{"active":{"status_count":{"closed":0,"completed":0,"created":0,"failed":0,"in_progress":0,"published":0,"publishing":0,"queued":0,"stopped":0,"unknown":0},"total_tasks":0,"total_runtime":0,"completed_tasks_24h":0,"last_task_run":null}},"sub_projects":[]}],"scroll_id":"0337aabe715e4642bb6afd85621d6224"}}

response

{"meta":{"id":"aaaffe49ace64f1a8b0211925afcfd32","trx":"aaaffe49ace64f1a8b0211925afcfd32","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}}

--

payload

{"meta":{"id":"aaaffe49ace64f1a8b0211925afcfd32","trx":"aaaffe49ace64f1a8b0211925afcfd32","endpoint":{"name":"projects.get_all_ex","requested_version":"2.20","actual_version":"1.0"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"projects":[]}}

response

{"meta":{"id":"82711a7c1dbb4ef6bc056028cd4fc49b","trx":"82711a7c1dbb4ef6bc056028cd4fc49b","endpoint":{"name":"users.get_all_ex","requested_version":"2.20","actual_version":"2.8"},"result_code":200,"result_subcode":0,"result_msg":"OK","error_stack":"","error_data":{}},"data":{"users":[{"id":"a174c4e36b0446a7b3b5dd1ff5261962","name":"xxxxxxx_name_xxxxx"}]}} {"version":"1.6.0-213", "trains-server-treeish":"release/open-v1.6", "trains-server-commit":"2eb3df7ba2207188e556ffbc2298ba1878889831", "webapp-treeish":"release/open-v1.6", "webapp-commit":"89e00c44c10729a40f5d237542f0a1dd48c71c78", "webapp-common-treeish":"release/v3.12", "webapp-common-commit":"c80f84c24654f158e66f50325667da58db8037b5", "webserver-config-treeish":"master", "webserver-config-commit":"8905e1274581f3f1b8c81b37d8552fbda5cc56e3", "date":"Thu Jul 7 14:04:43 UTC 2022"} `

  
  
Posted 2 years ago
203 Views
0 Answers
2 years ago
one year ago