Skip to content

Commit 83aa85b

Browse files
authored
Merge pull request #67 from Geoalert/api-refine
refine processing api
2 parents 616815a + e99e927 commit 83aa85b

16 files changed

Lines changed: 227 additions & 539 deletions

source/api/data_api.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,11 @@ Get image metadata by image ID
168168

169169
``GET https://api.mapflow.ai/rest/rasters/image/{image_id}``
170170

171+
Update image name by image ID
172+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
173+
174+
``PUT https://api.mapflow.ai/rest/rasters/image/{image_id}&name=new_name``
175+
171176
Delete image
172177
^^^^^^^^^^^^^^^
173178

@@ -253,6 +258,17 @@ E.g. request:
253258
"minResolution": 0.3
254259
}'
255260
261+
Pagination and sorting options are also available:
262+
263+
.. code:: bash
264+
265+
...
266+
"limit": 15,
267+
"offset": 0,
268+
"sortBy": "ACQUISITION_DATE", # e.g.
269+
"sortOrder": "ASC" # or "DESC"
270+
...
271+
256272
.. note::
257273

258274
| ``aoi``: geometry, - required, Geojson-like Polygon or Multipolygon of the area of the search

0 commit comments

Comments
 (0)