The Command Manager API currently exposes a single endpoint that listens to POST request on the /_plugins/_commandmanager path. This endpoint does not completely fit the Restful conventions as there is explicit mention to the resource, in this case commands.
We need to add the resource as part of the endpoint path, and manage it consistently. Also, we can improve the readability of the plugin base URI.
Description
The Command Manager API currently exposes a single endpoint that listens to POST request on the
/_plugins/_commandmanager
path. This endpoint does not completely fit the Restful conventions as there is explicit mention to the resource, in this casecommands
.We need to add the resource as part of the endpoint path, and manage it consistently. Also, we can improve the readability of the plugin base URI.
https://restfulapi.net/resource-naming/