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 List API

Projects List API · Changes

Page history
Update Projects List API authored Aug 22, 2022 by Robert de Vries's avatar Robert de Vries
Show whitespace changes
Inline Side-by-side
Projects-List-API.md
View page @ 8903bac1
...@@ -64,6 +64,7 @@ Each entry in the response body is structured as follows. ...@@ -64,6 +64,7 @@ Each entry in the response body is structured as follows.
| `id` | `int` | ID of the project. | `"1128"` | | `id` | `int` | ID of the project. | `"1128"` |
| `latitude` | `Decimal` | Latitude of the project location. | `53.1886` | | `latitude` | `Decimal` | Latitude of the project location. | `53.1886` |
| `longitude` | `Decimal` | Longitude of the project location. | `6.95661` | | `longitude` | `Decimal` | Longitude of the project location. | `6.95661` |
| `polygon` | `str` | List of coords separated by a comma. | `"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"` | | `title` | `str` | Title of the project. | `"Groen dak ziekenhuis Ommelander"` |
| `categories` | `Category[]` | A list of categories this project was assigned to. Please refer to the table below for more information. | N/A | | `categories` | `Category[]` | A list of categories this project was assigned to. Please refer to the table below for more information. | N/A |
| `url` | `str` | URL to the public project detail page. | `"https://www.climatescan.org/projects/1128/detail"` | | `url` | `str` | URL to the public project detail page. | `"https://www.climatescan.org/projects/1128/detail"` |
...@@ -79,6 +80,7 @@ Content-Type: application/json ...@@ -79,6 +80,7 @@ Content-Type: application/json
"id": "6186", "id": "6186",
"latitude": 52.4844, "latitude": 52.4844,
"longitude": 11.5039, "longitude": 11.5039,
"polygon": "53.698235 13.599548,49.326805 18.169861,51.728627 7.798767,53.698235 13.599548",
"title": "Awesome project", "title": "Awesome project",
"categories": [ "categories": [
{ {
......
Clone repository

API documentation

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