Waterline Data Logs Resource

GET /v2/logs

Request Parameters
name type description
path query
Response Body
media type data type description
application/json LogFolderElement (JSON)

Example

Request
GET /v2/logs
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "folderName" : "...",
  "relativePath" : "...",
  "rootPath" : "...",
  "folderParent" : "...",
  "folderElements" : [ {
    "folderName" : "...",
    "relativePath" : "...",
    "rootPath" : "...",
    "folderParent" : "...",
    "folderElements" : [ { }, { } ],
    "fileElements" : [ {
      "fileName" : "...",
      "relativePath" : "...",
      "rootPath" : "...",
      "fileParent" : "..."
    }, {
      "fileName" : "...",
      "relativePath" : "...",
      "rootPath" : "...",
      "fileParent" : "..."
    } ]
  }, {
    "folderName" : "...",
    "relativePath" : "...",
    "rootPath" : "...",
    "folderParent" : "...",
    "folderElements" : [ { }, { } ],
    "fileElements" : [ {
      "fileName" : "...",
      "relativePath" : "...",
      "rootPath" : "...",
      "fileParent" : "..."
    }, {
      "fileName" : "...",
      "relativePath" : "...",
      "rootPath" : "...",
      "fileParent" : "..."
    } ]
  } ],
  "fileElements" : [ {
    "fileName" : "...",
    "relativePath" : "...",
    "rootPath" : "...",
    "fileParent" : "..."
  }, {
    "fileName" : "...",
    "relativePath" : "...",
    "rootPath" : "...",
    "fileParent" : "..."
  } ]
}
                
              

GET /v2/logs/download

Request Parameters
name type description
path query
Response Body
media type data type description
application/octet-stream (custom)

Example

Request
GET /v2/logs/download
Content-Type: */*
Accept: application/octet-stream

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/octet-stream

                
...
                
              

GET /v2/logs/view

Request Parameters
name type description
path query
Response Body
media type data type description
application/json LogFileContent (JSON)

Example

Request
GET /v2/logs/view
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "content" : "...",
  "fileParent" : "...",
  "rootPath" : "..."
}