Sha256: 2ed21816cd1643ac8d2d107cd5981f3cbfc7e05a38f37efaf969d0aef997f9b3

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=viewfile&cpanel_jsonapi_module=Fileman&cpanel_jsonapi_user=lumberg&dir&file=.lastlogin
    body:
      string: ""
    headers:
      Accept:
      - "*/*"
      Authorization:
      - WHM root:iscool
      User-Agent:
      - Faraday v0.8.7
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 15 May 2013 04:22:40 GMT
      X-Keep-Alive-Count:
      - "1"
      Server:
      - cpsrvd/11.36.0.4
      Content-Type:
      - application/json; charset="utf-8"
      Content-Length:
      - "437"
      Keep-Alive:
      - timeout=70, max=200
      Connection:
      - Keep-Alive
    body:
      string: |
        {"cpanelresult":{"func":"viewfile","apiversion":2,"data":[{"formatting_after":"</pre></div>","file":".lastlogin","dir":"/home/lumberg","mimename":"text-x-generic","contents":"192.168.25.11","formatting_before":"<div id=\"file_viewer\" style=\"border: 2px solid #ccc; background: #fff;\"><pre>","fileinfo":" ASCII text, with no line terminators\n","mimetype":"text/x-generic","filetype":"file"}],"module":"Fileman","event":{"result":1}}}

    http_version:
  recorded_at: Wed, 15 May 2013 04:17:59 GMT
recorded_with: VCR 2.0.1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lumberg-4.1.0 spec/vcr_cassettes/cpanel/file_manager/show.yml
lumberg-4.0.0 spec/vcr_cassettes/cpanel/file_manager/show.yml