# Cloud Protected Object Controller Resource

The API allows you to list and view cloud protected objects.

### GET /cloud-protected-objects/{objectGuid}

Returns protected object metadata.

Request Parameters
name | type | description | constraints
--- | --- | --- | ---
objectGuid | path | protected object guid |
guid | query |  |
tab | query |  |
type | query |  | "APP" or "CLOUD" or "CLOUD_GROUP" or "CLOUD_SITE" or "CLOUD_TEAMS" or "CLOUD_USER" or "OS" or "OS_AGENT" or "STORAGE" or "VM"

Response Body
media type | data type | description
--- | --- | ---
application/json | CloudProtectedObjectDetailsForUI (JSON) | protected object details

#### Example

##### Request

    GET /cloud-protected-objects/{objectGuid}
    Content-Type: */*
    Accept: application/json

    ...

##### Response

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

    { }

### GET /cloud-protected-objects/{objectGuid}/children

Returns list of protected object children metadata (objects in directory).

Request Parameters
name | type | description | default | constraints
--- | --- | --- | --- | ---
objectGuid | path | protected object guid |  |
calendarFrom | query |  |  | long
calendarTo | query |  |  | long
deleted | query |  |  | required boolean
direction | query |  |  |
filter | query |  |  |
filterObjects | query |  |  | "ONLY_CONTAINERS" or "ONLY_ITEMS"
from | query |  |  | long
guid | query |  |  |
orderBy | query |  |  |
page | query |  | 0 | long
pointInTime | query |  |  | long
size | query |  | 99999999 | long
tab | query |  |  |
to | query |  |  | long
type | query |  |  | "APP" or "CLOUD" or "CLOUD_GROUP" or "CLOUD_SITE" or "CLOUD_TEAMS" or "CLOUD_USER" or "OS" or "OS_AGENT" or "STORAGE" or "VM"

Response Body
media type | data type | description
--- | --- | ---
application/json | CloudProtectedObjectsDetailsForUI (JSON) | list of protected object details

#### Example

##### Request

    GET /cloud-protected-objects/{objectGuid}/children
    Content-Type: */*
    Accept: application/json

    ...

##### Response

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

    { }

### GET /cloud-protected-objects/{objectGuid}/preview

Returns preview of protected object.

Request Parameters
name | type | description | constraints
--- | --- | --- | ---
objectGuid | path | specify guid of protected object |
guid | query |  |
tab | query |  |
type | query |  | "APP" or "CLOUD" or "CLOUD_GROUP" or "CLOUD_SITE" or "CLOUD_TEAMS" or "CLOUD_USER" or "OS" or "OS_AGENT" or "STORAGE" or "VM"

Response Body
media type | data type | description
--- | --- | ---
application/json | string (JSON) | preview of protected object

#### Example

##### Request

    GET /cloud-protected-objects/{objectGuid}/preview
    Content-Type: */*
    Accept: application/json

    ...

##### Response

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

    ...