Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • ClimateScan Documentation ClimateScan Documentation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Climatescan
  • ClimateScan DocumentationClimateScan Documentation
  • Wiki
  • Projects Nearby List API

Projects Nearby List API · Changes

Page history
Update Projects Nearby List API authored Aug 22, 2022 by Robert de Vries's avatar Robert de Vries
Hide whitespace changes
Inline Side-by-side
Projects-Nearby-List-API.md
View page @ 310300c5
......@@ -42,6 +42,7 @@ Each entry in the response body is structured as follows.
| `id` | `int` | ID of the project. | `"1128"` |
| `latitude` | `Decimal` | Latitude of the project location. | `"53.1886"` |
| `longitude` | `Decimal` | Longitude of the project location. | `"6.95661"` |
| `polygon` | `str` or `null` | List of coords separated by a comma. For projects with a point instead of a polygon, this field may be `null`. | `"53.698235 13.599548,49.326805 18.169861,51.728627 7.798767,53.698235 13.599548"` |
| `title` | `str` | Title of the project. | `"Groen dak ziekenhuis Ommelander"` |
| `distance_km` | `Decimal` | The distance in kilometers from the provided location to the project's location. | `"1.7165"` |
......@@ -56,12 +57,14 @@ Content-Type: application/json
"id": "1128",
"latitude": "53.1886",
"longitude": "6.95661",
"polygon": "53.698235 13.599548,49.326805 18.169861,51.728627 7.798767,53.698235 13.599548",
"title": "Groen dak ziekenhuis Ommelander",
"distance_km": "1.7165819419633226"
}, {
"id": "5595",
"latitude": "53.171",
"longitude": "7.0294",
"polygon": null,
"title": "Blauwestad - Water Retention",
"distance_km": "3.845773889264074"
},
......
Clone repository

API documentation

  • User: Login API
  • Category: List API
  • Projects: List API
  • Projects: Nearby API
  • Projects: Create API