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


Miscellaneous Operations : System Operations : Get Feature Keys

Get Feature Keys
Description
Returns a list of all feature keys installed on the BlackPearl system.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/feature_key
[?error_message={string}][&expiration_date={string}][&key={string}][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}]
Request Parameters 
Values: AWS_S3_CLOUD_OUT, MICROSOFT_AZURE_CLOUD_OUT
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.
 
Responses
Response Elements
<Data>
   <FeatureKey>
     <CurrentValue>{64-bit integer}</CurrentValue>
     <ErrorMessage>{string}</ErrorMessage>
     <ExpirationDate>{YYYY-MM-DDThh:mm:ss.xxxZ}</ExpirationDate>
     <Id>{string}</Id>
     <Key>AWS_S3_CLOUD_OUT|MICROSOFT_AZURE_CLOUD_OUT</Key>
     <LimitValue>{64-bit integer}</LimitValue>
   </FeatureKey>
...
</Data>
where the response elements are defined as follows:
The type of feature key.
Values:
AWS_S3_CLOUD_OUT, MICROSOFT_AZURE_CLOUD_OUT
Example
Sample Request
This request gets information about all feature keys installed on the BlackPearl system.
GET http[s]://datapathdnsnameofappliance/_rest_/feature_key/
HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <FeatureKey>
     <CurrentValue/>
     <ErrorMessage/>
     <ExpirationDate/>
     <Id>0f6fac07-624d-4ef6-a9e0-cc802ef8a952</Id>
     <Key>AWS_S3_CLOUD_OUT</Key>
     <LimitValue>1099511627776</LimitValue>
   </FeatureKey>
</Data>