Iker Posted January 23, 2023 Share Posted January 23, 2023 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. Quote Link to comment
SimonF Posted January 23, 2023 Share Posted January 23, 2023 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? Quote Link to comment
Iker Posted January 23, 2023 Author Share Posted January 23, 2023 (edited) 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 January 23, 2023 by Iker Quote Link to comment
Recommended Posts
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.