# cloud_backup.list_snapshot_directory

List files in the directory path of the snapshot_id created by the cloud backup job id.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

The cloud backup task ID.

##### Parameter 2: snapshot_id

#### snapshot_id

Type: string

ID of the snapshot whose contents to list.

Must match regular expression: `^[^-]`

##### Parameter 3: path

#### path

Type: string

Path within the snapshot to list the contents of.

Must match regular expression: `^[^-]`

##

#### Result

Type: array of object

All files and directories at the given snapshot path.

No Additional Items

##### Each item of this array must be:

#### CloudBackupSnapshotItem

Type: object

##

#### Name

Type: string

Name of the item.

##

#### Path

Type: string

Item's path in the snapshot.

##

#### Type

Type: enum (of string)

Directory or file.

##### Must be one of:

- "dir"
- "file"

##

#### Size

Size of the file in bytes.

## Any of

Type: integer
Type: null

##

#### Mtime

Type: stringFormat: date-time

Last modified time.

##

Additional Properties of any type are allowed.

Type: object

Required roles: CLOUD_BACKUP_READ