Github user sjcorbett commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/729#discussion_r33947419
  
    --- Diff: usage/rest-api/src/main/java/brooklyn/rest/api/CatalogApi.java ---
    @@ -180,15 +180,15 @@ public CatalogEntitySummary getEntity(
             @PathParam("entityId") String entityId) throws Exception;
     
         @GET
    -    @Path("/entities/{entityId}/{version}")
    +    @Path("/entities/{symbolicName}/{version}")
         @ApiOperation(value = "Fetch a specific version of an entity's 
definition from the catalog", responseClass = "CatalogEntitySummary", 
multiValueResponse = true)
         @ApiErrors(value = {
             @ApiError(code = 404, reason = "Entity not found")
         })
         public CatalogEntitySummary getEntity(
    -        @ApiParam(name = "entityId", value = "The ID of the entity or 
template to retrieve", required = true)
    -        @PathParam("entityId") String entityId,
    -        
    +        @ApiParam(name = "symbolicName", value = "The symbolic name of the 
entity or template to retrieve", required = true)
    +        @PathParam("symbolicName") String symbolicName,
    +
    --- End diff --
    
    Surplus line


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to