Get Objects List

GET https://{{cluster_vip}}/irisservices/api/v1/public/protectionSources?id={{sourceId}}

Returns information about the list objects available on the source specified in this API URL.

The object ID from the response is required for protecting that object.

Request Params

KeyDatatypeRequiredDescription
idstring

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

"[\n  {\n    \"nodes\": [\n      {\n        \"nodes\": [\n          {\n            \"protectionSource\": {\n              \"id\": 12054,\n              \"parentId\": 11746,\n              \"name\": \"tabd1\",\n              \"environment\": \"kCassandra\",\n              \"cassandraProtectionSource\": {\n                \"type\": \"kTable\",\n                \"name\": \"tabd1\",\n                \"uuid\": \"ATUsers_Roles_Permissions1.tabd1\"\n              }\n            },\n            \"protectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\"\n              }\n            ],\n            \"unprotectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\",\n                \"leavesCount\": 1,\n                \"totalLogicalSize\": 0\n              }\n            ]\n          }\n        ],\n        \"protectionSource\": {\n          \"id\": 11749,\n          \"parentId\": 11746,\n          \"name\": \"ATUsers_Roles_Permissions1\",\n          \"environment\": \"kCassandra\",\n          \"cassandraProtectionSource\": {\n            \"type\": \"kKeyspace\",\n            \"name\": \"ATUsers_Roles_Permissions1\",\n            \"uuid\": \"ATUsers_Roles_Permissions1\",\n            \"keyspaceInfo\": {\n              \"childrenCount\": 4,\n              \"replicationStrategy\": 0\n            }\n          }\n        },\n        \"protectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\"\n          }\n        ],\n        \"unprotectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\",\n            \"leavesCount\": 4,\n            \"totalLogicalSize\": 0\n          }\n        ]\n      },\n      {\n        \"nodes\": [\n          {\n            \"protectionSource\": {\n              \"id\": 12055,\n              \"parentId\": 11746,\n              \"name\": \"taba1\",\n              \"environment\": \"kCassandra\",\n              \"cassandraProtectionSource\": {\n                \"type\": \"kTable\",\n                \"name\": \"taba1\",\n                \"uuid\": \"ATUsers_Roles_Permissions_P11.taba1\"\n              }\n            },\n            \"protectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\",\n                \"leavesCount\": 1,\n                \"totalLogicalSize\": 0\n              }\n            ],\n            \"unprotectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\"\n              }\n            ]\n          },\n          {\n            \"protectionSource\": {\n              \"id\": 12056,\n              \"parentId\": 11746,\n              \"name\": \"tabb1\",\n              \"environment\": \"kCassandra\",\n              \"cassandraProtectionSource\": {\n                \"type\": \"kTable\",\n                \"name\": \"tabb1\",\n                \"uuid\": \"ATUsers_Roles_Permissions_P11.tabb1\"\n              }\n            },\n            \"protectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\",\n                \"leavesCount\": 1,\n                \"totalLogicalSize\": 0\n              }\n            ],\n            \"unprotectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\"\n              }\n            ]\n          },\n          {\n            \"protectionSource\": {\n              \"id\": 12057,\n              \"parentId\": 11746,\n              \"name\": \"tabc1\",\n              \"environment\": \"kCassandra\",\n              \"cassandraProtectionSource\": {\n                \"type\": \"kTable\",\n                \"name\": \"tabc1\",\n                \"uuid\": \"ATUsers_Roles_Permissions_P11.tabc1\"\n              }\n            },\n            \"protectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\",\n                \"leavesCount\": 1,\n                \"totalLogicalSize\": 0\n              }\n            ],\n            \"unprotectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\"\n              }\n            ]\n          },\n          {\n            \"protectionSource\": {\n              \"id\": 12058,\n              \"parentId\": 11746,\n              \"name\": \"tabd1\",\n              \"environment\": \"kCassandra\",\n              \"cassandraProtectionSource\": {\n                \"type\": \"kTable\",\n                \"name\": \"tabd1\",\n                \"uuid\": \"ATUsers_Roles_Permissions_P11.tabd1\"\n              }\n            },\n            \"protectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\",\n                \"leavesCount\": 1,\n                \"totalLogicalSize\": 0\n              }\n            ],\n            \"unprotectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\"\n              }\n            ]\n          }\n        ],\n        \"protectionSource\": {\n          \"id\": 11750,\n          \"parentId\": 11746,\n          \"name\": \"ATUsers_Roles_Permissions_P11\",\n          \"environment\": \"kCassandra\",\n          \"cassandraProtectionSource\": {\n            \"type\": \"kKeyspace\",\n            \"name\": \"ATUsers_Roles_Permissions_P11\",\n            \"uuid\": \"ATUsers_Roles_Permissions_P11\",\n            \"keyspaceInfo\": {\n              \"childrenCount\": 4,\n              \"replicationStrategy\": 1,\n              \"dcList\": [\n                \"DC with \\\" and space\",\n                \"dc1\"\n              ]\n            }\n          }\n        },\n        \"protectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\",\n            \"leavesCount\": 4,\n            \"totalLogicalSize\": 0\n          }\n        ],\n        \"unprotectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\"\n          }\n        ]\n      },\n      {\n        \"nodes\": [\n          {\n            \"protectionSource\": {\n              \"id\": 13185,\n              \"parentId\": 11746,\n              \"name\": \"tieredtable\",\n              \"environment\": \"kCassandra\",\n              \"cassandraProtectionSource\": {\n                \"type\": \"kTable\",\n                \"name\": \"tieredtable\",\n                \"uuid\": \"tieredtestspace2.tieredtable\"\n              }\n            },\n            \"protectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\"\n              }\n            ],\n            \"unprotectedSourcesSummary\": [\n              {\n                \"environment\": \"kCassandra\",\n                \"leavesCount\": 1,\n                \"totalLogicalSize\": 0\n              }\n            ]\n          }\n        ],\n        \"protectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\"\n          }\n        ],\n        \"unprotectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\",\n            \"leavesCount\": 1,\n            \"totalLogicalSize\": 0\n          }\n        ]\n      },\n      {\n        \"protectionSource\": {\n          \"id\": 12040,\n          \"parentId\": 11746,\n          \"name\": \"table2\",\n          \"environment\": \"kCassandra\",\n          \"cassandraProtectionSource\": {\n            \"type\": \"kKeyspace\",\n            \"name\": \"table2\",\n            \"uuid\": \"table2\",\n            \"keyspaceInfo\": {\n              \"childrenCount\": 0,\n              \"replicationStrategy\": 0\n            }\n          }\n        },\n        \"protectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\"\n          }\n        ],\n        \"unprotectedSourcesSummary\": [\n          {\n            \"environment\": \"kCassandra\",\n            \"leavesCount\": 1,\n            \"totalLogicalSize\": 0\n          }\n        ]\n      }\n    ],\n    \"protectionSource\": {\n      \"id\": 11746,\n      \"name\": \"table3\",\n      \"customName\": \"\",\n      \"environment\": \"kCassandra\",\n      \"cassandraProtectionSource\": {\n        \"type\": \"table3\",\n        \"name\": \"table3\",\n        \"uuid\": \"table3\",\n        \"clusterInfo\": {\n          \"primaryHost\": \"{{Cassandra_hostIp}}\",\n          \"seeds\": [\n            \"{{seed1_ip}}\",\n            \"{{seed2_ip}}\"\n          ]\n        }\n      }\n    },\n    \"protectedSourcesSummary\": [\n      {\n        \"environment\": \"kCassandra\",\n        \"leavesCount\": 9,\n        \"totalLogicalSize\": 0\n      }\n    ],\n    \"unprotectedSourcesSummary\": [\n      {\n        \"environment\": \"kCassandra\",\n        \"leavesCount\": 1160,\n        \"totalLogicalSize\": 0\n      }\n    ],\n    \"registrationInfo\": {\n      \"accessInfo\": {\n        \"id\": 869,\n        \"version\": 0,\n        \"environment\": \"kCassandra\",\n        \"endpoint\": \"{{endpoint}}\"\n      },\n      \"registrationTimeUsecs\": 1680004443991310,\n      \"refreshTimeUsecs\": 1680004492998176,\n      \"authenticationStatus\": \"kFinished\",\n      \"cassandraParams\": {\n        \"primaryHost\": \"{{Cassandra_hostIp}}\",\n        \"seeds\": [\n            \"{{seed1_ip}}\",\n            \"{{seed2_ip}}\"\n        ],\n        \"isJmxAuthEnable\": false,\n        \"configDirectory\": \"/etc/dse/cassandra\",\n        \"dseConfigDirectory\": \"/etc/dse\",\n        \"isDseTieredStorage\": false,\n        \"isDseAuthenticator\": true,\n        \"dataCenters\": [\n          \"dc2\",\n          \"dc1\"\n        ],\n        \"commitLogBackupLocation\": \"\",\n        \"cassandraPortsInfo\": {\n          \"nativeTransportPort\": {{portnumber}},\n          \"rpcPort\": {{portnumber}},\n          \"storagePort\": {{portnumber}},\n          \"sslStoragePort\": {{portnumber}},\n          \"jmxPort\": {{portnumber}}\n        },\n        \"cassandraSecurityInfo\": {\n          \"cassandraAuthorizer\": \"com.datastax.bdp.cassandra.auth.DseAuthorizer\",\n          \"cassandraAuthRequired\": true,\n          \"cassandraAuthType\": \"PASSWORD\",\n          \"dseAuthorization\": true,\n          \"clientEncryption\": false,\n          \"serverInternodeEncryptionType\": \"none\",\n          \"serverEncryptionReqClientAuth\": false\n        },\n        \"solrNodes\": null,\n        \"solrPort\": null,\n        \"cassandraVersion\": \"3.11.3.5117\"\n      }\n    }\n  }\n]"