I am planning to implement rest API which are actions like
/uptime?hosts=h1,h2,h3
/reboot?host=h1,h2,h3
/hoststatus?host=h1
What is the best way to design the endpoint with action. In all the rest design patterns/documents I see endpoint should be resources (noun) but in my case I have actions need to be performed on list of host.
Aucun commentaire:
Enregistrer un commentaire