|
| 1 | +--- |
| 2 | +version: 1 |
| 3 | +interactions: |
| 4 | +- request: |
| 5 | + body: "" |
| 6 | + form: {} |
| 7 | + headers: |
| 8 | + Accept: |
| 9 | + - application/json |
| 10 | + Content-Type: |
| 11 | + - application/json |
| 12 | + User-Agent: |
| 13 | + - linodego/dev https://github.com/linode/linodego |
| 14 | + url: https://api.linode.com/v4beta/profile/logins |
| 15 | + method: GET |
| 16 | + response: |
| 17 | + body: '{"data": [{"id": 1563948056, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", |
| 18 | + "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": |
| 19 | + 1563982298, "datetime": "2018-01-02T03:04:05", "ip": "24.63.69.52", "username": |
| 20 | + "ErikZilber", "status": "successful", "restricted": false}, {"id": 1564542275, |
| 21 | + "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", |
| 22 | + "username": "ErikZilber", "status": "failed", "restricted": false}, {"id": 1564542300, |
| 23 | + "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", |
| 24 | + "username": "ErikZilber", "status": "successful", "restricted": false}, {"id": |
| 25 | + 1564542307, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", |
| 26 | + "username": "ErikZilber", "status": "successful", "restricted": false}], "page": |
| 27 | + 1, "pages": 1, "results": 5}' |
| 28 | + headers: |
| 29 | + Access-Control-Allow-Credentials: |
| 30 | + - "true" |
| 31 | + Access-Control-Allow-Headers: |
| 32 | + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter |
| 33 | + Access-Control-Allow-Methods: |
| 34 | + - HEAD, GET, OPTIONS, POST, PUT, DELETE |
| 35 | + Access-Control-Allow-Origin: |
| 36 | + - '*' |
| 37 | + Access-Control-Expose-Headers: |
| 38 | + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status |
| 39 | + Cache-Control: |
| 40 | + - private, max-age=0, s-maxage=0, no-cache, no-store |
| 41 | + - private, max-age=60, s-maxage=60 |
| 42 | + Content-Length: |
| 43 | + - "878" |
| 44 | + Content-Security-Policy: |
| 45 | + - default-src 'none' |
| 46 | + Content-Type: |
| 47 | + - application/json |
| 48 | + Server: |
| 49 | + - nginx |
| 50 | + Strict-Transport-Security: |
| 51 | + - max-age=31536000 |
| 52 | + Vary: |
| 53 | + - Authorization, X-Filter |
| 54 | + - Authorization, X-Filter |
| 55 | + X-Accepted-Oauth-Scopes: |
| 56 | + - account:read_only |
| 57 | + X-Content-Type-Options: |
| 58 | + - nosniff |
| 59 | + X-Frame-Options: |
| 60 | + - DENY |
| 61 | + - DENY |
| 62 | + X-Oauth-Scopes: |
| 63 | + - '*' |
| 64 | + X-Ratelimit-Limit: |
| 65 | + - "800" |
| 66 | + X-Xss-Protection: |
| 67 | + - 1; mode=block |
| 68 | + status: 200 OK |
| 69 | + code: 200 |
| 70 | + duration: "" |
| 71 | +- request: |
| 72 | + body: "" |
| 73 | + form: {} |
| 74 | + headers: |
| 75 | + Accept: |
| 76 | + - application/json |
| 77 | + Content-Type: |
| 78 | + - application/json |
| 79 | + User-Agent: |
| 80 | + - linodego/dev https://github.com/linode/linodego |
| 81 | + url: https://api.linode.com/v4beta/profile/logins/1563948056 |
| 82 | + method: GET |
| 83 | + response: |
| 84 | + body: '{"id": 1563948056, "datetime": "2018-01-02T03:04:05", "ip": "1234::5678", |
| 85 | + "username": "ErikZilber", "status": "successful", "restricted": false}' |
| 86 | + headers: |
| 87 | + Access-Control-Allow-Credentials: |
| 88 | + - "true" |
| 89 | + Access-Control-Allow-Headers: |
| 90 | + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter |
| 91 | + Access-Control-Allow-Methods: |
| 92 | + - HEAD, GET, OPTIONS, POST, PUT, DELETE |
| 93 | + Access-Control-Allow-Origin: |
| 94 | + - '*' |
| 95 | + Access-Control-Expose-Headers: |
| 96 | + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status |
| 97 | + Cache-Control: |
| 98 | + - private, max-age=0, s-maxage=0, no-cache, no-store |
| 99 | + - private, max-age=60, s-maxage=60 |
| 100 | + Content-Length: |
| 101 | + - "170" |
| 102 | + Content-Security-Policy: |
| 103 | + - default-src 'none' |
| 104 | + Content-Type: |
| 105 | + - application/json |
| 106 | + Server: |
| 107 | + - nginx |
| 108 | + Strict-Transport-Security: |
| 109 | + - max-age=31536000 |
| 110 | + Vary: |
| 111 | + - Authorization, X-Filter |
| 112 | + - Authorization, X-Filter |
| 113 | + X-Accepted-Oauth-Scopes: |
| 114 | + - account:read_only |
| 115 | + X-Content-Type-Options: |
| 116 | + - nosniff |
| 117 | + X-Frame-Options: |
| 118 | + - DENY |
| 119 | + - DENY |
| 120 | + X-Oauth-Scopes: |
| 121 | + - '*' |
| 122 | + X-Ratelimit-Limit: |
| 123 | + - "800" |
| 124 | + X-Xss-Protection: |
| 125 | + - 1; mode=block |
| 126 | + status: 200 OK |
| 127 | + code: 200 |
| 128 | + duration: "" |
0 commit comments