| 1 | --- |
| 2 | version: 1 |
| 3 | rwmutex: {} |
| 4 | interactions: |
| 5 | - request: |
| 6 | body: Service=7i6HN3TK9wS159v2gPAZ8A&Version=17&name=test-director&quorum=50&retries=5&type=1 |
| 7 | form: |
| 8 | Service: |
| 9 | - 7i6HN3TK9wS159v2gPAZ8A |
| 10 | Version: |
| 11 | - "17" |
| 12 | name: |
| 13 | - test-director |
| 14 | quorum: |
| 15 | - "50" |
| 16 | retries: |
| 17 | - "5" |
| 18 | type: |
| 19 | - "1" |
| 20 | headers: |
| 21 | Content-Type: |
| 22 | - application/x-www-form-urlencoded |
| 23 | Fastly-Key: |
| 24 | - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| 25 | User-Agent: |
| 26 | - FastlyGo/0.4.3.dev (+github.com/fastly/go-fastly; go1.12) |
| 27 | url: https://api.fastly.com/service/7i6HN3TK9wS159v2gPAZ8A/version/17/director |
| 28 | method: POST |
| 29 | response: |
| 30 | body: '{"name":"test-director","quorum":50,"retries":5,"type":1,"service_id":"7i6HN3TK9wS159v2gPAZ8A","version":17,"comment":"","deleted_at":null,"capacity":100,"updated_at":"2019-05-08T22:55:00Z","created_at":"2019-05-08T22:55:00Z","backends":[],"shield":null}' |
| 31 | headers: |
| 32 | Accept-Ranges: |
| 33 | - bytes |
| 34 | Cache-Control: |
| 35 | - no-cache |
| 36 | Content-Type: |
| 37 | - application/json |
| 38 | Date: |
| 39 | - Wed, 08 May 2019 22:55:00 GMT |
| 40 | Fastly-Ratelimit-Remaining: |
| 41 | - "987" |
| 42 | Fastly-Ratelimit-Reset: |
| 43 | - "1557356400" |
| 44 | Status: |
| 45 | - 200 OK |
| 46 | Strict-Transport-Security: |
| 47 | - max-age=31536000 |
| 48 | Vary: |
| 49 | - Accept-Encoding |
| 50 | Via: |
| 51 | - 1.1 varnish |
| 52 | - 1.1 varnish |
| 53 | X-Cache: |
| 54 | - MISS, MISS |
| 55 | X-Cache-Hits: |
| 56 | - 0, 0 |
| 57 | X-Served-By: |
| 58 | - cache-control-slwdc9035-CONTROL-SLWDC, cache-sjc3629-SJC |
| 59 | X-Timer: |
| 60 | - S1557356100.702169,VS0,VE513 |
| 61 | status: 200 OK |
| 62 | code: 200 |