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


`

payload

{"id":["75d04598197a445ebef533814022c58d"],"include_stats":true,"check_own_contents":true,"active_users":["a174c4e36b0446a7b3b5dd1ff5261962"],"search_hidden":true}

Response

{"meta":{"id":"8d18a89599db4d899ab40959a39970b3","trx":"8d18a89599db4d899ab40959a39970b3","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

{"stats_for_state":"active","include_stats":true,"shallow_search":true,"parent":["75d04598197a445ebef533814022c58d"],"scroll_id":null,"size":12,"active_users":["a174c4e36b0446a7b3b5dd1ff5261962"],"search_hidden":true,"order_by":["featured","-last_update"],"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"c0b1101e908842e2b1d86ce13a8b6c5b","trx":"c0b1101e908842e2b1d86ce13a8b6c5b","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":"c45421a63bd144bb81f7a15aa496fb1d"}}

payload

{"id":"75d04598197a445ebef533814022c58d","include_stats":true,"stats_with_children":false,"stats_for_state":"active","search_hidden":true,"check_own_contents":true,"active_users":["a174c4e36b0446a7b3b5dd1ff5261962"],"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"11f32fd961384607aa31c2c34cff2715","trx":"11f32fd961384607aa31c2c34cff2715","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":[]}} `Hi AppetizingMouse58 , sorry my bad.

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