Last modified November 7, 2024
manageRepository
This function lets you manage Repositories.
Parameter name | Type | Description | Possible values | Example |
---|---|---|---|---|
_id | String | REQUIRED for Modify The Repository ID. | _id=608b1c5f160247613b11dc02 |
|
action | String | REQUIRED Flag to either create or modify the Repository. | create/modify | action=create |
url | String | The URL of the repository | url=https://repo.jetlicense.com/plugins/ |
|
name | string | Set or change the Repository name for internal use | name=JetApps Repository |
Example Call JETAPI
jetbackup5api -F manageRepository -D "action=create&url="https://repo.jetlicense.com/plugins/"&name=JetApps Repository"
jetbackup5api -F manageRepository -D "action=modify&_id={$REPOSITORY_ID}&name=JetApps Repository"
success: 1
message: Repository Created/Updated Successfully
system:
version: 5.3.6
version_panel: 5.3.6
tier: ALPHA
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
_id: 65832695cdd0c01e2a099172
name: JetApps Repository
url: https://repo.jetlicense.com/plugins/
created: 2023-12-20T17:38:28+00:00
last_checked: 2023-12-20T17:38:30+00:00
Example Call HTTP
https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageRepository&action=create&url="https://repo.jetlicense.com/plugins/"&name=JetApps Repository
https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageRepository&action=modify&_id={$REPOSITORY_ID}&name=JetApps Repository
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.