{"_id":"58aad9de8f862f250076fa24","__v":0,"parentDoc":null,"user":"54aa7f3f9bb00c0b00cb899b","category":{"_id":"58aad9dd8f862f250076f9f6","version":"58aad9dd8f862f250076f9f4","project":"54aa7f773b56130b0056c86e","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T23:47:10.058Z","from_sync":false,"order":2,"slug":"pulsate-cms-api","title":"Pulsate CMS API"},"version":{"_id":"58aad9dd8f862f250076f9f4","project":"54aa7f773b56130b0056c86e","__v":2,"createdAt":"2017-02-20T11:58:21.765Z","releaseDate":"2017-02-20T11:58:21.765Z","categories":["58aad9dd8f862f250076f9f5","58aad9dd8f862f250076f9f6","58aad9dd8f862f250076f9f7","58aad9dd8f862f250076f9f8","58aad9dd8f862f250076f9f9","58aad9dd8f862f250076f9fa","58aad9dd8f862f250076f9fb","58ac26b3d460ce2500185d26"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"Locate","version_clean":"6.0.0","version":"6.0"},"project":"54aa7f773b56130b0056c86e","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-18T08:36:11.902Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"shell","code":"curl -X GET \"https://control.pulsatehq.com/api/v1/apps/$APP_ID/geofences\" \\\n-H \"Authorization: Token token=$MY_ADMIN_API_TOKEN\"","name":""}]},"method":"get","results":{"codes":[{"name":"","status":200,"language":"json","code":"[\n  {\n    \"guid\": \"NDua9qkA\",\n    \"name\": \"pekao\",\n    \"path\": [\n      [\n        50.04685364613726,\n        19.923255443572998\n      ],\n      [\n        50.045082976079016,\n        19.92446780204773\n      ],\n      [\n        50.04431130176547,\n        19.92117404937744\n      ],\n      [\n        50.04633003066532,\n        19.920047521591187\n      ]\n    ],\n    \"radius\": null,\n    \"shape\": \"polygon\",\n    \"type\": \"enter\",\n    \"location\": [\n      50.04685364613726,\n      19.923255443572998\n    ],\n    \"id\": \"5859194a636f6e9a51920300\"\n  }\n]"}]},"settings":"564bbbf80cbcc91700b8171c","auth":"required","params":[{"_id":"57ff8219c135231700aed827","ref":"","in":"path","required":true,"desc":"App Id","default":"","type":"string","name":"app_id"},{"_id":"564c387b9baa330d00faa623","ref":"","in":"query","required":false,"desc":"Number of the page to be fetched","default":"1","type":"int","name":"page"}],"url":"/apps/:app_id/geofences"},"isReference":true,"order":14,"body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Geofences are fetched in batches, 100 per batch.\",\n  \"title\": \"Geofence Paging\"\n}\n[/block]","excerpt":"","slug":"geofences-fetch-all","type":"endpoint","title":"Geofences: Get All (index)"}

getGeofences: Get All (index)


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

app_id:
required
string
App Id

Query Params

page:
integer1
Number of the page to be fetched

Examples


Result Format


Documentation

[block:callout] { "type": "info", "body": "Geofences are fetched in batches, 100 per batch.", "title": "Geofence Paging" } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}