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


Notification Operations : Notification Operations : Get Object Cached Notification Registrations

Get Object Cached Notification Registrations
Description
Get a list of all object cached notification registrations.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/object_cached_notification_registration[?last_page][&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>
   <S3ObjectCachedNotificationRegistration>
      <CreationDate>{
YYYY-MM-DDThh:mm:ss.xxxZ}</CreationDate>
      <Format>DEFAULT|JSON|XML</Format>
      <Id>{string}</Id>
      <JobId>{string}</JobId>
      <LastFailure>{string}</LastFailure>
      <LastHttpResponseCode>
         {32‑bit integer}
      </LastHttpResponseCode>
      <LastNotification>
         {YYYY-MM-DDThh:mm:ss.xxxZ}
      </LastNotification>
      <NamingConvention>
         CONCAT_LOWERCASE|CONSTANT|UNDERSCORED|
         CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE|
         CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE
      </NamingConvention>
      <NotificationEndPoint>{
string}</NotificationEndPoint>
      <NotificationHttpMethod>POST|PUT</NotificationHttpMethod>
      <NumberOfFailuresSinceLastSuccess>
         {32‑bit integer}
      </NumberOfFailuresSinceLastSuccess>
      <UserId>{string}</UserId>
   </S3ObjectCachedNotificationRegistration>
   ...
</Data>
where the response elements are defined as follows:
The scheme used for naming within the notification sent. Values: CONCAT_LOWERCASE, CONSTANT, UNDERSCORED, CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE, CAMEL_CASE_WITH_FIRST_LETTER_LOWERCASE
Example
Sample Request
This request gets information about all object cached notification registrations.
GET http://blackpearl-hostname/_rest_/object_cached_notification_registration/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <S3ObjectCachedNotificationRegistration>
      <CreationDate>2014-10-16T18:33:58.753Z</CreationDate>
      <Format>DEFAULT</Format>
      <Id>fd5222a4-6eb3-486b-8c2d-64e2eb4fcb75</Id>
      <JobId>f0904baa-27e1-491c-8826-beddf613683f</JobId>
      <LastFailure/>
      <LastHttpResponseCode/>
      <LastNotification/>
      <NamingConvention>
         CAMEL_CASE_WITH_FIRST_LETTER_UPPERCASE
      </NamingConvention>
      <NotificationEndPoint>
         Spectra-S3-client-hostname
      </NotificationEndPoint>
      <NotificationHttpMethod>POST</NotificationHttpMethod>
      <NumberOfFailuresSinceLastSuccess>
         0
      </NumberOfFailuresSinceLastSuccess>
      <UserId>44e582df-8e62-4981-8514-7d19650ff0c3</UserId>
   </S3ObjectCachedNotificationRegistration>
   ...
</Data>