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

70 lines
2 KiB
YAML

---
http_interactions:
- request:
method: get
uri: https://api-lannuaire.service-public.fr/api/explore/v2.1/catalog/datasets/api-lannuaire-administration/records?where=siret:20004021000000
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- demarches.gouv.fr
Expect:
- ''
response:
status:
code: 200
message: ''
headers:
Server:
- openresty
Date:
- Mon, 07 Oct 2024 14:41:59 GMT
Content-Type:
- application/json; charset=utf-8
Content-Length:
- '33'
X-Ratelimit-Remaining:
- '999978'
X-Ratelimit-Limit:
- '1000000'
X-Ratelimit-Reset:
- '2024-10-08 00:00:00+00:00'
Cache-Control:
- no-cache, no-store, max-age=0, must-revalidate
Vary:
- Accept-Language, Cookie, Host
Content-Language:
- fr-fr
Access-Control-Allow-Origin:
- "*"
Access-Control-Allow-Methods:
- POST, GET, OPTIONS
Access-Control-Max-Age:
- '1000'
Access-Control-Allow-Headers:
- Authorization, X-Requested-With, Origin, ODS-API-Analytics-App, ODS-API-Analytics-Embed-Type,
ODS-API-Analytics-Embed-Referrer, ODS-Widgets-Version, Accept
Access-Control-Expose-Headers:
- ODS-Explore-API-Deprecation, Link, X-RateLimit-Remaining, X-RateLimit-Limit,
X-RateLimit-Reset, X-RateLimit-dataset-Remaining, X-RateLimit-dataset-Limit,
X-RateLimit-dataset-Reset
Strict-Transport-Security:
- max-age=31536000
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
- nosniff
Referrer-Policy:
- strict-origin-when-cross-origin
Permissions-Policy:
- midi=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()
Content-Security-Policy:
- upgrade-insecure-requests;
X-Ua-Compatible:
- IE=edge
body:
encoding: ASCII-8BIT
string: '{"total_count": 0, "results": []}'
recorded_at: Mon, 07 Oct 2024 14:41:59 GMT
recorded_with: VCR 6.2.0