github.com/fastly/go-fastly@v1.18.0/fastly/fixtures/platform_tls/update.yaml (about) 1 --- 2 version: 1 3 interactions: 4 - request: 5 body: '{"data":{"id":"CERTIFICATE_ID","type":"tls_bulk_certificate","cert_blob":"-----BEGIN 6 CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n","intermediates_blob":"-----BEGIN 7 CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n"}}' 8 form: {} 9 headers: 10 Accept: 11 - application/json 12 Content-Type: 13 - application/json 14 User-Agent: 15 - FastlyGo/1.7.2 (+github.com/fastly/go-fastly; go1.14) 16 url: https://api.fastly.com/tls/bulk/certificates/CERTIFICATE_ID 17 method: PATCH 18 response: 19 body: '{"data": {"id": "CERTIFICATE_ID","type": "tls_bulk_certificate","attributes": {"not_after": "2019-06-06T18:14:32Z","not_before": "2018-06-06T18:14:32Z","created_at": "2018-06-06T18:14:32Z","updated_at": "2018-06-06T18:14:32Z","replace": false},"relationships": {"tls_configurations": {"data": [{"type": "tls_configuration","id": "TLS_CONFIGURATION_ID"}]},"tls_domains": {"data": [{"type": "tls_domain","id": "DOMAIN_NAME"}]}}}}' 20 headers: 21 Accept-Ranges: 22 - bytes 23 Content-Length: 24 - "890" 25 Content-Type: 26 - application/vnd.api+json 27 Date: 28 - Sat, 11 May 2019 21:45:02 GMT 29 Status: 30 - 200 OK 31 Strict-Transport-Security: 32 - max-age=31536000 33 Via: 34 - 1.1 varnish 35 - 1.1 varnish 36 X-Cache: 37 - MISS, MISS 38 X-Cache-Hits: 39 - 0, 0 40 X-Content-Type-Options: 41 - nosniff 42 X-Served-By: 43 - cache-control-slwdc9036-CONTROL-SLWDC, cache-lax8631-LAX 44 X-Timer: 45 - S1557611102.061591,VS0,VE521 46 status: 200 OK 47 code: 200