Deletes a raster history log entry
delete
/spatialviewer/api/v1/raster/historyLogs/{historyLogId}
Request
Path Parameters
-
historyLogId: string
History entry id to delete
Response
Supported Media Types
- application/json
200 Response
successful request
Root Schema : RemoveRasterHistoryLogsSuccessResponse
Type:
Show Source
object
-
o:successCode(optional):
string
Success code.Example:
SVR-00207
-
response(optional):
object response
Response details
-
status(optional):
string
success or errorExample:
success
-
title(optional):
string
Response descriptionExample:
History log as been removed successfully
Nested Schema : response
Type:
object
Response details
Show Source
-
message(optional):
string
Success response detailsExample:
History log as been removed successfully
304 Response
History log not found
Examples
Deletes a raster history log entry.
The following example shows how to delete a raster history entry by submitting a DELETE request on the REST resource using cURL.
curl -X DELETE "http://localhost:8045/spatialviewer/api/v1/raster/historyLogs/Raster_process-1534350957071" -H "accept: application/json"
Example of Response Header
Example of Response Header
HTTP/1.1 200 OK Date: Tue, 21 Aug 2018 23:01:11 GMT Content-Type: application/json Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET, POST, DELETE, PUT Access-Control-Allow-Headers: Content-Type, Accept Transfer-Encoding: chunked
Example of the Response Body
The following example shows the contents of the response body in JSON format
{ "status" : "success", "title" : "History log as been removed successfully.", "o:successCode" : "SVR-00207", "response" : { "message" : "History log as been removed successfully" }}