Userstore/Config/Searchindices
List User Search Indexes
This endpoint returns a paginated list of all user search indices in a tenant.
Query Parameters
starting_after?string
A cursor value after which the returned list will start
ending_before?string
A cursor value before which the returned list will end
limit?string
The maximum number of results to be returned per page
filter?string
A filter clause to use in the pagination query
sort_key?string
A comma-delimited list of field names to sort the returned results by - the last field name must be 'id'
sort_order?string
The order in which results should be sorted (ascending or descending)
version?string
The version of the API to be called
Response Body
curl -X GET "https://your-tenant-name.tenant.userclouds.com/userstore/config/searchindices?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string"
fetch("https://your-tenant-name.tenant.userclouds.com/userstore/config/searchindices?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://your-tenant-name.tenant.userclouds.com/userstore/config/searchindices?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://your-tenant-name.tenant.userclouds.com/userstore/config/searchindices?starting_after=string&ending_before=string&limit=string&filter=string&sort_key=string&sort_order=string&version=string"
response = requests.request("GET", url)
print(response.text)
{
"data": [
{
"accessors": [
{
"accessor": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"name": "string"
},
"query_type": "term"
}
],
"bootstrapped": "2019-08-24T14:15:22Z",
"columns": [
{
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"name": "string"
}
],
"data_life_cycle_state": "",
"description": "string",
"enabled": "2019-08-24T14:15:22Z",
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"index_name_suffix": "string",
"last_regional_bootstrapped_value_ids": {
"property1": "248df4b7-aa70-47b8-a036-33ac447e668d",
"property2": "248df4b7-aa70-47b8-a036-33ac447e668d"
},
"name": "string",
"searchable": "2019-08-24T14:15:22Z",
"settings": {
"ngram": {
"max_ngram": 0,
"min_ngram": 0
}
},
"type": "deprecated"
}
],
"has_next": true,
"has_prev": true,
"next": "string",
"prev": null
}
Empty
Empty