File tree Expand file tree Collapse file tree 1 file changed +0
-54
lines changed Expand file tree Collapse file tree 1 file changed +0
-54
lines changed Original file line number Diff line number Diff line change @@ -78,57 +78,3 @@ http://localhost:3000/gtt/settings.json
78
78
]
79
79
}
80
80
```
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
- ```
You can’t perform that action at this time.
0 commit comments