1---
2version: 1
3interactions:
4- request:
5    body: '{"label":"linodego-test-volume","region":"us-west"}'
6    form: {}
7    headers:
8      Accept:
9      - application/json
10      Authorization:
11      - Bearer awesometokenawesometokenawesometoken
12      Content-Type:
13      - application/json
14      User-Agent:
15      - linodego 0.0.1 https://github.com/linode/linodego
16    url: https://api.linode.com/v4beta/volumes
17    method: POST
18  response:
19    body: '{"size": 20, "created": "2018-01-02T03:04:05", "id": 9588, "label": "linodego-test-volume",
20      "updated": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_linodego-test-volume",
21      "status": "creating", "linode_id": null, "region": "us-west"}'
22    headers:
23      Access-Control-Allow-Credentials:
24      - "true"
25      Access-Control-Allow-Headers:
26      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
27      Access-Control-Allow-Methods:
28      - HEAD, GET, OPTIONS, POST, PUT, DELETE
29      Access-Control-Allow-Origin:
30      - '*'
31      Access-Control-Expose-Headers:
32      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
33      Cache-Control:
34      - private, max-age=60, s-maxage=60
35      Connection:
36      - keep-alive
37      Content-Length:
38      - "266"
39      Content-Security-Policy:
40      - default-src 'none'
41      Content-Type:
42      - application/json
43      Date:
44      - Thu, 19 Jul 2018 18:42:14 GMT
45      Retry-After:
46      - "119"
47      Server:
48      - nginx
49      Strict-Transport-Security:
50      - max-age=31536000
51      Vary:
52      - Authorization, X-Filter
53      X-Accepted-Oauth-Scopes:
54      - volumes:read_write
55      X-Content-Type-Options:
56      - nosniff
57      - nosniff
58      X-Frame-Options:
59      - DENY
60      - DENY
61      X-Oauth-Scopes:
62      - '*'
63      X-Ratelimit-Limit:
64      - "400"
65      X-Ratelimit-Remaining:
66      - "399"
67      X-Ratelimit-Reset:
68      - "1532025854"
69      X-Spec-Version:
70      - 4.0.3
71      X-Xss-Protection:
72      - 1; mode=block
73    status: 200 OK
74    code: 200
75    duration: ""
76- request:
77    body: ""
78    form: {}
79    headers:
80      Accept:
81      - application/json
82      Authorization:
83      - Bearer awesometokenawesometokenawesometoken
84      Content-Type:
85      - application/json
86      User-Agent:
87      - linodego 0.0.1 https://github.com/linode/linodego
88    url: https://api.linode.com/v4beta/volumes/9588
89    method: GET
90  response:
91    body: '{"id": 9588, "size": 20, "label": "linodego-test-volume", "region": "us-west",
92      "status": "creating", "created": "2018-01-02T03:04:05", "filesystem_path": "/dev/disk/by-id/scsi-0Linode_Volume_linodego-test-volume",
93      "updated": "2018-01-02T03:04:05", "linode_id": null}'
94    headers:
95      Access-Control-Allow-Credentials:
96      - "true"
97      Access-Control-Allow-Headers:
98      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
99      Access-Control-Allow-Methods:
100      - HEAD, GET, OPTIONS, POST, PUT, DELETE
101      Access-Control-Allow-Origin:
102      - '*'
103      Access-Control-Expose-Headers:
104      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
105      Cache-Control:
106      - private, max-age=0, s-maxage=0, no-cache, no-store
107      - private, max-age=60, s-maxage=60
108      Connection:
109      - keep-alive
110      Content-Length:
111      - "266"
112      Content-Security-Policy:
113      - default-src 'none'
114      Content-Type:
115      - application/json
116      Date:
117      - Thu, 19 Jul 2018 18:42:15 GMT
118      Retry-After:
119      - "118"
120      Server:
121      - nginx
122      Strict-Transport-Security:
123      - max-age=31536000
124      Vary:
125      - Authorization, X-Filter
126      - Authorization, X-Filter
127      X-Accepted-Oauth-Scopes:
128      - volumes:read_only
129      X-Content-Type-Options:
130      - nosniff
131      - nosniff
132      X-Frame-Options:
133      - DENY
134      - DENY
135      X-Oauth-Scopes:
136      - '*'
137      X-Ratelimit-Limit:
138      - "400"
139      X-Ratelimit-Remaining:
140      - "399"
141      X-Ratelimit-Reset:
142      - "1532025854"
143      X-Spec-Version:
144      - 4.0.3
145      X-Xss-Protection:
146      - 1; mode=block
147    status: 200 OK
148    code: 200
149    duration: ""
150- request:
151    body: ""
152    form: {}
153    headers:
154      Accept:
155      - application/json
156      Authorization:
157      - Bearer awesometokenawesometokenawesometoken
158      Content-Type:
159      - application/json
160      User-Agent:
161      - linodego 0.0.1 https://github.com/linode/linodego
162    url: https://api.linode.com/v4beta/volumes/9588
163    method: DELETE
164  response:
165    body: '{}'
166    headers:
167      Access-Control-Allow-Credentials:
168      - "true"
169      Access-Control-Allow-Headers:
170      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
171      Access-Control-Allow-Methods:
172      - HEAD, GET, OPTIONS, POST, PUT, DELETE
173      Access-Control-Allow-Origin:
174      - '*'
175      Access-Control-Expose-Headers:
176      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
177      Cache-Control:
178      - private, max-age=60, s-maxage=60
179      Connection:
180      - keep-alive
181      Content-Length:
182      - "2"
183      Content-Security-Policy:
184      - default-src 'none'
185      Content-Type:
186      - application/json
187      Date:
188      - Thu, 19 Jul 2018 18:42:15 GMT
189      Retry-After:
190      - "119"
191      Server:
192      - nginx
193      Strict-Transport-Security:
194      - max-age=31536000
195      Vary:
196      - Authorization, X-Filter
197      X-Accepted-Oauth-Scopes:
198      - volumes:read_write
199      X-Content-Type-Options:
200      - nosniff
201      - nosniff
202      X-Frame-Options:
203      - DENY
204      - DENY
205      X-Oauth-Scopes:
206      - '*'
207      X-Ratelimit-Limit:
208      - "400"
209      X-Ratelimit-Remaining:
210      - "399"
211      X-Ratelimit-Reset:
212      - "1532025855"
213      X-Spec-Version:
214      - 4.0.3
215      X-Xss-Protection:
216      - 1; mode=block
217    status: 200 OK
218    code: 200
219    duration: ""
220