ラスター処理ログのリストの取得

get

/spatialviewer/api/v1/raster/historyLogs

リクエスト

この操作のリクエスト・パラメータはありません。

先頭に戻る

レスポンス

サポートされるメディア・タイプ

200レスポンス

要求が成功しました
本文()
ルート・スキーマ: RasterHistoryLogsSuccessResponse
型: object
ソースの表示
ネストされたスキーマ: response
型: object
レスポンスの詳細情報
ソースの表示
ネストされたスキーマ: items
型: array
ソースの表示
ネストされたスキーマ: RasterHistoryEntry
型: object
ソースの表示
先頭に戻る

ラスター履歴のログ・エントリを、ラスター処理ジョブの詳細とともにリストします。

次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行することによって、ラスター履歴ログを取得する方法を示しています。

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

レスポンス・ヘッダーの例

レスポンス・ヘッダーの例

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

レスポンス本文の例

次の例は、レスポンス本文の内容をJSON形式で示したものです

{ "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 ] } } ] } }
先頭に戻る