Skip to content

possibleSnapshotLocationsForObjects

Returns all valid locations where unexpired snapshots of the input objects are present, including both RSC (MBL archival groups) and CDM snapshot locations. The returned snapshotCount per location is aggregated across all input objects. For a per-(object, location) snapshot count breakdown of the same input objects, see snapshotSummariesByLocationForObjects.

Arguments

Argument Type Description
input (required) GetPossibleSnapshotLocationsForObjectsInput! Request containing object IDs and optional pagination parameters. If pagination is not provided, all results will be returned.

Returns

GetPossibleSnapshotLocationsForObjectsResp!

Sample

query PossibleSnapshotLocationsForObjects($input: GetPossibleSnapshotLocationsForObjectsInput!) {
  possibleSnapshotLocationsForObjects(input: $input) {
    hasNext
  }
}
{
  "input": {
    "objectIds": [
      "example-string"
    ]
  }
}
{
  "data": {
    "possibleSnapshotLocationsForObjects": {
      "hasNext": true,
      "snapshotLocations": [
        {
          "locationId": "example-string",
          "locationName": "example-string",
          "locationType": "SNAPSHOT_LOCATION_TYPE_ARCHIVAL",
          "snapshotCount": 0
        }
      ]
    }
  }
}