GeoView Server REST API enables updating image meta-data in data store based on specified image identifier. Accessing this method requires Write permissions.
Request API method URI definition:
HTTP POST http://api.geoview.be/geoservice/v1/images/<id>/update
Request HTTP URI parameters:
Parameter |
Description |
token |
Access token (returned by this API method). |
id |
Image identifier (returned by i.e. this API method). |
srs |
Spatial reference system identifier (returned by this API method), being an EPSG code value. This parameter is optional. If omitted, default GeoView Server spatial reference system will be used. |
Request Body structure in JSON format:
Parameter |
Type |
Description |
id |
String |
Property identifier (returned by this API method). |
value |
Object |
New property value. Property type depends on original property (returned by this API method). |
Example HTTP request URI:
HTTP POST http://api.geoview.be/geoservice/v1/images/6e39547d-aed2-4e60-9e01-5d5c0921953a/update?token=3dc718f2-ab20-4f41-86e1-72abcc1810c1
Example HTTP request URI message body contents:
{"id":"location","value":"New location value"}
Possible resulting HTTP status codes:
Value |
Description |
200 |
API request succeeded. |
400 |
API request failed due to wrong parameter value(s). |
401 |
Supplied API request access token not valid. |
500 |
API request failed due to server error. |