ev-server icon indicating copy to clipboard operation
ev-server copied to clipboard

PUT /api/tags/{id} - Confusing REST endpoint

Open ClaudeROSSI opened this issue 2 years ago • 2 comments

The endpoint to assign a Tag to a user cannot be used by the admin. The admin must modify the tag instead via the endpoint below:

image.png

However, the code is confusing to me. Why do we expect the ID in the body while we already have it in the URL?

image.png

ClaudeROSSI avatar Jun 30 '22 05:06 ClaudeROSSI