Objectivity REST : Indexing Resources : GET /v1/index
GET /v1/index
GET /v1/index
Retrieves an array with representations of all indexes in the federated database.
Headers 
 
Response Format
Accept:application/json
URL Parameters 
fdAlias
Provides the alias of a federated database that is included in the REST server’s configuration file; see Configuring the REST Server in Objectivity/DB Administration.
Curl Example 
curl -X GET -H "Accept:application/json" localhost:8185/v1/index
Response 
The response provides an array with information about each index. For example, the following shows an array with a single index of Customers with two key fields, rewardPoints and firstName.
 
Status: 200 OK
{
  "name": "myCustomerIndex",
  "indexedClass": "FleetData.Customer",
  "keyedAttributes": [
    {
      "attributeName": "rewardPoints"
    },
    {
      "attributeName": "firstName",
      "properties": {
        "maxStoredStringLength": "34"
      }
    }
  ],
  "isObsolete": false,
  "isUnique": false
}
See also 
GET /v1/index/{name} to get the named index
POST /v1/index to create an index
DELETE /v1/index/{name} to delete the named index