Pois map
Name | Description |
---|---|
token | User token |
limit | per |
distance | Distance |
latitude | Latitude |
longitude | Longitude |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/map?token=foobar75
token: foobar75
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY Content-Type: application/json; charset=utf-8 ETag: W/"74ba3f72daf4b8d291e7c5c3a2e84e57" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 1d8771c1-4550-4e4e-9155-240670ad2c25 X-Runtime: 0.010884 Content-Length: 375
200 OK
{ "pois": [ { "id": 1, "name": "Dede", "description": null, "longitude": 2.30681949999996, "latitude": 48.870424, "adress": "Au 50 75008 Paris", "phone": "0000000000", "website": "entourage.com", "email": "entourage@entourage.com", "audience": "Mon audience", "validated": true, "category_id": 1, "partner_id": null, "category": { "id": 1, "name": "Categorie 1" } } ], "categories": [ { "id": 1, "name": "Categorie 1" } ] }