1+ {
2+ "info" : {
3+ "_postman_id" : " ca9d0979-4035-45ad-bfba-582a680a05ab" ,
4+ "name" : " stac-fastapi-elasticsearch" ,
5+ "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+ },
7+ "item" : [
8+ {
9+ "name" : " GET root catalog" ,
10+ "request" : {
11+ "method" : " GET" ,
12+ "header" : [],
13+ "url" : {
14+ "raw" : " http://localhost:8083/" ,
15+ "protocol" : " http" ,
16+ "host" : [
17+ " localhost"
18+ ],
19+ "port" : " 8083" ,
20+ "path" : [
21+ " "
22+ ]
23+ }
24+ },
25+ "response" : []
26+ },
27+ {
28+ "name" : " GET collections" ,
29+ "request" : {
30+ "method" : " GET" ,
31+ "header" : [],
32+ "url" : {
33+ "raw" : " http://localhost:8083/collections" ,
34+ "protocol" : " http" ,
35+ "host" : [
36+ " localhost"
37+ ],
38+ "port" : " 8083" ,
39+ "path" : [
40+ " collections"
41+ ]
42+ }
43+ },
44+ "response" : []
45+ },
46+ {
47+ "name" : " DELETE collection" ,
48+ "request" : {
49+ "method" : " DELETE" ,
50+ "header" : [],
51+ "url" : {
52+ "raw" : " http://localhost:8083/collections/test-collection" ,
53+ "protocol" : " http" ,
54+ "host" : [
55+ " localhost"
56+ ],
57+ "port" : " 8083" ,
58+ "path" : [
59+ " collections" ,
60+ " test-collection"
61+ ]
62+ }
63+ },
64+ "response" : []
65+ },
66+ {
67+ "name" : " DELETE item" ,
68+ "request" : {
69+ "method" : " DELETE" ,
70+ "header" : [],
71+ "url" : {
72+ "raw" : " http://localhost:8083/collections/test-collection/items/test-item" ,
73+ "protocol" : " http" ,
74+ "host" : [
75+ " localhost"
76+ ],
77+ "port" : " 8083" ,
78+ "path" : [
79+ " collections" ,
80+ " test-collection" ,
81+ " items" ,
82+ " test-item"
83+ ]
84+ }
85+ },
86+ "response" : []
87+ },
88+ {
89+ "name" : " GET collection" ,
90+ "request" : {
91+ "method" : " GET" ,
92+ "header" : [],
93+ "url" : {
94+ "raw" : " http://localhost:8083/collections/test-collection" ,
95+ "protocol" : " http" ,
96+ "host" : [
97+ " localhost"
98+ ],
99+ "port" : " 8083" ,
100+ "path" : [
101+ " collections" ,
102+ " test-collection"
103+ ]
104+ }
105+ },
106+ "response" : []
107+ },
108+ {
109+ "name" : " GET item collection" ,
110+ "request" : {
111+ "method" : " GET" ,
112+ "header" : [],
113+ "url" : {
114+ "raw" : " http://localhost:8083/collections/test-collection/items" ,
115+ "protocol" : " http" ,
116+ "host" : [
117+ " localhost"
118+ ],
119+ "port" : " 8083" ,
120+ "path" : [
121+ " collections" ,
122+ " test-collection" ,
123+ " items"
124+ ]
125+ }
126+ },
127+ "response" : []
128+ },
129+ {
130+ "name" : " GET item" ,
131+ "request" : {
132+ "method" : " GET" ,
133+ "header" : [],
134+ "url" : {
135+ "raw" : " http://localhost:8083/collections/test-collection/items/test-item" ,
136+ "protocol" : " http" ,
137+ "host" : [
138+ " localhost"
139+ ],
140+ "port" : " 8083" ,
141+ "path" : [
142+ " collections" ,
143+ " test-collection" ,
144+ " items" ,
145+ " test-item"
146+ ]
147+ }
148+ },
149+ "response" : []
150+ },
151+ {
152+ "name" : " CREATE new collection" ,
153+ "protocolProfileBehavior" : {
154+ "disabledSystemHeaders" : {
155+ "content-type" : true
156+ }
157+ },
158+ "request" : {
159+ "method" : " POST" ,
160+ "header" : [
161+ {
162+ "key" : " Content-Type" ,
163+ "value" : " application/json" ,
164+ "type" : " default"
165+ }
166+ ],
167+ "body" : {
168+ "mode" : " raw" ,
169+ "raw": "{\n \"id\": \"test-collection\",\n \"stac_extensions\": [\"https://stac-extensions.github.io/eo/v1.0.0/schema.json\"],\n \"type\": \"Collection\",\n \"description\": \"Landat 8 imagery radiometrically calibrated and orthorectified using gound points and Digital Elevation Model (DEM) data to correct relief displacement.\",\n \"stac_version\": \"1.0.0\",\n \"summaries\": {\n \"platform\": [\"landsat-8\"],\n \"instruments\": [\"oli\", \"tirs\"],\n \"gsd\": [30]\n },\n \"extent\": {\n \"spatial\": {\n \"bbox\": [\n [\n -180.0,\n -90.0,\n 180.0,\n 90.0\n ]\n ]\n },\n \"temporal\": {\n \"interval\": [\n [\n \"2013-06-01\",\n null\n ]\n ]\n }\n },\n \"links\": [\n {\n \"href\": \"http://localhost:8081/collections/landsat-8-l1\",\n \"rel\": \"self\",\n \"type\": \"application/json\"\n },\n {\n \"href\": \"http://localhost:8081/\",\n \"rel\": \"parent\",\n \"type\": \"application/json\"\n },\n {\n \"href\": \"http://localhost:8081/collections/landsat-8-l1/items\",\n \"rel\": \"item\",\n \"type\": \"application/geo+json\"\n },\n {\n \"href\": \"http://localhost:8081/\",\n \"rel\": \"root\",\n \"type\": \"application/json\"\n }\n ],\n \"title\": \"Landsat 8 L1\",\n \"keywords\": [\n \"landsat\",\n \"earth observation\",\n \"usgs\"\n ]\n}"
170+ },
171+ "url" : {
172+ "raw" : " http://localhost:8083/collections" ,
173+ "protocol" : " http" ,
174+ "host" : [
175+ " localhost"
176+ ],
177+ "port" : " 8083" ,
178+ "path" : [
179+ " collections"
180+ ]
181+ }
182+ },
183+ "response" : []
184+ },
185+ {
186+ "name" : " CREATE new item" ,
187+ "protocolProfileBehavior" : {
188+ "disabledSystemHeaders" : {
189+ "content-type" : true
190+ }
191+ },
192+ "request" : {
193+ "method" : " POST" ,
194+ "header" : [
195+ {
196+ "key" : " Content-Type" ,
197+ "value" : " application/json" ,
198+ "type" : " default"
199+ }
200+ ],
201+ "body" : {
202+ "mode" : " raw" ,
203+ "raw": "{\n \"type\": \"Feature\",\n \"id\": \"test-item\",\n \"stac_version\": \"1.0.0\",\n \"stac_extensions\": [\n \"https://stac-extensions.github.io/eo/v1.0.0/schema.json\",\n \"https://stac-extensions.github.io/projection/v1.0.0/schema.json\"\n ],\n \"geometry\": {\n \"coordinates\": [\n [\n [\n 152.15052873427666,\n -33.82243006904891\n ],\n [\n 150.1000346138806,\n -34.257132625788756\n ],\n [\n 149.5776607193635,\n -32.514709769700254\n ],\n [\n 151.6262528041627,\n -32.08081674221862\n ],\n [\n 152.15052873427666,\n -33.82243006904891\n ]\n ]\n ],\n \"type\": \"Polygon\"\n },\n \"properties\": {\n \"datetime\": \"2018-02-12T12:30:22Z\",\n \"landsat:scene_id\": \"LC82081612020043LGN00\",\n \"landsat:row\": \"161\",\n \"gsd\": 15,\n \"landsat:revision\": \"00\",\n \"view:sun_azimuth\": -148.83296771,\n \"instrument\": \"OLI_TIRS\",\n \"landsat:product_id\": \"LC08_L1GT_208161_20200212_20200212_01_RT\",\n \"eo:cloud_cover\": 0,\n \"landsat:tier\": \"RT\",\n \"landsat:processing_level\": \"L1GT\",\n \"landsat:column\": \"208\",\n \"platform\": \"landsat-8\",\n \"proj:epsg\": 32756,\n \"view:sun_elevation\": -37.30791534,\n \"view:off_nadir\": 0,\n \"height\": 2500,\n \"width\": 2500\n },\n \"bbox\": [\n 149.57574,\n -34.25796,\n 152.15194,\n -32.07915\n ],\n \"collection\": \"test-collection\",\n \"assets\": {},\n \"links\": [\n {\n \"href\": \"http://localhost:8081/collections/landsat-8-l1/items/LC82081612020043\",\n \"rel\": \"self\",\n \"type\": \"application/geo+json\"\n },\n {\n \"href\": \"http://localhost:8081/collections/landsat-8-l1\",\n \"rel\": \"parent\",\n \"type\": \"application/json\"\n },\n {\n \"href\": \"http://localhost:8081/collections/landsat-8-l1\",\n \"rel\": \"collection\",\n \"type\": \"application/json\"\n },\n {\n \"href\": \"http://localhost:8081/\",\n \"rel\": \"root\",\n \"type\": \"application/json\"\n }\n ]\n}"
204+ },
205+ "url" : {
206+ "raw" : " http://localhost:8083/collections/test-collection/items" ,
207+ "protocol" : " http" ,
208+ "host" : [
209+ " localhost"
210+ ],
211+ "port" : " 8083" ,
212+ "path" : [
213+ " collections" ,
214+ " test-collection" ,
215+ " items"
216+ ]
217+ }
218+ },
219+ "response" : []
220+ },
221+ {
222+ "name" : " POST search <point intersection>" ,
223+ "protocolProfileBehavior" : {
224+ "disabledSystemHeaders" : {
225+ "content-type" : true
226+ }
227+ },
228+ "request" : {
229+ "method" : " POST" ,
230+ "header" : [
231+ {
232+ "key" : " Content-Type" ,
233+ "value" : " application/json" ,
234+ "type" : " default"
235+ }
236+ ],
237+ "body" : {
238+ "mode" : " raw" ,
239+ "raw" : " {\n \" collections\" :[\" test-collection\" ],\n \" intersects\" :{\" type\" : \" Point\" , \" coordinates\" : [150.04, -33.14]}\n }"
240+ },
241+ "url" : {
242+ "raw" : " http://localhost:8083/search" ,
243+ "protocol" : " http" ,
244+ "host" : [
245+ " localhost"
246+ ],
247+ "port" : " 8083" ,
248+ "path" : [
249+ " search"
250+ ]
251+ }
252+ },
253+ "response" : []
254+ },
255+ {
256+ "name" : " POST search <bbox>" ,
257+ "protocolProfileBehavior" : {
258+ "disabledSystemHeaders" : {
259+ "content-type" : true
260+ }
261+ },
262+ "request" : {
263+ "method" : " POST" ,
264+ "header" : [
265+ {
266+ "key" : " Content-Type" ,
267+ "value" : " application/json" ,
268+ "type" : " default"
269+ }
270+ ],
271+ "body" : {
272+ "mode" : " raw" ,
273+ "raw" : " {\n \" collections\" :[\" sentinel-s2-l2a\" ],\n \" bbox\" : [-69.433594,-10.660608,-47.285156,3.513421]\n }"
274+ },
275+ "url" : {
276+ "raw" : " http://localhost:8083/search" ,
277+ "protocol" : " http" ,
278+ "host" : [
279+ " localhost"
280+ ],
281+ "port" : " 8083" ,
282+ "path" : [
283+ " search"
284+ ]
285+ }
286+ },
287+ "response" : []
288+ },
289+ {
290+ "name" : " GET search <query gsd>" ,
291+ "request" : {
292+ "method" : " GET" ,
293+ "header" : [
294+ {
295+ "key" : " Content-Type" ,
296+ "value" : " application/json" ,
297+ "type" : " default"
298+ }
299+ ],
300+ "url" : {
301+ "raw" : " http://localhost:8083/search?query={\" gsd\" : {\" gt\" : 14}}" ,
302+ "protocol" : " http" ,
303+ "host" : [
304+ " localhost"
305+ ],
306+ "port" : " 8083" ,
307+ "path" : [
308+ " search"
309+ ],
310+ "query" : [
311+ {
312+ "key" : " query" ,
313+ "value" : " {\" gsd\" : {\" gt\" : 14}}"
314+ }
315+ ]
316+ }
317+ },
318+ "response" : []
319+ }
320+ ]
321+ }
0 commit comments