forked from fastly/go-fastly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create.yaml
50 lines (50 loc) · 1.7 KB
/
create.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
version: 1
interactions:
- request:
body: |
{"data":{"type":"service_authorization","attributes":{"permission":"full"},"relationships":{"service":{"data":{"type":"service","id":"7i6HN3TK9wS159v2gPAZ8A"}},"user":{"data":{"type":"user","id":"4tKBSuFhNEiIpNDxmmVydt"}}}},"included":[{"type":"user","id":"4tKBSuFhNEiIpNDxmmVydt"},{"type":"service","id":"7i6HN3TK9wS159v2gPAZ8A"}]}
form: {}
headers:
Accept:
- application/vnd.api+json
Content-Type:
- application/vnd.api+json
User-Agent:
- FastlyGo/6.3.2 (+github.com/fastly/go-fastly; go1.18)
url: https://api.fastly.com/service-authorizations
method: POST
response:
body: '{"data":{"id":"dTYPkfosjJ6dMSBZNAPff","type":"service_authorization","attributes":{"created_at":"2022-06-16T14:54:32Z","updated_at":"2022-06-16T14:54:32Z","deleted_at":null,"permission":"full"},"relationships":{"service":{"data":{"id":"7i6HN3TK9wS159v2gPAZ8A","type":"service"}},"user":{"data":{"id":"4tKBSuFhNEiIpNDxmmVydt","type":"user"}}}}}'
headers:
Accept-Ranges:
- bytes
Cache-Control:
- no-store
Content-Type:
- application/vnd.api+json
Date:
- Thu, 16 Jun 2022 14:54:32 GMT
Fastly-Ratelimit-Remaining:
- "959"
Fastly-Ratelimit-Reset:
- "1655391600"
Status:
- 200 OK
Strict-Transport-Security:
- max-age=31536000
Vary:
- Accept-Encoding
Via:
- 1.1 varnish, 1.1 varnish
X-Cache:
- MISS, MISS
X-Cache-Hits:
- 0, 0
X-Served-By:
- cache-control-slwdc9036-CONTROL-SLWDC, cache-bma1646-BMA
X-Timer:
- S1655391272.193824,VS0,VE172
status: 200 OK
code: 200
duration: ""