Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Changed ambiguous asset resource endpoint path

Christian Bauerc2e09b8e9fd1
diff --git a/manager/shared/src/main/java/org/openremote/manager/shared/asset/AssetResource.java b/manager/shared/src/main/java/org/openremote/manager/shared/asset/AssetResource.java
index 779be763f..7e5d21d7d 100644
--- a/manager/shared/src/main/java/org/openremote/manager/shared/asset/AssetResource.java
+++ b/manager/shared/src/main/java/org/openremote/manager/shared/asset/AssetResource.java
@@ -45,12 +45,12 @@ import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
public interface AssetResource {
/**
- * Retrieve the (restricted) home assets of an authenticated user. If the request is made by the superuser,
- * or if the regular user making the request is not restricted to home assets, the root assets of the
- * authenticated realm will be returned.
+ * Retrieve the (restricted) home assets of the currently authenticated user. If the request is made
+ * by the superuser, or if the regular user making the request is not restricted to home assets, the
+ * root assets of the authenticated realm will be returned.
*/
@GET
- @Path("home")
+ @Path("home/current")
@Produces(APPLICATION_JSON)
@SuccessStatusCode(200)
@RolesAllowed({"read:assets"})