{"id":37045666,"url":"https://github.com/c1982/plesklib","last_synced_at":"2026-01-14T05:16:37.168Z","repository":{"id":13239957,"uuid":"73970948","full_name":"c1982/plesklib","owner":"c1982","description":"Plesk .NET Library","archived":true,"fork":false,"pushed_at":"2022-08-31T19:22:41.000Z","size":115,"stargazers_count":14,"open_issues_count":4,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-10T10:56:12.618Z","etag":null,"topics":["api","client","donet","library","plesk"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c1982.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-16T23:31:57.000Z","updated_at":"2024-08-12T19:26:07.000Z","dependencies_parsed_at":"2023-01-11T20:20:04.234Z","dependency_job_id":null,"html_url":"https://github.com/c1982/plesklib","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/c1982/plesklib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c1982%2Fplesklib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c1982%2Fplesklib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c1982%2Fplesklib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c1982%2Fplesklib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c1982","download_url":"https://codeload.github.com/c1982/plesklib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c1982%2Fplesklib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28410356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","donet","library","plesk"],"created_at":"2026-01-14T05:16:36.501Z","updated_at":"2026-01-14T05:16:37.162Z","avatar_url":"https://github.com/c1982.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plesklib\nSimply Plesk .NET Library for version 12 and above\n\n#Installation\n\nYou can directly install this project from [Nuget](https://www.nuget.org/packages/maestropanel.plesklib/). \n\nor\n\n\u003e **PM\u003e Install-Package maestropanel.plesklib**\n\n##Samples\n\n**Create WebSpace**\n```csharp\n\tvar client = new PleskClient(\"192.168.5.5\", \"admin\", \"p@assW0rd!\");\n\tvar ipaddress = client.GetIPAddressList().ip.get.result.ipinfo.FirstOrDefault();\n\n\tvar result = client.CreateWebSpace(\"domain.com\", ipaddress.ipaddress);\n\t\n\tConsole.WriteLine(\"Status: {0}\", result.status);\n\tConsole.WriteLine(\"Message: {0}\", result.ErrorText);\n\tConsole.WriteLine(\"New Webspace Id: {0}\", create.webspace.add.result.Id);\n```\n----------\n\n**Create WebSpace with Settings**\n```csharp\n\tvar client = new PleskClient(\"192.168.5.5\", \"admin\", \"p@assW0rd!\");\n\tvar ipaddress = client.GetIPAddressList().ip.get.result.ipinfo.FirstOrDefault();\n\t\n\tvar list = new List\u003cHostingProperty\u003e();\n\tlist.Add(new HostingProperty() { Name = \"php\", Value = \"false\" });\n\tlist.Add(new HostingProperty() { Name = \"ssi\", Value = \"false\" });\n\tlist.Add(new HostingProperty() { Name = \"asp\", Value = \"true\" });\n\tlist.Add(new HostingProperty() { Name = \"asp_dot_net\", Value = \"false\" });\n\tlist.Add(new HostingProperty() { Name = \"cgi\", Value = \"true\" });\n\t\n\tvar result = client.CreateWebSpace(\"domain.com\", ipaddress.ipaddress, list);\n\t\t\n\tConsole.WriteLine(\"Status: {0}\", result.status);\n\tConsole.WriteLine(\"Message: {0}\", result.ErrorText);\n\tConsole.WriteLine(\"New Webspace Id: {0}\", create.webspace.add.result.Id);\n```\n----------\n**Create Subdomain**\n```csharp\n\tvar client = new PleskClient(\"192.168.5.5\", \"admin\", \"p@assW0rd!\");\n\t\n\tvar result = client.CreateSubdomain(\"domain.com\", \"blog\");\n\t\t\n\tConsole.WriteLine(\"Status: {0}\", result.status);\n\tConsole.WriteLine(\"Message: {0}\", result.ErrorText);\n\tConsole.WriteLine(\"New Subdomain Id: {0}\", create.subdomain.add.result.Id);\n```\n\n## API Actions\n\nAPI actions taken on the roadmap. The completed ones are overlaid.\n\n### Backups\n\n- GET-REMOTE-STORAGE-SETTINGS retrieves settings of a remote FTP storage\n- SET-REMOTE-STORAGE-SETTINGS changes settings of a remote FTP storage\n- BACKUP-WEBSPACE creates a webspace-level backup task\n- BACKUP-CUSTOMER creates a customer-level backup task\n- BACKUP-RESELLER creates a reseller-level backup task\n- BACKUP-SERVER creates a server-level backup task\n- GET-TASKS-INFO retrieves the status of a certain backup task\n- GET-LOCAL-BACKUP-LIST retrieves a list of backups stored in a local storage\n- IMPORT-FILE moves backups from a temporary directory on a Plesk server to a local storage\n- DOWNLOAD-FILE downloads a backup from the server\n- GET-SUPPORTED-PROTOCOLS retrieves transport protocols supported by the backup-manager operator\n- STOP-BACKUP cancels a certain backup task\n- REMOVE-FILE removes a specified backup from a storage\n\n### Databases\n\n- ~~ADD-DB creates database entry of the specified type, defining the webspace that will use it.~~\n- ~~DEL-DB removes database entry; If a database is used by an application installed on the server, it cannot be removed.~~\n- ~~GET-DB retrieves database parameters by the ID, webspace name or webspace ID.~~\n- ASSIGN-TO-SUBSCRIPTION moves a database to another subscription (webspace).\n- SET-DEFAULT-USER specifies a default database user that Plesk uses for accessing the database.\n- GET-DEFAULT-USER retrieves ID of administrator of a specified database.\n- ~~ADD-DB-USER creates a database user account for a specified database.~~\n- ~~DEL-DB-USER removes a database user account from a specified database.~~\n- ~~GET-DB-USERS retrieves the list of users of a specified database and information about access control records for MySQL databases.~~\n- ~~SET-DB-USER changes credentials of a database user and specifies hosts or IP addresses from which database users are allowed to connect to databases.~~\n\n### DNS\n\n- ADD_REC adds a DNS record of the specified type to the specified site zone\n- GET_REC retrieves information about certain DNS records\n- DEL_REC removes the specified DNS record(s)\n- GET_ACL retrieves access control lists (ACL) from the server\n- ADD_TO_ACL adds hosts to ACL\n- REMOVE_FROM_ACL removes hosts from ACL\n- SET updates the SOA record settings for the specified zone or zone template\n- GET retrieves the SOA record settings\n- SWITCH switches the DNS zone type between ‘master’ and ‘slave’\n- ADD_MASTER_SERVER adds a new master DNS server for the specified zone\n- GET_MASTER_SERVER retrieves the master server for the specified zone\n- DEL_MASTER_SERVER removes the master server for the specified zone\n- ENABLE enables the name server for the specified zone\n- DISABLE disables the name server for the specified site\n- ENABLE-REMOTE-DNS switches the DNS server to primary mode\n- DISABLE-REMOTE-DNS switches the DNS server to slave mode\n- GET-STATUS-REMOTE-DNS retrieves the status of the remote DNS server\n- SET-RECURSION sets up preferences of recursive requests to DNS server\n- GET-RECURSION retrieves the recursion preferences DNS server\n- GET-SUPPORTED-RECURSION retrieves the available types of recursion for the DNS server\n\n### FTP\n\n- ~~ADD creates FTP account on a site specified by its name or ID~~\n- SET changes properties of a specified FTP account\n- ~~DEL deletes FTP account from a specified site~~\n- GET retrieves information on properties of specified FTP accounts on particular sites\n\n### IP Address\n\n- ADD adds an IP address to Plesk server as shared or exclusive, specifying a netmask and server network interface\n- ~~GET retrieves the list of IP addresses available on the server~~\n- SET updates properties for IP addresses available on the server\n- DEL removes an IP address from Plesk server\n\n### Mail\n\n- CREATE creates a mail account on a specified site and sets a collection of settings for it\n- UPDATE serves to update mail account settings. It is specially designed to operate lists of mail group members, repository files, and automatic reply messages set for the mail account\n- GET_INFO serves to retrieve various information about the specified mail accounts from Plesk database\n- REMOVE removes the specified mail account and all its settings from Plesk database\n- ENABLE turns on the mail service on the specified site\n- DISABLE turns off the mail service on the specified site\n- SET_PREFS sets mail service preferences for the specified sites\n- GET_PREFS gets mail service preferences set for the specified sites\n- RENAME renames the specified mail box\n\n### Reseller Accounts\n\n- ADD creates a reseller account.\n- SET updates reseller account settings.\n- GET retrieves information on reseller accounts.\n- DEL removes reseller accounts.\n- IPPOOL-ADD-IP adds IP addresses to a reseller's IP pool.\n- IPPOOL-DEL-IP removes IP addresses from a reseller's IP pool.\n- IPPOOL-SET-IP changes type of IP addresses (shared/exclusive) in a reseller's IP pool.\n- CFORM-BUTTONS-LIST displays a buttons list for a reseller's home page.\n- GET-LIMIT-DESCRIPTOR retrieves reseller limit descriptor.\n- GET-PERMISSION-DESCRIPTOR retrieves reseller permission descriptor.\n- CONVERT-TO-CUSTOMER converts a reseller account into a customer account.\n- SWITCH-SUBSCRIPTION operation changes a reseller plan for a reseller account.\n- SYNC-SUBSCRIPTION operation rolls reseller account settings back to the values defined in an associated reseller plan.\n- ADD-PACKAGE includes an app in the specified reseller account.\n- REMOVE-PACKAGE excludes an app from the specified reseller account.\n- ENABLE-APS-FILTER excludes all apps from the specified reseller account.\n- DISABLE-APS-FILTER includes all available apps in the specified reseller account.\n- GET-DOMAIN-LIST retrieves information about all the reseller's domains.\n\n### Sites (Domains)\n\n- ~~ADD creates a site~~\n- ~~GET retrieves site settings~~\n- SET updates site settings\n- ~~DEL removes the specified alias from the site~~\n- CFORM_BUTTONS_LIST retrieves the list of custom buttons associated with given sites\n- GET_TRAFFIC retrieves information on traffic spent by the sites between two dates\n- SET_TRAFFIC sets information on traffic spent by the specified sites\n- GET-PHYSICAL-HOSTING-DESCRIPTOR retrieves descriptor of hosting settings\n\n### Site Aliases\n\n- CREATE creates an alias for the specified site\n- GET retrieves the alias settings for the alias specified by ID name, or the primary site ID, name\n- SET updates the alias settings for the alias specified by ID name, or the primary site ID, name\n- DELETE removes the specified alias from the site\n- RENAME renames the alias related to the specified site\n- GET-SUPPORTED-SERVICES retrieves the list of site alias supported services which can be managed on the server\n\n### SSL\n\n- INSTALL installs an SSL certificate to either Administrator's or specified webspace repository\n- REMOVE removes the certificate with a specified name\n- GENERATE generates a self-signed certificate\n- GET_POOL retrieves a list of certificates for specified webspaces or a list of certificates from Administrator's repository.\n\n### Subdomains\n\n- ~~ADD creates a subdomain.v\n- GET retrieves information on a specified subdomain from Plesk database.\n- SET changes subdomain settings.\n- ~~DEL removes a specified subdomain.~~\n- RENAME renames a specified subdomain.\n\n### Subscriptions (Webspaces)\n\n- ~~ADD creates a subscription and sets general information, hosting settings, limits, preferences~~\n- ~~GET retrieves information on subscriptions from Plesk database~~\n- SET updates subscription settings in Plesk database\n- ~~DEL removes subscriptions from Plesk database~~\n- CFORM_BUTTONS_LIST retrieves list of buttons displayed on the webspace\n- GET_TRAFFIC retrieves information on traffic spent by the site(s) between two dates\n- SET_TRAFFIC sets information on traffic spent by the specified sites(s)\n- GET-LIMIT-DESCRIPTOR retrieves descriptor of limits\n- GET-PERMISSION-DESCRIPTOR retrieves descriptor of permissions\n- GET-PHYSICAL-HOSTING-DESCRIPTOR retrieves descriptor of hosting settings\n- SWITCH-SUBSCRIPTION switches a subscription to a different service plan\n- SYNC-SUBSCRIPTION rolls back to settings defined by associated service plan\n- ADD-SUBSCRIPTION adds a add-on plan to a subscription\n- REMOVE-SUBSCRIPTION detaches an add-on plan from a subscription\n- SET-BILLING-INFO saves information required for Plesk Billing in Plesk database\n- ADD-PACKAGE adds an application to the specified subscription\n- REMOVE-PACKAGE removes an application from the specified subscription\n- ADD-PLAN-ITEM adds custom options of service plans (additional services) to the specified subscription\n- REMOVE-PLAN-ITEM removes custom options of service plans (additional services) from the specified subscription\n- ENABLE-APS-FILTER turns on applications list for specified subscriptions and makes available only added applications, by default all applications are available\n- DISABLE-APS-FILTER turns off applications list for specified subscriptions and makes available all applications\n- GET-CHANGED\n- DB_SERVERS manages the list of database servers available within the specified subscription\n\n### Virtual Directories\n\n- ~~CREATE creates a virtual directory for the specified physical directory.~~\n- UPDATE changes a virtual directory properties.\n- ~~REMOVE deletes a virtual directory.~~\n- GET retrieves information on a specified virtual directory from Plesk database.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc1982%2Fplesklib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc1982%2Fplesklib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc1982%2Fplesklib/lists"}