api: consolidate paths
supports 3 sets of endpoint patterns:
-
/api/v1/<resource>
(to be deprecated) -
/api/v1/tool/<toolname>/<resource>
(to be deprecated) -
/v1/tool/<toolname>/<resource>
(new pattern) - tests/docs/openapi spec only support the new pattern
Bug: T365014
Edited by Slavina Stefanova