Plugin API Endpoints


Iker

Recommended Posts

Hi guys, is it possible to develop a plugin with multiple endpoints? I want to expose multiple endpoints for ZFS administration programmatically. However, I need help finding a proper way to do this. And in the other hand, I prefer to avoid creating a separate docker container for this.

Link to comment
2 hours ago, Iker said:

Hi guys, is it possible to develop a plugin with multiple endpoints? I want to expose multiple endpoints for ZFS administration programmatically. However, I need help finding a proper way to do this. And in the other hand, I prefer to avoid creating a separate docker container for this.

Can you provide examples of the endpoints and what is expected to be returned?

Link to comment

Not returned, but created by a plugin.

 

Endpoints Example:

 

https://unradiserver/Main/ZFS/dataset - Accepts PUT, GET and DELETE Request
https://unradiserver/Main/ZFS/snapshot - Accepts PUT, GET and DELETE Request
https://unradiserver/Main/ZFS/pool - Accepts GET and DELETE Request

 

Edited by Iker
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.