Last updated
Last updated
This endpoint serves for searching the system for code elements (selectors, methods, classes, packages, etc.).
URL: /search
Method: GET
Query Options
Code : 200 OK
Content: [result]
where result
is defined as:
Where type
is the type of the element found and can be either project
, class
, selector
, method
or pool
.
Example 1:: every element starting with "asInt" without taking care of the case, GET /search?text=asInt&ignoreCase=true
.
Example 2:: every class whose name ends with "ix", GET /search?text=x&condition=ending&type=classes
.
Example 3:: classes whose name is similar to "Sream", GET /search?text=Sream&condition=similar&type=classes
.
text
string
The text to compare with
ignoreCase
boolean
Whether to ignore the case when comparing. false
by default
condition
string
Either beginning
(default), including
, ending
or similar
type
string
Either all
(default), selector
, class
, package
, or pool