[Rt-commit] rt branch, 5.0/rest2-query-by-json-support-custom-fields, repushed
Craig Kaiser
craig at bestpractical.com
Fri Mar 5 09:46:47 EST 2021
The branch 5.0/rest2-query-by-json-support-custom-fields was deleted and repushed:
was d85194c13f7b2cf6f816293676da0dcff606c467
now 8ad2c8a8be24f8afd2deb26fca94de78ced9b31f
1: b6c95d173c = 1: 0010aef6cd Add support for custom fields in REST2 JSON query
2: c5f8a204e1 = 2: 9efbab8d12 Add test for searching users custom fields with REST2
3: 0a301a7ddc = 3: f7345257df Add test for searching groups based on custom fields with REST2
4: d85194c13f ! 4: 8ad2c8a8be Add documentation for REST2 custom field JSON queries
@@ -9,7 +9,7 @@
-d '[{ "field" : "id", "operator" : ">=", "value" : 0 }]'
'https://myrt.com/REST/2.0/assets'
-+ # Search Assets Based On Custom Field Values
++ # Search Assets Based On Custom Field Values using L</JSON searches>
+ curl -X POST -H "Content-Type: application/json" -u 'root:password'
+ -d '[{ "field" : "CustomField.{Department}", "value" : "Engineering" }]'
+ 'https://myrt.com/REST/2.0/assets'
More information about the rt-commit
mailing list