From 0ffca0008e0853f518eb97aa759d68387cca91de Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 14 Jul 2022 15:48:36 +0200 Subject: [PATCH] Fixed comments with examples --- .../resourceregistry/rest/Access.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java index 7c969e6..79bf40a 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java @@ -310,28 +310,27 @@ public class Access extends BaseRest { } /* - * /access/query/{RESOURCE_TYPE_NAME}/{RELATION_TYPE_NAME}/{ENTITY_TYPE_NAME}[?reference={REFERENCE_ENTITY_UUID}&polymorphic=true&direction=out] + * /access/query/{RESOURCE_TYPE_NAME}/{RELATION_TYPE_NAME}/{ENTITY_TYPE_NAME}[?_reference={REFERENCE_ENTITY_UUID}&_polymorphic=true&_direction=out] * * e.g. * All the EService identified By a SoftwareFacet : - * GET /access/query/EService/isIdentifiedBy/SoftwareFacet?polymorphic=true&direction=out + * GET /access/query/EService/isIdentifiedBy/SoftwareFacet?_polymorphic=true&_direction=out * * All the EService identified By the SoftwareFacet with UUID 7bc997c3-d005-40ff-b9ed-c4b6a35851f1 : - * GET /access/query/EService/isIdentifiedBy/SoftwareFacet?reference=7bc997c3-d005-40ff-b9ed-c4b6a35851f1&polymorphic=true&direction=out + * GET /access/query/EService/isIdentifiedBy/SoftwareFacet?_reference=7bc997c3-d005-40ff-b9ed-c4b6a35851f1&_polymorphic=true&_direction=out * * All the Resources identified By a ContactFacet : - * GET /access/query/Resource/isIdentifiedBy/ContactFacet?polymorphic=true&direction=out + * GET /access/query/Resource/isIdentifiedBy/ContactFacet?_polymorphic=true&_direction=out * * All the Resources with a ContactFacet : - * /access/query/Resource/ConsistsOf/ContactFacet?polymorphic=true&direction=out + * /access/query/Resource/ConsistsOf/ContactFacet?_polymorphic=true&_direction=out * * All the Eservice having an incoming (IN) Hosts relation with an HostingNode (i.e. all smartgears services) - * GET /access/query/EService/Hosts/HostingNode?polymorphic=true&direction=in + * GET /access/query/EService/Hosts/HostingNode?_polymorphic=true&_direction=in * * All the Eservice having an incoming (IN) Hosts relation (i.e. hosted by) the HostingNode with UUID * 16032d09-3823-444e-a1ff-a67de4f350a - * - * GET /access/query/EService/hosts/HostingNode?reference=16032d09-3823-444e-a1ff-a67de4f350a8&polymorphic=true&direction=in + * * GET /access/query/EService/hosts/HostingNode?_reference=16032d09-3823-444e-a1ff-a67de4f350a8&_polymorphic=true&_direction=in * */ @SuppressWarnings({"rawtypes"})