Support the same "root paths" defined in different plugins

Description

Currently each rest entry defined in — atlassian-plugin.xml has to define its unique key. It is then accessible from the path — <product_URL>/rest/<rest_key>/<rest_version>/.... Keys have to be unique across whole product. It means that it is not possible to have two (or more) plugins that expose their REST API from the single root.

Idea

It should be possible to bound REST resources from multiple plugins under single root path.

Why

Let's say we have some general plugin (for all products) with defined REST API to handle some resources. We then create another plugin which adds some functionality to operate on the same type of resources. Since we are effectively creating REST API extensions they could be accessible from the same root path.

Environment

None

Testing Notes

Add notes...

Assignee

Unassigned

Reporter

Marek Tokarski

Add-on Type

Server