Seitenhierarchie
Zum Ende der Metadaten springen
Zum Anfang der Metadaten

URLhttps://123.123.123.123/map_module/maps/index.json?angular=true

Methode: GET

Response: JSON


Query Parameters:

Possible get parameter to get a filtered map list via REST API
"angular": true,
"direction": "desc",
"page": 1,
"sort": "Map.name",
"filter[Map.name]": null,
"filter[Map.title]": null,

Find map by name

URLhttps://123.123.123.123/map_module/maps/index.json?angular=true&filter[Map.name]=All+hosts

Methode: GET

Response: JSON

Response
{  
   "all_maps":[  
      {  
         "Map":{  
            "id":"1",
            "name":"All Hosts",
            "title":"All Hosts",
            "background":"79435948-cbb9-428c-8c27-1a9d0e0e92c7.png",
            "refresh_interval":"90000",
            "created":"2017-11-30 15:48:39",
            "modified":"2017-11-30 16:45:21",
            "allowEdit":true,
            "allowCopy":true
         },
         "Container":[  
            {  
               "id":"1",
               "MapsToContainer":{  
                  "id":"1",
                  "container_id":"1",
                  "map_id":"1"
               }
            }
         ]
      }
   ],
   "paging":{  
      "page":1,
      "current":1,
      "count":1,
      "prevPage":false,
      "nextPage":false,
      "pageCount":1,
      "order":{  
         "Map.name":"asc"
      },
      "limit":25,
      "options":[  

      ],
      "paramType":"named",
      "queryScope":null
   }
}


Find map by title

URL: https://123.123.123.123/map_module/maps/index.json?angular=true&filter[Map.title]=All+hosts

Methode: GET

Response: JSON

Same response as shown above.


  • Keine Stichwörter