|
2 | 2 | "info": {
|
3 | 3 | "_postman_id": "ca9d0979-4035-45ad-bfba-582a680a05ab",
|
4 | 4 | "name": "stac-fastapi-elasticsearch",
|
5 |
| - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" |
| 5 | + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
| 6 | + "_exporter_id": "12888943" |
6 | 7 | },
|
7 | 8 | "item": [
|
8 | 9 | {
|
|
16 | 17 | "host": [
|
17 | 18 | "localhost"
|
18 | 19 | ],
|
19 |
| - "port": "8083", |
| 20 | + "port": "8080", |
20 | 21 | "path": [
|
21 | 22 | ""
|
22 | 23 | ]
|
|
35 | 36 | "host": [
|
36 | 37 | "localhost"
|
37 | 38 | ],
|
38 |
| - "port": "8083", |
| 39 | + "port": "8080", |
39 | 40 | "path": [
|
40 | 41 | "collections"
|
41 | 42 | ]
|
|
54 | 55 | "host": [
|
55 | 56 | "localhost"
|
56 | 57 | ],
|
57 |
| - "port": "8083", |
| 58 | + "port": "8080", |
58 | 59 | "path": [
|
59 | 60 | "collections",
|
60 | 61 | "test-collection"
|
|
74 | 75 | "host": [
|
75 | 76 | "localhost"
|
76 | 77 | ],
|
77 |
| - "port": "8083", |
| 78 | + "port": "8080", |
78 | 79 | "path": [
|
79 | 80 | "collections",
|
80 | 81 | "test-collection",
|
|
96 | 97 | "host": [
|
97 | 98 | "localhost"
|
98 | 99 | ],
|
99 |
| - "port": "8083", |
| 100 | + "port": "8080", |
100 | 101 | "path": [
|
101 | 102 | "collections",
|
102 | 103 | "test-collection"
|
|
116 | 117 | "host": [
|
117 | 118 | "localhost"
|
118 | 119 | ],
|
119 |
| - "port": "8083", |
| 120 | + "port": "8080", |
120 | 121 | "path": [
|
121 | 122 | "collections",
|
122 | 123 | "test-collection",
|
|
137 | 138 | "host": [
|
138 | 139 | "localhost"
|
139 | 140 | ],
|
140 |
| - "port": "8083", |
| 141 | + "port": "8080", |
141 | 142 | "path": [
|
142 | 143 | "collections",
|
143 | 144 | "test-collection",
|
|
174 | 175 | "host": [
|
175 | 176 | "localhost"
|
176 | 177 | ],
|
177 |
| - "port": "8083", |
| 178 | + "port": "8080", |
178 | 179 | "path": [
|
179 | 180 | "collections"
|
180 | 181 | ]
|
|
208 | 209 | "host": [
|
209 | 210 | "localhost"
|
210 | 211 | ],
|
211 |
| - "port": "8083", |
| 212 | + "port": "8080", |
212 | 213 | "path": [
|
213 | 214 | "collections",
|
214 | 215 | "test-collection",
|
|
218 | 219 | },
|
219 | 220 | "response": []
|
220 | 221 | },
|
| 222 | + { |
| 223 | + "name": "UPDATE item", |
| 224 | + "protocolProfileBehavior": { |
| 225 | + "disabledSystemHeaders": { |
| 226 | + "content-type": true |
| 227 | + } |
| 228 | + }, |
| 229 | + "request": { |
| 230 | + "method": "PUT", |
| 231 | + "header": [ |
| 232 | + { |
| 233 | + "key": "Content-Type", |
| 234 | + "value": "application/json", |
| 235 | + "type": "default" |
| 236 | + } |
| 237 | + ], |
| 238 | + "body": { |
| 239 | + "mode": "raw", |
| 240 | + "raw": "{\n \"type\": \"Feature\",\n \"id\": \"test-item\",\n \"stac_version\": \"1.0.1\",\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}" |
| 241 | + }, |
| 242 | + "url": { |
| 243 | + "raw": "http://localhost:8080/collections/test-collection/items/test-item", |
| 244 | + "protocol": "http", |
| 245 | + "host": [ |
| 246 | + "localhost" |
| 247 | + ], |
| 248 | + "port": "8080", |
| 249 | + "path": [ |
| 250 | + "collections", |
| 251 | + "test-collection", |
| 252 | + "items", |
| 253 | + "test-item" |
| 254 | + ] |
| 255 | + } |
| 256 | + }, |
| 257 | + "response": [] |
| 258 | + }, |
221 | 259 | {
|
222 | 260 | "name": "POST search <point intersection>",
|
223 | 261 | "protocolProfileBehavior": {
|
|
236 | 274 | ],
|
237 | 275 | "body": {
|
238 | 276 | "mode": "raw",
|
239 |
| - "raw": "{\n \"collections\":[\"test-collection\"],\n \"intersects\":{\"type\": \"Point\", \"coordinates\": [150.04, -33.14]}\n}" |
| 277 | + "raw": "{\n \"collections\":[\"test-collection\"],\n \"limit\": 2,\n \"intersects\":{\"type\": \"Point\", \"coordinates\": [150.04, -33.14]},\n \"query\": {\n \"gsd\":{\"gt\":10}\n }\n}" |
| 278 | + }, |
| 279 | + "url": { |
| 280 | + "raw": "http://localhost:8080/search", |
| 281 | + "protocol": "http", |
| 282 | + "host": [ |
| 283 | + "localhost" |
| 284 | + ], |
| 285 | + "port": "8080", |
| 286 | + "path": [ |
| 287 | + "search" |
| 288 | + ] |
| 289 | + } |
| 290 | + }, |
| 291 | + "response": [] |
| 292 | + }, |
| 293 | + { |
| 294 | + "name": "POST search <polygon intersection>", |
| 295 | + "protocolProfileBehavior": { |
| 296 | + "disabledSystemHeaders": { |
| 297 | + "content-type": true |
| 298 | + } |
| 299 | + }, |
| 300 | + "request": { |
| 301 | + "method": "POST", |
| 302 | + "header": [ |
| 303 | + { |
| 304 | + "key": "Content-Type", |
| 305 | + "value": "application/json", |
| 306 | + "type": "default" |
| 307 | + } |
| 308 | + ], |
| 309 | + "body": { |
| 310 | + "mode": "raw", |
| 311 | + "raw": "{\n \"collections\":[\"test-collection\"],\n \"intersects\":{\n \"type\": \"Polygon\", \n \"coordinates\": [\n [\n [\n 98.0859375,\n -7.362466865535738\n ],\n [\n 95.2734375,\n -44.33956524809713\n ],\n [\n 188.4375,\n -50.28933925329178\n ],\n [\n 168.75,\n 10.487811882056695\n ],\n [\n 98.0859375,\n -7.362466865535738\n ]\n ]\n ]\n }\n}" |
240 | 312 | },
|
241 | 313 | "url": {
|
242 | 314 | "raw": "http://localhost:8080/search",
|
243 | 315 | "protocol": "http",
|
244 | 316 | "host": [
|
245 | 317 | "localhost"
|
246 | 318 | ],
|
247 |
| - "port": "8083", |
| 319 | + "port": "8080", |
248 | 320 | "path": [
|
249 | 321 | "search"
|
250 | 322 | ]
|
|
270 | 342 | ],
|
271 | 343 | "body": {
|
272 | 344 | "mode": "raw",
|
273 |
| - "raw": "{\n \"collections\":[\"sentinel-s2-l2a\"],\n \"bbox\": [-69.433594,-10.660608,-47.285156,3.513421]\n}" |
| 345 | + "raw": "{\n \"bbox\": [97.504892,-45.254738,174.321298,-2.431580]\n}" |
| 346 | + }, |
| 347 | + "url": { |
| 348 | + "raw": "http://localhost:8080/search", |
| 349 | + "protocol": "http", |
| 350 | + "host": [ |
| 351 | + "localhost" |
| 352 | + ], |
| 353 | + "port": "8080", |
| 354 | + "path": [ |
| 355 | + "search" |
| 356 | + ] |
| 357 | + } |
| 358 | + }, |
| 359 | + "response": [] |
| 360 | + }, |
| 361 | + { |
| 362 | + "name": "POST search <bbox> Fields Include", |
| 363 | + "protocolProfileBehavior": { |
| 364 | + "disabledSystemHeaders": { |
| 365 | + "content-type": true |
| 366 | + } |
| 367 | + }, |
| 368 | + "request": { |
| 369 | + "method": "POST", |
| 370 | + "header": [ |
| 371 | + { |
| 372 | + "key": "Content-Type", |
| 373 | + "value": "application/json", |
| 374 | + "type": "default" |
| 375 | + } |
| 376 | + ], |
| 377 | + "body": { |
| 378 | + "mode": "raw", |
| 379 | + "raw": "{\n \"bbox\": [97.504892,-45.254738,174.321298,-2.431580],\n \"fields\": {\n \"include\": [\"properties.gsd\"]\n }\n}" |
| 380 | + }, |
| 381 | + "url": { |
| 382 | + "raw": "http://localhost:8080/search", |
| 383 | + "protocol": "http", |
| 384 | + "host": [ |
| 385 | + "localhost" |
| 386 | + ], |
| 387 | + "port": "8080", |
| 388 | + "path": [ |
| 389 | + "search" |
| 390 | + ] |
| 391 | + } |
| 392 | + }, |
| 393 | + "response": [] |
| 394 | + }, |
| 395 | + { |
| 396 | + "name": "POST search <bbox> Fields Exclude", |
| 397 | + "protocolProfileBehavior": { |
| 398 | + "disabledSystemHeaders": { |
| 399 | + "content-type": true |
| 400 | + } |
| 401 | + }, |
| 402 | + "request": { |
| 403 | + "method": "POST", |
| 404 | + "header": [ |
| 405 | + { |
| 406 | + "key": "Content-Type", |
| 407 | + "value": "application/json", |
| 408 | + "type": "default" |
| 409 | + } |
| 410 | + ], |
| 411 | + "body": { |
| 412 | + "mode": "raw", |
| 413 | + "raw": "{\n \"bbox\": [97.504892,-45.254738,174.321298,-2.431580],\n \"fields\": {\n \"exclude\": [\"properties\"]\n }\n}" |
274 | 414 | },
|
275 | 415 | "url": {
|
276 | 416 | "raw": "http://localhost:8080/search",
|
277 | 417 | "protocol": "http",
|
278 | 418 | "host": [
|
279 | 419 | "localhost"
|
280 | 420 | ],
|
281 |
| - "port": "8083", |
| 421 | + "port": "8080", |
282 | 422 | "path": [
|
283 | 423 | "search"
|
284 | 424 | ]
|
|
303 | 443 | "host": [
|
304 | 444 | "localhost"
|
305 | 445 | ],
|
306 |
| - "port": "8083", |
| 446 | + "port": "8080", |
307 | 447 | "path": [
|
308 | 448 | "search"
|
309 | 449 | ],
|
|
0 commit comments