Get Indexed Objects
POST https://{{cluster_vip}}/v2/data-protect/search/indexed-objects
Returns information on the objects that are available for recovery.
Considerations:
- The source ID (
sourceIds
) to be specified in the request body can be fetched from the Register Cassandra Source API response. - The Protection Group ID (protectionGroupIds) to be specified in the request body can be fetched from the Create Protection Group API response.
- The storage Domain ID (
storageDomainIds
) specified in the request body can be fetched from the Get Storage Domain List API response.
From the API response, you can fetch the object name which is required for running the Recover Cassandra Objects API.
Request Body
{"cassandraParams"=>{"cassandraObjectTypes"=>["CassandraTables"], "searchString"=>"*", "sourceIds"=>[11746]}, "objectType"=>"CassandraObjects", "protectionGroupIds"=>["4594155844987574:1679899218812:880"], "storageDomainIds"=>[33]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: OK
{"objectType":"CassandraObjects","cassandraObjects":[{"name":"ATUsers_Roles_Permissions_P11.taba1","path":"ATUsers_Roles_Permissions_P11.taba1","protectionGroupId":"4594155844987574:1679899218812:880","storageDomainId":33,"sourceInfo":{"id":11746,"name":"{{Cassandra_name}}","sourceId":11746,"environment":"kCassandra","objectType":"kCluster"},"tags":null,"snapshotTags":null,"type":"CassandraTables","id":"{{id}}"},{"name":"ATUsers_Roles_Permissions_P11.tabd1","path":"ATUsers_Roles_Permissions_P11.tabd1","protectionGroupId":"4594155844987574:1679899218812:880","storageDomainId":33,"sourceInfo":{"id":11746,"name":"{{Cassandra_name}}","sourceId":11746,"environment":"kCassandra","objectType":"kCluster"},"tags":null,"snapshotTags":null,"type":"CassandraTables","id":"{{Id}}"},{"name":"ATUsers_Roles_Permissions_P11.tabc1","path":"ATUsers_Roles_Permissions_P11.tabc1","protectionGroupId":"4594155844987574:1679899218812:880","storageDomainId":33,"sourceInfo":{"id":11746,"name":"{{Cassandra_name}}","sourceId":11746,"environment":"kCassandra","objectType":"kCluster"},"tags":null,"snapshotTags":null,"type":"CassandraTables","id":"{{Id}}"},{"name":"ATUsers_Roles_Permissions_P11.tabb1","path":"ATUsers_Roles_Permissions_P11.tabb1","protectionGroupId":"4594155844987574:1679899218812:880","storageDomainId":33,"sourceInfo":{"id":11746,"name":"{{Cassandra_name}}","sourceId":11746,"environment":"kCassandra","objectType":"kCluster"},"tags":null,"snapshotTags":null,"type":"CassandraTables","id":"/QVRVc2Vyc19Sb2xlc19QZXJtaXNzaW9uc19QMTE/dGFiYjE/0"}]}