final String targetId = getRequiredParameter(request, "targetId");
final String edgeId = getRequiredParameter(request, "edgeId");
String workspaceId = getActiveWorkspaceId(request);
User user = getUser(request);
Authorizations authorizations = getAuthorizations(request, user);
Vertex sourceVertex = graph.getVertex(sourceId, authorizations);
Vertex destVertex = graph.getVertex(targetId, authorizations);
Edge edge = graph.getEdge(edgeId, authorizations);