You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -73,7 +78,6 @@ public AttachmentRest(ProcessService processService,
73
78
}
74
79
75
80
@POST
76
-
@Path("/attachment/newDoc")
77
81
@RolesAllowed("users")
78
82
@Produces(MediaType.APPLICATION_JSON)
79
83
@Operation(
@@ -130,7 +134,7 @@ public Response createNewFormDocument(@Parameter(description = "title", required
130
134
}
131
135
132
136
@GET
133
-
@Path("/illustration/{workflowId}")
137
+
@Path("/{workflowId}")
134
138
@RolesAllowed("users")
135
139
@Operation(
136
140
summary = "Gets a workflow illustration image by its id",
@@ -184,4 +188,41 @@ public Response getImageIllustration(@Context Request request,
184
188
returnResponse.serverError().build();
185
189
}
186
190
}
191
+
@GET
192
+
@Path( "/attachement/{entityType}/{entityId}")
193
+
@Produces(MediaType.APPLICATION_JSON)
194
+
@Operation(summary = "Get list of attachments linked to an entity", method = "GET", description = "Get the list of attachments linked to the given entity")
0 commit comments