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


Miscellaneous Operations : Degradation Operations : Get Suspect Objects

Get Suspect Objects
Get a list of all objects that the BlackPearl system suspects are degraded. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/suspect_object[?bucket_id={string}][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={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>
   <S3Object>
      <BucketId>{
string}</BucketId>
      <CreationDate/>
      <Id>{string}</Id>
      <Latest>TRUE|FALSE</Latest>
      <Name>{string}</Name>
      <Type>DATA|FOLDER</Type>
      <Version>1</Version>
   </S3Object>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request gets information about all objects that the BlackPearl system suspects are degraded.
GET http[s]://blackpearl-hostname/_rest_/suspect_object/ HTTP/1.1
Sample Response
<Data>
   <S3Object>
      <BucketId>d8299ae8-1be9-4a80-94a3-918a7846457b</BucketId>
      <CreationDate/>
      <Id>7a84ae35-d0e8-4d6d-baa6-f773065986f6</Id>
      <Latest>true</Latest>
      <Name>object1</Name>
      <Type>DATA</Type>
      <Version>1</Version>
   </S3Object>
</Data>