add: tags_STR endpoint with GET and DELETE
This commit is contained in:
parent
4614ba50ac
commit
cb0614cf8c
6 changed files with 131 additions and 1 deletions
src
|
@ -79,6 +79,8 @@ router_init()
|
|||
router_register_endpoint("/api/v1/relays/tag/{str}", HTTP_METHOD_GET, api_v1_relays_tag_STR_GET);
|
||||
|
||||
router_register_endpoint("/api/v1/tags/", HTTP_METHOD_GET, api_v1_tags_GET);
|
||||
router_register_endpoint("/api/v1/tags/{str}", HTTP_METHOD_GET, api_v1_tags_STR_GET);
|
||||
router_register_endpoint("/api/v1/tags/{str}", HTTP_METHOD_DELETE, api_v1_tags_STR_DELETE);
|
||||
}
|
||||
|
||||
endpoint_t*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue