demarches-normaliennes/spec/fixtures/cassettes/helpscout_conversations_reports.yml

151 lines
18 KiB
YAML
Raw Normal View History

2018-12-18 10:35:23 +01:00
---
http_interactions:
- request:
method: post
uri: https://api.helpscout.net/v2/oauth2/token
body:
encoding: UTF-8
string: client_id&client_secret&grant_type=client_credentials
headers:
User-Agent:
- demarches-simplifiees.fr
Expect:
- ''
response:
status:
code: 200
message: OK
headers:
Access-Control-Allow-Origin:
- "*"
Cache-Control:
- no-store
Content-Type:
- application/json; charset=utf-8
Date:
- Thu, 13 Dec 2018 12:49:04 GMT
Pragma:
- no-cache
Content-Length:
- '92'
Connection:
- keep-alive
body:
encoding: UTF-8
string: '{"token_type":"bearer","access_token":"18mock9b","expires_in":7200}
'
http_version:
recorded_at: Thu, 13 Dec 2018 12:49:05 GMT
- request:
method: get
uri: https://api.helpscout.net/v2/reports/conversations?end=2017-12-01T00:00:00Z&start=2017-11-01T00:00:00Z
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- demarches-simplifiees.fr
Authorization:
- Bearer 18mock9b
Content-Type:
- application/json; charset=UTF-8
Expect:
- ''
response:
status:
code: 200
message: ''
headers:
Access-Control-Allow-Origin:
- "*"
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Content-Type:
- application/json;charset=UTF-8
Correlation-Id:
- a6ee3949-ec16-4b39-92bc-3600adc3f671#144730730
Date:
- Thu, 13 Dec 2018 12:49:05 GMT
Expires:
- '0'
Pragma:
- no-cache
X-Content-Type-Options:
- nosniff
- nosniff
X-Frame-Options:
- DENY
X-Ratelimit-Limit-Minute:
- '200'
X-Ratelimit-Remaining-Minute:
- '199'
X-Xss-Protection:
- 1; mode=block
Content-Length:
- '5434'
Connection:
- keep-alive
body:
encoding: ASCII-8BIT
string: !binary |-
eyJyZXBsaWVzIjp7ImNvdW50IjoyMTYsInRvcCI6W3sibmFtZSI6Ik1hdXZhaXMgaW50ZXJsb2N1dGV1ciIsImlkIjo3MjczOTYsIm1haWxib3hJZCI6MTI1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UsImNvdW50IjoyLCJwZXJjZW50IjowLjkyNTkyNTkyNTkyNTkyNTh9LHsibmFtZSI6IlBsYW1vdWNoZSIsImlkIjoxNDk3MTQ0OTUsImNvdW50IjoyLCJwZXJjZW50IjowLjkyNTkyNTkyNTkyNTkyNTh9LHsibmFtZSI6IlRpcGhhbmllIFRoYXZhdWQiLCJpZCI6MTUyNDM4MDQ3LCJjb3VudCI6MiwicGVyY2VudCI6MC45MjU5MjU5MjU5MjU5MjU4fSx7Im5hbWUiOiJBenVyJmVhY3V0ZTtlbm5lIExvY2F0aW9uIiwiaWQiOjE1MTEzMjA4MywiY291bnQiOjIsInBlcmNlbnQiOjAuOTI1OTI1OTI1OTI1OTI1OH0seyJuYW1lIjoiSXNhYmVsbGUgUmVuYXJkIC8gU2VydmljZSBRdWFsaXQmZWFjdXRlOyIsImlkIjoxNTExMTI1MzcsImNvdW50IjoyLCJwZXJjZW50IjowLjkyNTkyNTkyNTkyNTkyNTh9LHsibmFtZSI6IkNhZmZpZXIgQXVyJmVhY3V0ZTtsaWVuIiwiaWQiOjE0OTY3NzE0OCwiY291bnQiOjIsInBlcmNlbnQiOjAuOTI1OTI1OTI1OTI1OTI1OH0seyJuYW1lIjoiSmFjcXVlbGluZSBHYXJjaWEiLCJpZCI6MTQ5MTk0NDcwLCJjb3VudCI6MSwicGVyY2VudCI6MC40NjI5NjI
http_version:
recorded_at: Thu, 13 Dec 2018 12:49:05 GMT
- request:
method: get
uri: https://api.helpscout.net/v2/reports/conversations?end=2018-01-01T00:00:00Z&start=2017-12-01T00:00:00Z
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- demarches-simplifiees.fr
Authorization:
- Bearer 18mock9b
Content-Type:
- application/json; charset=UTF-8
Expect:
- ''
response:
status:
code: 200
message: ''
headers:
Access-Control-Allow-Origin:
- "*"
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Content-Type:
- application/json;charset=UTF-8
Correlation-Id:
- 9b1a2413-9d2a-4605-9791-b191ea62b838#53820636
Date:
- Thu, 13 Dec 2018 12:49:05 GMT
Expires:
- '0'
Pragma:
- no-cache
X-Content-Type-Options:
- nosniff
- nosniff
X-Frame-Options:
- DENY
X-Ratelimit-Limit-Minute:
- '200'
X-Ratelimit-Remaining-Minute:
- '198'
X-Xss-Protection:
- 1; mode=block
Content-Length:
- '5622'
Connection:
- keep-alive
body:
encoding: ASCII-8BIT
string: !binary |-
eyJyZXBsaWVzIjp7ImNvdW50IjoxNDEsInRvcCI6W3sibmFtZSI6Ik1hdXZhaXMgaW50ZXJsb2N1dGV1ciIsImlkIjo3MjczOTYsIm1haWxib3hJZCI6MTI1OTI2LCJjb3VudCI6MTYsInBlcmNlbnQiOjExLjM0NzUxNzczMDQ5NjQ1NH0seyJuYW1lIjoiRGVtYW5kZSBjb21wdGUgYWRtaW4gcGFydGljdWxpZXIgLyBlbnRyZXByaXNlIiwiaWQiOjc1MTEzMCwibWFpbGJveElkIjoxMjU5MjYsImNvdW50Ijo4LCJwZXJjZW50Ijo1LjY3Mzc1ODg2NTI0ODIyN30seyJuYW1lIjoiRGVtYW5kZSBkZSBkw6ltbywgc3RlcCAxIiwiaWQiOjczMjE5NCwibWFpbGJveElkIjoxMjU5MjYsImNvdW50Ijo1LCJwZXJjZW50IjozLjU0NjA5OTI5MDc4MDE0Mn0seyJuYW1lIjoiVXNhZ2VyIGluc2NyaXQgbidhcnJpdmUgcGFzIMOgIGTDqXBvc2VyIGRlIGRvc3NpZXIgW09MRF0iLCJpZCI6NzgyODU2LCJtYWlsYm94SWQiOjEyNTkyNiwiY291bnQiOjUsInBlcmNlbnQiOjMuNTQ2MDk5MjkwNzgwMTQyfSx7Im5hbWUiOiJJbCBzZW1ibGVyYWl0IHF1ZSB2b3VzIGF5ZXogcmVuY29udHLDqSBkZXMgZXJyZXVycywgcHJvYmzDqG1lIHLDqXNvbHUiLCJpZCI6NzI2MTc3LCJtYWlsYm94SWQiOjEyNTkyNiwiY291bnQiOjIsInBlcmNlbnQiOjEu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