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


Miscellaneous Operations : Degradation Operations : Get Suspect Buckets

Get Suspect Buckets
Description
Get information about all buckets that the BlackPearl system suspects are degraded.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/suspect_bucket[?data_policy_id={string}][&last_page][&name={string}][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&user_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>
   <Bucket>
      <CreationDate>{
string}</CreationDate>
      <DataPolicyId>{string}</DataPolicyId>
      <Id>{string}</Id>
      <LastPreferredChunkSizeInBytes>
         {64‑bit integer}
      </LastPreferredChunkSizeInBytes>
      <Name>{string}</Name>
      <UserId>{string}</UserId>
   </Bucket>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request gets information about all buckets that the BlackPearl system suspects are degraded.
GET http[s]://blackpearl-hostname/_rest_/suspect_bucket/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Bucket>
      <CreationDate>2016-05-19T00:47:49.000Z</CreationDate>
      <DataPolicyId>
          c9d9c184-a748-4ae0-a8bc-551813bbd256
      </DataPolicyId>
      <Id>14058691-a3de-4fd3-9d3d-8401f10e0c59</Id>
      <LastPreferredChunkSizeInBytes/>
      <Name>bucket</Name>
      <UserId>8f63bd3f-d9a3-4899-8638-7817754e2e93</UserId>
   </Bucket>
</Data>