Files
API Key Scope: files / index
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / show
Numeric ID or path of file.
A specific file.
GET /api/v2/files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
],
"file_path": "/my-container/my-file.txt"
}API Key Scope: files / index
Numeric ID or path of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / index
Numeric ID or name of container.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/containers/{container_id}/files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / show
Numeric ID or name of container.
Numeric ID or path of file.
A specific file.
GET /api/v2/containers/{container_id}/files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
],
"file_path": "/my-container/my-file.txt"
}API Key Scope: files / index
Numeric ID or name of container.
Numeric ID or path of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/containers/{container_id}/files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / index
Numeric ID, or name of pool.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/pools/{pool_id}/files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / show
Numeric ID, or name of pool.
Numeric ID or path of file.
A specific file.
GET /api/v2/pools/{pool_id}/files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
],
"file_path": "/my-container/my-file.txt"
}API Key Scope: files / tapes
Numeric ID, or name of pool.
Numeric ID or path of file.
List of tapes.
GET /api/v2/pools/{pool_id}/files/{file_id}/tapes HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of tapes.
{
"count": 1,
"tapes": [
{
"id": 10,
"tape_library_id": 2,
"pool_id": 6,
"barcode": "NOD407L5",
"location": "Slot 2",
"type": "data_lto5",
"locked": 1,
"scratch": 1,
"cleaning": 1,
"write_protect": [
"logical_locked"
],
"mounted": 1,
"ejected": 1,
"known": 1,
"mount_count": 1,
"date_in": "2025-11-05T15:57:33.149Z",
"date_move": "2025-11-05T15:57:33.149Z",
"free": 1,
"max": 1,
"last_size_update": "2025-11-05T15:57:33.149Z",
"last_maintenance": "2025-11-05T15:57:33.149Z",
"last_repack": "2025-11-05T15:57:33.149Z",
"repack_status": 1,
"force_import_type": 1,
"need_to_check": 1
}
]
}API Key Scope: files / cloud_buckets
Numeric ID, or name of pool.
Numeric ID or path of file.
List of cloud buckets.
GET /api/v2/pools/{pool_id}/files/{file_id}/cloud_buckets HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of cloud buckets.
{
"count": 1,
"cloud_buckets": [
{
"id": 1,
"cloud_connector_id": 1,
"pool_id": 1,
"name": "text",
"file_count": 1,
"file_size_sum": 1,
"location": "text",
"price": "text",
"options": "text"
}
]
}API Key Scope: files / nas_shares
Numeric ID, or name of pool.
Numeric ID or path of file.
List of NAS shares.
GET /api/v2/pools/{pool_id}/files/{file_id}/nas_shares HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of NAS shares.
{
"count": 1,
"nas_shares": [
{
"id": 10,
"nas_id": 2,
"pool_id": 6,
"name": "archives_general",
"path": "archives/general",
"options": "rsize=1048576,wsize=1048576",
"username": "admin",
"password": "[censored]",
"file_count": 1,
"file_size_sum": 1
}
]
}API Key Scope: files / file_size
Numeric ID, or name of pool.
Numeric ID or path of file.
Sum of the file sizes.
GET /api/v2/pools/{pool_id}/files/{file_id}/file_size HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Sum of the file sizes.
{
"file_size": 1
}API Key Scope: files / index
Numeric ID, or name of pool.
Numeric ID or path of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/pools/{pool_id}/files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: import_files / index
Numeric ID, or name of pool.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
List of imported files.
GET /api/v2/pools/{pool_id}/import_files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of imported files.
{
"count": 1,
"import_files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000
}
]
}API Key Scope: import_files / show
Numeric ID, or name of pool.
Numeric ID of file.
A specific imported file.
GET /api/v2/pools/{pool_id}/import_files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific imported file.
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"file_path": "/my-container/my-file.txt"
}API Key Scope: import_files / index
Numeric ID, or name of pool.
Numeric ID of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
List of imported files.
GET /api/v2/pools/{pool_id}/import_files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of imported files.
{
"count": 1,
"import_files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000
}
]
}API Key Scope: on_tapes_files / index
Numeric ID, or name of pool.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on name
Filter on type
Filter on size
List of files on tapes.
GET /api/v2/pools/{pool_id}/on_tapes_files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files on tapes.
{
"count": 1,
"on_tapes_files": [
{
"id": 105,
"name": "my-file.txt",
"type": "file",
"size": 1063457,
"barcodes": [
"NOD407L5",
"NOD415L5"
]
}
]
}API Key Scope: on_tapes_files / show
Numeric ID, or name of pool.
Numeric ID of file.
A specific file on tapes.
GET /api/v2/pools/{pool_id}/on_tapes_files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file on tapes.
{
"id": 105,
"name": "my-file.txt",
"type": "file",
"size": 1063457,
"barcodes": [
"NOD407L5",
"NOD415L5"
]
}API Key Scope: on_tapes_files / index
Numeric ID, or name of pool.
Numeric ID of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on name
Filter on type
Filter on size
List of files on tapes.
GET /api/v2/pools/{pool_id}/on_tapes_files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files on tapes.
{
"count": 1,
"on_tapes_files": [
{
"id": 105,
"name": "my-file.txt",
"type": "file",
"size": 1063457,
"barcodes": [
"NOD407L5",
"NOD415L5"
]
}
]
}API Key Scope: files / index
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/tasks/{task_id}/files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / show
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID or path of file.
A specific file.
GET /api/v2/tasks/{task_id}/files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
],
"file_path": "/my-container/my-file.txt"
}API Key Scope: files / tapes
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID or path of file.
List of tapes.
GET /api/v2/tasks/{task_id}/files/{file_id}/tapes HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of tapes.
{
"count": 1,
"tapes": [
{
"id": 10,
"tape_library_id": 2,
"pool_id": 6,
"barcode": "NOD407L5",
"location": "Slot 2",
"type": "data_lto5",
"locked": 1,
"scratch": 1,
"cleaning": 1,
"write_protect": [
"logical_locked"
],
"mounted": 1,
"ejected": 1,
"known": 1,
"mount_count": 1,
"date_in": "2025-11-05T15:57:33.149Z",
"date_move": "2025-11-05T15:57:33.149Z",
"free": 1,
"max": 1,
"last_size_update": "2025-11-05T15:57:33.149Z",
"last_maintenance": "2025-11-05T15:57:33.149Z",
"last_repack": "2025-11-05T15:57:33.149Z",
"repack_status": 1,
"force_import_type": 1,
"need_to_check": 1
}
]
}API Key Scope: files / cloud_buckets
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID or path of file.
List of cloud buckets.
GET /api/v2/tasks/{task_id}/files/{file_id}/cloud_buckets HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of cloud buckets.
{
"count": 1,
"cloud_buckets": [
{
"id": 1,
"cloud_connector_id": 1,
"pool_id": 1,
"name": "text",
"file_count": 1,
"file_size_sum": 1,
"location": "text",
"price": "text",
"options": "text"
}
]
}API Key Scope: files / nas_shares
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID or path of file.
List of NAS shares.
GET /api/v2/tasks/{task_id}/files/{file_id}/nas_shares HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of NAS shares.
{
"count": 1,
"nas_shares": [
{
"id": 10,
"nas_id": 2,
"pool_id": 6,
"name": "archives_general",
"path": "archives/general",
"options": "rsize=1048576,wsize=1048576",
"username": "admin",
"password": "[censored]",
"file_count": 1,
"file_size_sum": 1
}
]
}API Key Scope: files / file_size
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID or path of file.
Sum of the file sizes.
GET /api/v2/tasks/{task_id}/files/{file_id}/file_size HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Sum of the file sizes.
{
"file_size": 1
}API Key Scope: files / index
Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
Numeric ID or path of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/tasks/{task_id}/files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / index
Numeric ID of task execution.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/task_executions/{task_execution_id}/files HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}API Key Scope: files / show
Numeric ID of task execution.
Numeric ID or path of file.
A specific file.
GET /api/v2/task_executions/{task_execution_id}/files/{file_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
A specific file.
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
],
"file_path": "/my-container/my-file.txt"
}API Key Scope: files / tapes
Numeric ID of task execution.
Numeric ID or path of file.
List of tapes.
GET /api/v2/task_executions/{task_execution_id}/files/{file_id}/tapes HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of tapes.
{
"count": 1,
"tapes": [
{
"id": 10,
"tape_library_id": 2,
"pool_id": 6,
"barcode": "NOD407L5",
"location": "Slot 2",
"type": "data_lto5",
"locked": 1,
"scratch": 1,
"cleaning": 1,
"write_protect": [
"logical_locked"
],
"mounted": 1,
"ejected": 1,
"known": 1,
"mount_count": 1,
"date_in": "2025-11-05T15:57:33.149Z",
"date_move": "2025-11-05T15:57:33.149Z",
"free": 1,
"max": 1,
"last_size_update": "2025-11-05T15:57:33.149Z",
"last_maintenance": "2025-11-05T15:57:33.149Z",
"last_repack": "2025-11-05T15:57:33.149Z",
"repack_status": 1,
"force_import_type": 1,
"need_to_check": 1
}
]
}(By task execution) Displays cloud buckets containing specific file, related to the specific task.
API Key Scope: files / cloud_buckets
Numeric ID of task execution.
Numeric ID or path of file.
List of cloud buckets.
GET /api/v2/task_executions/{task_execution_id}/files/{file_id}/cloud_buckets HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of cloud buckets.
{
"count": 1,
"cloud_buckets": [
{
"id": 1,
"cloud_connector_id": 1,
"pool_id": 1,
"name": "text",
"file_count": 1,
"file_size_sum": 1,
"location": "text",
"price": "text",
"options": "text"
}
]
}API Key Scope: files / nas_shares
Numeric ID of task execution.
Numeric ID or path of file.
List of NAS shares.
GET /api/v2/task_executions/{task_execution_id}/files/{file_id}/nas_shares HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of NAS shares.
{
"count": 1,
"nas_shares": [
{
"id": 10,
"nas_id": 2,
"pool_id": 6,
"name": "archives_general",
"path": "archives/general",
"options": "rsize=1048576,wsize=1048576",
"username": "admin",
"password": "[censored]",
"file_count": 1,
"file_size_sum": 1
}
]
}API Key Scope: files / file_size
Numeric ID of task execution.
Numeric ID or path of file.
Sum of the file sizes.
GET /api/v2/task_executions/{task_execution_id}/files/{file_id}/file_size HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
Sum of the file sizes.
{
"file_size": 1
}API Key Scope: files / index
Numeric ID of task execution.
Numeric ID or path of parent folder.
The number of items to display for pagination.
The number of items to skip for pagination.
Filter on file id
Filter on name
Filter on type
Filter on permission
Filter on size
Filter on change date
Filter on modification date
Filter on access date
Filter on gid
Filter on uid
Filter on file offline status
Filter on file in cache status
List of files.
GET /api/v2/task_executions/{task_execution_id}/files/{file_parent_id}/children HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of files.
{
"count": 1,
"files": [
{
"id": 105,
"name": "my-file.txt",
"parent": 100,
"primary_id": 100,
"type": "file",
"permission": 100666,
"size": 1063457,
"change_date": "2018-12-10T08:33:47.000Z",
"modification_date": "2018-12-10T15:29:23.000Z",
"access_date": "2018-12-10T15:27:51.000Z",
"uid": 1000,
"gid": 1000,
"in_cache": "in_cache",
"offline": "online",
"extern": 1,
"checksums": [
"text"
],
"tapes": [
"text"
],
"cloud_buckets": [
"text"
],
"nas_shares": [
"text"
]
}
]
}Last updated
Was this helpful?