Versions Compared

Key

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

...

  • Purpose: Retrieves the audit history for a given file
  • Request: GET /bridge/audit/{file-id}
  • Response Body: JSON 

    Code Block
    {
      "audit-events" : {
        "audit-event-1" : "",   # May want to define a method to simplify processing of audit events, such as a predefined set of event types
      }
    }


  • Response Code: 200 (on success)

...

Restore Content

  • Purpose: Requests that content be made available for restore
  • Request: POST /bridge/restore
  • Request Body: JSON 

    Code Block
    {
      "checksum-type" : "SHA-256", # Checksum type applies to all file checksums
      "file-1-id" : {
        "checksum" : ""            # Checksum may only be needed as verification or in the versioning scenario
      },                           # Additional files are added here
    }


  • Response Code: 202 (on success)

  • Response Body: JSON 

    Code Block
    {
      "restore-id" : ""
    }


...