Differences
This shows you the differences between two versions of the page.
— |
ardisdk:api_search [2025/04/08 02:53] (current) optrix created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====/ | ||
+ | |||
+ | ===Usage=== | ||
+ | |||
+ | This function returns the ID numbers of ARDI assets based on text search. | ||
+ | |||
+ | **NOTE - We suggest the much more powerful // | ||
+ | |||
+ | ===Details== | ||
+ | |||
+ | ^Detail^Value^ | ||
+ | |Group|Server| | ||
+ | |From Server Version|0.9.0| | ||
+ | |Permission|[[permission_guest|Public]]| | ||
+ | |Methods|GET or POST| | ||
+ | |||
+ | ==Parameters== | ||
+ | |||
+ | ^Parameter^Notes^Meaning^ | ||
+ | |**q**|String|Query| | ||
+ | |**format**|String (xml)|Either ' | ||
+ | |||
+ | ===Return Value=== | ||
+ | |||
+ | The return value is a list of **results** that provide the asset name and ID numbers that match the //q// parameter. | ||
+ | |||
+ | The search works much the same way as normal ARDI searches - the system looks for exact name matches, partial name matches, ID matches and partial matches with asset descriptions. | ||
+ | ===Examples=== | ||
+ | |||
+ | ==Request== | ||
+ | |||
+ | < | ||
+ | http://< | ||
+ | </ | ||
+ | |||
+ | ==Success (XML)== | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ==Success (JSON)== | ||
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | " | ||
+ | } | ||
+ | </ | ||