Filter results: foo | bar < 10 & baz \ qux
Try it
GET
/searchDescription with inline code and bold and a curly brace literal: \{value\}.
Authentication
No authentication required.
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Query string. Operators allowed: <, >, &, |, \\. |
limit | integer | No |
Response
200OK
curl -X GET 'https://api.example.com/v1/search?q=<q>&limit=<limit>'const response = await fetch('https://api.example.com/v1/search?q=<q>&limit=<limit>', {
method: 'GET'
});
const data = await response.json();
console.log(data);interface ApiResponse {
// shape your response here
}
const response: Response = await fetch('https://api.example.com/v1/search?q=<q>&limit=<limit>', {
method: 'GET'
});
const data = (await response.json()) as ApiResponse;
console.log(data);import requests
url = "https://api.example.com/v1/search"
params = {
"q": "<q>",
"limit": "<limit>"
}
response = requests.request("get", url, params=params)
print(response.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.example.com/v1/search?q=<q>&limit=<limit>", nil)
if err != nil {
panic(err)
}
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
out, _ := io.ReadAll(resp.Body)
fmt.Println(string(out))
}