Versions Compared

Key

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

...

  • Purpose: Allows the repository to retrieve restored content from the Bridge
  • Request: GET /bridge/restore/{restore-id}/{filegroup-id}/{file-id} ? {checksum-type}
    • filegroup-id: The identifier of the filegroup for the restored file
    • file-id: The identifier of the restored file to retrieve
    • checksum-type: (Optional) Defines the type of checksum to be included in the response ETag header. Can be one of: MD5, SHA-256, SHA-512. Default is MD5.
  • Response: Restored file content stream

  • Response Codes:
    • 200 (on success)
    • 404 (if the file is not part of the restore or the restored content has expired)
  • Response Headers: ETag

...

  • Purpose: Retrieves an audit history report. The report will list audit events associated with a single file or set of files in a filegroup.
  • Request: GET /bridge/audit/{filegroup-id} /{file-id-type}
    • filegroup-id: The identifier of the filegroup or file for which an audit report is requested
    • file-id-type: (Optional) Specifies that the specified ID is either a file or filegroup. Allowed values are: filegroup or file. Default value is fileThe identifier of the file for which an audit report is requested. If this is not provided the audit report is requested based on the filegroup-id.
  • Response Codes:
    • 200 (on success)
    • 404 (if there is no audit information for the provided ID)
  • Response Body: JSON 

    Code Block
    {
      "file-1-id" : {
        "audit-event-1",
        "audit-event-2",
      },
    }


  • Notes:
      It may be possible to discern the type of an ID (as being either a file or filegroup), in which case that id-type parameter is unnecessary.
    • Given that the primary unit of preservation is the filegroup, should this call be limited to requesting history about a filegroup?

...