Getting Restore Session Events

In this article

    You can get a list with events for the specified restore session.

    Request

    GET https://<hostname>:4443/v5/RestoreSessions/{restoreSessionId}/Events

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Parameters

    The following parameter must be specified in the URL of the request:

    Parameter

    Type

    Description

    restoreSessionId

    string

    Specifies the identification number of the restore session. For more information on how to get this parameter, see Getting Restore Sessions.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the response body message: application/json; charset=utf-8

    Response Body

    In the response body, the server returns a resource representation of the /RestoreSessions/{restoreSessionId}/Events resource.

    Examples

    Example 1

    Request:

    GET https://abc.tech.local:4443/v5/RestoreSessions/{restoreSessionId}/Events

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "offset": 0,

     "limit": 30,

     "results": [

      {

       "id": "f346f90e-a02f-4747-b30e-ef34f980c670",

       "type": "None",

       "status": "Success",

       "startTime": "2017-05-30T13:53:45.0679711+03:00",

       "endTime": "2017-05-30T13:53:45.0679711+03:00",

       "duration": "00:00:00",

       "title": "Restore session started",

       "message": "Restore session started",

       "order": 0,

       "_links": {

        "self": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4/events/f346f90e-a02f-4747-b30e-ef34f980c670"

        },

        "restoreSession": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4"

        }

       }

      },

      {

       "id": "755d207e-ebd6-49da-9943-3b9e5eb31dee",

       "type": "Save",

       "status": "Success",

       "startTime": "2017-05-30T13:57:28.0422679+03:00",

       "endTime": "2017-05-30T13:57:28.0869607+03:00",

       "duration": "00:00:00.0446928",

       "title": "Item is successfully restored.",

       "message": "Item Image.jpg was saved successfully (type: Item; source: /personal/orgUser/Documents/Image.jpg; target: C:\\Users\\user\\AppData\\Local\\Temp\\REST_SHAREPOINT_EXPORT_224b14b4-95eb-4d6c-b959-6ffc688b7576\\7077ffb8-4f64-40d7-8fcc-32f13999b727)",

       "order": 1,

       "_links": {

        "self": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4/events/755d207e-ebd6-49da-9943-3b9e5eb31dee"

        },

        "restoreSession": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4"

        }

       }

      }

     ],

     "_links": {

      "self": {

       "href": "https://support.north.local:4443/v5/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4/events?offset=0&limit=30"

      }

     }

    }