Retrieve existing indexes

Contributors

GET /persistence/v1/service/{serviceName}/collection/{collectionName}/index

Retrieves existing indexes for the service collection.

Parameters

Name Type In Required Description

serviceName

string

path

True

Participating external service name (name of the database).

collectionName

string

path

True

Persistence service collection name (name of the table).

X-Service-Request-Id

string

header

False

Request identifier used to tag the request for better supportability.

Response

Status: 200, Default response

List of string

Response

Status: 4xx, Error response
Name Type Required Description

errorCode

string

False

Error code

error

string

False

Error category

message

string

False

Error description message

Example response

{
  "errorCode": "P1002",
  "error": "api error",
  "message": "No document found of the specified documentId"
}