Skip to content
Snippets Groups Projects
Commit a5aa8024 authored by Wannes Rombouts's avatar Wannes Rombouts
Browse files

Merge branch 'develop' of https://github.com/neogeo-technologies/mra into develop

parents 860de044 bf88f16b
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ The following extensions are supported:
+-------------------+---------------------------------------------------------+
| Extension | Datastore |
+===================+=========================================================+
| zip (ShapeZip) | OGR/ESRI Shapefile as a zipped archive |
| shp | OGR/ESRI Shapefile |
+-------------------+---------------------------------------------------------+
+--------+--------------------------+-------------+-----------+---------------+
......@@ -261,35 +261,24 @@ The following extensions are supported:
+--------+--------------------------+-------------+-----------+---------------+
| POST | | 405 | | |
+--------+--------------------------+-------------+-----------+---------------+
| PUT | Uploads files to the | 200 | See notes | See notes |
| | data stores <ds> | | below. | below. |
| PUT | Uploads files to the | 200 | See notes | ``configure`` |
| | data stores <ds> | | below. | See notes |
| | | | | below. |
+--------+--------------------------+-------------+-----------+---------------+
| DELETE | | 405 | | |
+--------+--------------------------+-------------+-----------+---------------+
*Exceptions:*
* GET for a data stores does not exist: 404 Not Found
* *TODO: GET for a data stores that in not file based: 404 Not Found*
PUT *Formats*:
Data stores like Shapefile must be sent as a zip archive.
When uploading a zip archive the ``Content-type`` should be set to ``application/zip``
Data stores like Shapefile must be sent as a zip archive.
When uploading a standalone file the content type should be appropriately set based on the file type.
For example, when uploading a zip archive the ``Content-type`` should be set to ``application/zip``
The ``configure`` parameter is used to control how the data store is configured upon file upload.
It can take one of the below values :
* ``none`` - Do not configure any feature types. This is the default value
PUT *Parameters*:
The ``configure`` parameter is used to control how the data store is configured upon file upload.
It can take one of the below values :
* ``none`` - Do not configure any feature types. This is the default value
* *TODO: ``first`` - Only setup the first feature type available in the data store.*
* *TODO: ``first`` - Only setup the first feature type available in the data store.*
* *TODO: ``all` - Configure all feature types.*
* *TODO: ``all` - Configure all feature types.*
Feature types
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment