Skip to content

Commit 9b08a52

Browse files
sanakdkastl
authored andcommitted
Delete 'Project Level API Endpoint' section in doc/api.md once
1 parent 05d52a3 commit 9b08a52

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

doc/api.md

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -78,57 +78,3 @@ http://localhost:3000/gtt/settings.json
7878
]
7979
}
8080
```
81-
82-
## Project Level API Endpoint
83-
84-
### Project settings API Endpoint
85-
86-
```text
87-
GET /projects/{project_identifier}.json
88-
```
89-
90-
Get project and selected GTT layer data of a specific project.
91-
92-
***Request***
93-
94-
```text
95-
http://localhost:3000/projects/1.json
96-
```
97-
98-
***Response***
99-
100-
```json
101-
{
102-
"project": {
103-
"id": 1,
104-
"name": "My Project ",
105-
"identifier": "my-project",
106-
"description": "",
107-
"homepage": "",
108-
"status": 1,
109-
"is_public": false,
110-
"geojson": "",
111-
"gttLayer": [
112-
{
113-
"id": 1,
114-
"name": "OSM",
115-
"type": "ol.source.OSM",
116-
"options": {
117-
"url": "https://tile.openstreetmap.jp/{z}/{x}/{y}.png",
118-
"custom": "17/34.74701/135.35740",
119-
"crossOrigin": null,
120-
"attributions": "<a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>"
121-
},
122-
"created_at": "2022-06-29T09:07:12.574Z",
123-
"updated_at": "2022-07-05T07:33:09.237Z",
124-
"global": true,
125-
"default": true,
126-
"position": 0,
127-
"baselayer": true
128-
}
129-
],
130-
"created_on": "2022-06-29T09:08:38Z",
131-
"updated_on": "2022-06-29T09:08:38Z"
132-
}
133-
}
134-
```

0 commit comments

Comments
 (0)