Pois
Name | Description |
---|---|
v | Version to be used, 1 or 2 (default 1) |
latitude | User latitude |
longitude | User longitude |
distance | Distance from GPS coordinates from which POI should be found |
category_ids | Comma separated category_ids |
partners_filters | Comma separated partners (either donations or volunteers) |
query | Filter POI by name |
no_redirect | no redirect |
Content-Type: application/json Host: example.org Cookie:
GET /api/v1/pois?v=1&latitude=48.870424&longitude=2.30681949999996&category_ids=2
v: 1 latitude: 48.870424 longitude: 2.30681949999996 category_ids: 2
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/"d694d4a598dff2f4a3a884a0255e4a66" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: f271a99c-14e3-41df-a56e-da56760b8b10 X-Runtime: 0.009235 Content-Length: 375
200 OK
{ "pois": [ { "id": 2, "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": 2, "partner_id": null, "category": { "id": 2, "name": "Categorie 2" } } ], "categories": [ { "id": 2, "name": "Categorie 2" } ] }