Last modified November 7, 2024

listRepositories

This function returns a list of available Repositories.
Parameter name Type Description Possible values Example
filter String Filter repositories by name or description.   filter=JetApps Repository

Returns

Parameter name Type Description Possible values Example
items List [] Returns a list of all repositories.    

Example Call JETAPI

jetbackup5api -F listRepositories -D "filter=JetApps Repository"
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:
  repositories:
    0:
      _id: 6507537fa8f98c6ea7022b52
      name: JetApps Repository
      url: https://repo.jetlicense.com/plugins/
      created: 2023-09-17T19:29:03+00:00
      last_checked: 2023-09-19T05:04:40+00:00
  total: 1

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=listRepositories&filter='JetApps Repository'