Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Querying Path Details

Updated on 2022-09-14 GMT+08:00
You can use a specific API provided by GES to query path details. The sample code is as follows:
public static void getPathDetail(GraphClient graphClient) throws ApiException 
{
     PathDetailReq pathDetailReq = new PathDetailReq();
     pathDetailReq.setDirected(true);
     List<List<String>> paths = new ArrayList();
     List<String> path1 = new ArrayList();
     path1.add("38");
     path1.add("0");
     List<String> path2 = new ArrayList();
     path2.add("35");
     path2.add("40");
     paths.add(path1);
     paths.add(path2);
     pathDetailReq.setPaths(paths);
     Map<String, Object> result = graphClient.getPathDetail(pathDetailReq);
     System.out.println(MapUtils.map2json(result));
}
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback