Spectra Logic
1-800-833-1132 : 1-303-449-6400


Miscellaneous Operations : Degradation Operations : Get Degraded Object Parts

Get Degraded Object Parts
Description
Get all degraded object part records. Use parameters as selection criteria to return information for a subset of all degraded object parts.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/degraded_blob[?blob_id={string}][&bucket_id={string}][&Ds3ReplicationRuleId={string}][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&persistence_rule_id={string}][&replication_rule_id={string}]
Request Parameters 
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
a.
Responses
Response Elements
<Data>
   <DegradedBlob>
      <AzureReplicationRuleId>{
string}</AzureReplicationRuleId>
      <BlobId>{string}</BlobId>
      <BucketId>{string}</BucketId>
      <DS3ReplicationRuleId>{string}</DS3ReplicationRuleId>
      <Id>{string}</Id>
      <PersistenceRuleId>{string}</PersistenceRuleId>
      <S3ReplicationRuleId>{string}</S3ReplicationRuleId>
   </DegradedBlob>
   ...
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request gets information about all degraded object parts.
GET http[s]://blackpearl-hostname/_rest_/degraded_blob/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <DegradedBlob>
      <AzureReplicationRuleId/>
      <BlobId>dcbe024c-999d-4f79-ae9d-079a09b3a2f5</BlobId>
      <BucketId>059e4b7d-bed3-441a-93d4-463bc5d8a8d3</BucketId>
      <Ds3ReplicationRuleId/>
      <Id>6989f3a9-b247-4cc3-a007-3c2b914772b8</Id>
      <PersistenceRuleId>
         6840231b-1546-4560-a90b-76a6c86b3d1f
      </PersistenceRuleId>
      <S3ReplicationRuleId/>
   </DegradedBlob>
   ...
</Data>