Last modified October 31, 2024

listDestinations

This function returns a list of destinations.

To view available listing parameters, please visit List Parameters.

Returns
Parameter name Value Description Possible values Example
destinations[] List
Return List of Destination Object.
   
total Integer The total amount of destinations you have.    

Example Call JETAPI

jetbackup5api -F listDestinations
success: 1
message:
system:
version: 5.3.3
version_panel: 5.3.3
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
types:
        0:
        key: Localv2
        name: Local
        version: 5.3.3
        experimental:
        type: 1
        1:
        key: Local
        name: Local (Legacy)
        version: 5.3.3
        experimental:
        type: 1
        2:
        key: Clones
        name: SSH
        version: 5.3.3
        experimental:
        type: 2
        3:
        key: S3
        name: S3 Compatible
        version: 1.1.2-8
        experimental:
        type: 1
        4:
        key: SSH
        name: SSH (Legacy)
        version: 1.1.2-1
        experimental:
        type: 1

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=listDestinations