fixtures/vcr_cassettes/get_clicks_by_short_url.yml
---
http_interactions:
- request:
method: get
uri: https://api-ssl.bitly.com/v3/clicks?apiKey=my-api-key&login=my-login&shortUrl=http://bit.ly/xlii42
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*; q=0.5, application/xml"
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Server:
- nginx
Date:
- Sat, 01 Oct 2016 19:29:27 GMT
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '187'
Connection:
- keep-alive
Etag:
- '"a6d2ce859ab41b205deb5d920fa10e3143a79bf2"'
body:
encoding: UTF-8
string: '{"status_code": 200, "data": {"clicks": [{"short_url": "http://bit.ly/xlii42",
"global_hash": "cunZEP", "user_clicks": 2, "user_hash": "cT1Izu", "global_clicks":
2}]}, "status_txt": "OK"}'
http_version:
recorded_at: Sat, 01 Oct 2016 19:29:27 GMT
recorded_with: VCR 3.0.3