Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Purpose: DuraReport generates reports relating to the status of your DuraCloud instance, and provides a simple interface for accessing those reports.

Resources: XML schema which defines the expected transfer data for storage and service reporting can be found on the Downloads page

Panel
titleInitialization REST Methods

Initialize Application

  • Purpose: Allows the initialization of durareport
  • Request: POST https://host:port/durareport/reports
  • Request Body: XML similar to:
    Code Block
    xml
    xml
    <durareportConfig>
      <durastoreHost>[host]</durastoreHost>
      <durastorePort>[port]</durastorePort>
      <durastoreContext>durastore</durastoreContext>
      <duraserviceHost>[host]</duraserviceHost>
      <duraservicePort>[port]</duraservicePort>
      <duraserviceContext>duraservice</duraserviceContext>
    </durareportConfig>
    
  • Response Code: 200 (on success)
  • Response Body: "Initialization Successful" (on success)
, defined by the storage report XSD

Get Storage Report List

, defined by the storage report XSD

Get Storage Report

, defined by the storage report XSD

Get Storage Report Info

, defined by the storage report XSD

Start Storage Report

  • Purpose: Starts a storage report if one is not already running
  • Request: POST https://host:port/durareport/storagereport
  • Response Code: 200 (on success)
  • Response Body: "Report Started" (on success), or ""Report Already In Progress" (if a report is already in progress)

Cancel Storage Report

Schedule Storage Report

  • Purpose: Schedules a time for a storage report to be run
  • Request: POST https://host:port/durareport/storagereport/schedule ? (startTime) (frequency)
    • startTime: time (in milliseconds since the epoch) to begin the next storage report
    • frequency: time (in milliseconds) to wait between running reports (minimum value is 600000)
  • Response Code: 200 (on success)
  • Response Body: "Storage reports scheduled" (on success)

Cancel Storage Report Schedule

Panel
titleStorage Report REST Methods

Get Latest Storage Report

Code Block
xmlxml

TBD
Code Block
xmlxml

TBD
Code Block
xmlxml

TBD
Code Block
xmlxml

TBD
TBD , defined by the service report XSDs

Get Completed Services Report

  • Purpose: Provides a listing of the most recent completed services
  • Request: GET https://host:port/durareport/servicereport ? (limit)
    • Parameter value for limit (optional) should indicate the maximum number of services to return in the report (default is 20, max is 1000)
  • Response Code: 200 (on success)
  • Response Body: XML similar to:
, defined by the service report XSDs

Get Completed Services Report List

, defined by the service report XSDs

Get Services Report

TBD , defined by the service report XSDs
Panel
titleService Report REST Methods

Get Deployed Services Report

Code Block
xmlxml
Code Block
xmlxml

TBD
Code Block
xmlxml

TBD
Code Block
xmlxml