@TimedResource @GET @Path("/{customFieldId:" + UUID_PATTERN + "}/" + AUDIT_LOG_WITH_HISTORY) @Produces(APPLICATION_JSON) @ApiOperation(value = "Retrieve custom field audit logs with history by id", response = AuditLogJson.class, responseContainer = "List") @ApiResponses(value = {@ApiResponse(code = 404, message = "Account not found")}) public Response getCustomFieldAuditLogsWithHistory(@PathParam("customFieldId") final UUID customFieldId, @javax.ws.rs.core.Context final HttpServletRequest request) throws AccountApiException { final TenantContext tenantContext = context.createTenantContextNoAccountId(request); final List<AuditLogWithHistory> auditLogWithHistory = customFieldUserApi.getCustomFieldAuditLogsWithHistoryForId(customFieldId, AuditLevel.FULL, tenantContext); return Response.status(Status.OK).entity(getAuditLogsWithHistory(auditLogWithHistory)).build(); } }