• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question How to create new API endpoint of my custom extension?

tuend

New Pleskian
Hi,

I'm building an Plesk Extension with some special action. It working very nice with Plesk UI. Now i want to call that actionvia Plesk API. How can i do that? Can you give me some document like: Create new API endpoint of extension,...?

Thank you verymuch.
 
Thank for reply.
i'm using PHP app, and i want to call to Plesk Custom API Endpoints like: https://<myIP>:8443/api/v2/{my_extension_name}/{actions}.
{actions} is some custom action like create, delete, do some function....

when i type this command on SSH connection: plesk ext {my_extension_name} --h
it respon this error: "The support for the command-line interface is not implemented in {my_extension_name}"
How can i do all that??
 
Back
Top