/adaptors/search v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Adaptors
getAdaptorSearch
Code samples
const headers = {
Accept: "application/json",
};
fetch("https://goldleaf.app/api/v1/adaptors/search?searchText=type,string", {
method: "GET",
headers: headers,
})
.then(function (res) {
return res.json();
})
.then(function (body) {
console.log(body);
});
GET /adaptors/search
Searches for adaptor by description
Retrieves adaptors based on search text.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| searchText | query | string | true | The text to search. |
Example responses
200 Response
{
"type": "array",
"items": false
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | An array of adaptors | Inline |
| 500 | Internal Server Error | Server error | string |
Response Schema
Status Code 200
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป anonymous | any | false | none | none |
