Retrieves the list of raster process logs

get

/spatialviewer/api/v1/raster/historyLogs

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

successful request
Body ()
Root Schema : RasterHistoryLogsSuccessResponse
Type: object
Show Source
Nested Schema : response
Type: object
Response details
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : RasterHistoryEntry
Type: object
Show Source
Back to Top

Examples

List the raster history logs entries with the detail of the raster process jobs.

The following example shows how to get the raster history logs by submitting a GET request on the REST resource using cURL.

curl -X GET "http://localhost:8045/spatialviewer/api/v1/raster/historyLog"  -H "accept: application/json"

Example of Response Header

Example of Response Header

HTTP/1.1 200 OK< Date: Tue, 21 Aug 2018 22:48:43 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 logs were retrieved successfully.", "o:successCode": "SVR-00206", "response": { "items": [ { "id": "Raster_process-1535143063827", "name": "Raster Process /net/den01spo/scratch/swap/spatialviewer//defaultMosaic", "resultPath": null, "status": "FINISHED", "saveTime": 1535143063827, "lastUpdateTime": 1535143101326, "srid": "26904", "bands": 3, "directory": "/net/den01spo/scratch/swap/spatialviewer/", "fileName": "defaultMosaic", "fileSystem": "FS", "outputFormat": "GTIFF", "height": 2092, "width": 3200, "dfsBlockSize": null, "useSpark": true, "sparkDriverMemory": "2048", "sparkExecutorsMemory": "1024", "noDataValue": "000000", "orderAlgorithm": "1", "orderDescendant": "0", "pixelType": "1", "pixelXWidth": 6.118082558417227, "pixelYWidth": -6.118082558417227, "upperLeftX": 738557.0997649715, "upperLeftY": 2280853.0201499914, "singleExecution": null, "processClases": null, "customJarFile": null, "rasterOperations": "[{\"name\":\"Local Not\",\"id\":\"localnot\",\"params\":null}]", "thumbnailDir": "http://system3.example.com:8080/spatialviewer/files//spatialworkspace/raster/thumbs/efa0e3543d047e4227d24d97baa2321920c4e56a_thumb.jpg", "imageDir": "http://system3.example.com:8080/spatialviewer/files//spatialworkspace/raster/temp/defaultMosaic.tif", "rasterProcessType": 0, "catalogXML": "
  
  
   
   Hadoop File System
   
    HDFS
   
   
    /user/hdfs/upload/kahoolawe.tif.ohif
   
   
    http://system3.example.com:8080/spatialviewer/files/spatialworkspace/raster/thumbs/e79e2fe7388a3a40dff3b22fa801a2939c92b226_thumb.jpg?time=1535141524167
   
   
    3
   
  ", "defaultCoordinates": { "type": "Rectangle", "srid": 4326, "coordinates": [ -156.71094069187936, 20.493569756098143, -156.52507173138514, 20.61170400191134 ] } } ] } }
Back to Top