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 when in Team's Work View :

`

Payload

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

Response

{"meta":{"id":"c4ee9cb1c4594040bd0b44499d5e9970","trx":"c4ee9cb1c4594040bd0b44499d5e9970","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":null,"search_hidden":true,"order_by":["featured","-last_update"],"only_fields":["name","company","user","created","default_output_destination"]}

Response

{"meta":{"id":"665c78c32fae46e1905e4049209cb0b9","trx":"665c78c32fae46e1905e4049209cb0b9","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":"610eda63631545178abc9e5a4d9af386"}}

Payload

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

Response

{"meta":{"id":"2dfd146a5957452d8c2786d651ee97a5","trx":"2dfd146a5957452d8c2786d651ee97a5","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:32:47.901000+00:00","id":"75d04598197a445ebef533814022c58d","name":"ex-1","user":{"id":"a174c4e36b0446a7b3b5dd1ff5261962"},"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":[]}]}} `

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