Fixed REST path

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141575 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-01-13 17:16:41 +00:00
parent 3c21a3eda5
commit 1ea16a59bc
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public class Access {
*/
@SuppressWarnings({ "rawtypes" })
@GET
@Path(AccessPath.INSTANCE_PATH_PART + "s/" + "{" + TYPE_PATH_PARAM + "}")
@Path(AccessPath.INSTANCES_PATH_PART + "{" + TYPE_PATH_PARAM + "}")
@Produces(MediaType.APPLICATION_JSON)
public String getInstances(@PathParam(TYPE_PATH_PARAM) String type,
@QueryParam(AccessPath.POLYMORPHIC_PARAM) Boolean polymorphic,