# Restored File Controller Resource

The API allows you list and view restored files.

### GET /restored-file

Returns list of restored files filtered by specified query parameters.

Request Parameters
name | type | description
--- | --- | ---
task | query |

Response Body
media type | data type | description
--- | --- | ---
application/json | array of RestoredFileDetails (JSON) | list of restored files filtered by specified query parameters

#### Example

##### Request

    GET /restored-file
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    [ {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
    } ]

### GET /restored-file/{guid}

Get a single restored file.

Request Parameters
name | type | description
--- | --- | ---
guid | path | specify local unique identifier for restored file (use by vProtect)

Response Body
media type | data type | description
--- | --- | ---
application/json | RestoredFileDetails (JSON) | restored file details

#### Example

##### Request

    GET /restored-file/{guid}
    Content-Type: */*
    Accept: application/json

    ...

##### Response

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
      "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67"
    }