-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_delete_app.yaml
178 lines (178 loc) · 5.56 KB
/
test_delete_app.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
interactions:
- request:
body: |-
{"name": "8d3e10e65c146b4a109110c10724c53a", "description": "App (8d3e10e65c146b4a109110c10724c53a) to test whispyr apps CRUD works", "bundleId": "1", "options": {"workspaces": "B6302F7C7B9A8982", "deviceLimit": 3, "apiKey": "a52842de-a44d-40b4-a366-eda9ac7b5d0f", "clientSecret": "b3385696-60f5-42c9-9d73-ecd7e9ba1041"}, "gcm": {"gcmProjectId": "foobar-204e3", "gcmProjectNumber": 383181709987, "gcmApiKey": "9OO9l3ClouDm355491n94P1K3y"}, "registrationTypes": ["INVITE"]}
headers:
Accept:
- application/vnd.whispir.app-v1+json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '472'
Content-Type:
- application/vnd.whispir.app-v1+json
User-Agent:
- whispyr/0.2.1
authorization:
- Basic VTUzUk40TTM6UDRaWlcwUkQ=
method: POST
uri: https://api.whispir.com/apps?apikey=V4L1D4P1K3Y
response:
body:
string: |-
{
"id" : "A6D0A9A79C4DCCA0",
"name" : "8d3e10e65c146b4a109110c10724c53a",
"description" : "App (8d3e10e65c146b4a109110c10724c53a) to test whispyr apps CRUD works",
"bundleId" : "1",
"options" : {
"apiKey" : "a52842de-a44d-40b4-a366-eda9ac7b5d0f",
"deviceLimit" : "3",
"workspaces" : "B6302F7C7B9A8982"
},
"gcm" : {
"gcmProjectId" : "foobar-204e3",
"gcmProjectNumber" : 383181709987,
"gcmApiKey" : "9OO9l3ClouDm355491n94P1K3y"
},
"apns" : {
"certificateDate" : "2018-04-27T22:03:47.471Z"
},
"apnsSandbox" : {
"certificateDate" : "2018-04-27T22:03:47.471Z"
},
"registrationTypes" : [ "INVITE" ],
"managedBySystem" : false,
"defaultWorkspaceEnabled" : true,
"link" : [ {
"uri" : "https://api.whispir.com/apps/A6D0A9A79C4DCCA0?apikey=V4L1D4P1K3Y",
"rel" : "self",
"method" : "GET"
}, {
"uri" : "https://api.whispir.com/apps/A6D0A9A79C4DCCA0?apikey=V4L1D4P1K3Y",
"rel" : "updateAPP",
"method" : "PUT",
"type" : "application/vnd.whispir.app-v1+xml,application/vnd.whispir.app-v1+json"
}, {
"uri" : "https://api.whispir.com/apps/A6D0A9A79C4DCCA0?apikey=V4L1D4P1K3Y",
"rel" : "deleteAPP",
"method" : "DELETE"
} ]
}
headers:
Cache-Control:
- max-age=0
- no-cache="set-cookie"
Connection:
- keep-alive
Content-Type:
- application/vnd.whispir.app-v1+json
Date:
- Fri, 27 Apr 2018 22:03:47 GMT
Expires:
- Fri, 27 Apr 2018 22:03:47 GMT
Location:
- https://api.whispir.com/apps/A6D0A9A79C4DCCA0?apikey=V4L1D4P1K3Y
Server:
- Apache
Vary:
- Accept-Encoding
X-Mashery-Responder:
- prod-j-worker-ap-southeast-2a-32.mashery.com
content-length:
- '1216'
transfer-encoding:
- chunked
status:
code: 201
message: Created
- request:
body: null
headers:
Accept:
- application/vnd.whispir.app-v1+json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
Content-Type:
- application/vnd.whispir.app-v1+json
User-Agent:
- whispyr/0.2.1
authorization:
- Basic VTUzUk40TTM6UDRaWlcwUkQ=
method: DELETE
uri: https://api.whispir.com/apps/A6D0A9A79C4DCCA0?apikey=V4L1D4P1K3Y
response:
body:
string: ''
headers:
Cache-Control:
- max-age=0
Connection:
- keep-alive
Date:
- Fri, 27 Apr 2018 22:03:48 GMT
Expires:
- Fri, 27 Apr 2018 22:03:48 GMT
Server:
- Apache
X-Mashery-Responder:
- prod-j-worker-ap-southeast-2a-30.mashery.com
status:
code: 204
message: No Content
- request:
body: null
headers:
Accept:
- application/vnd.whispir.app-v1+json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Type:
- application/vnd.whispir.app-v1+json
User-Agent:
- whispyr/0.2.1
authorization:
- Basic VTUzUk40TTM6UDRaWlcwUkQ=
method: GET
uri: https://api.whispir.com/apps/A6D0A9A79C4DCCA0?apikey=V4L1D4P1K3Y
response:
body:
string: |-
{
"errorSummary" : "The resource that you have requested does not exist. Please check the identifier and try again ",
"errorText" : "Not Found",
"link" : [ ]
}
headers:
Cache-Control:
- max-age=0
Connection:
- keep-alive
Content-Type:
- application/vnd.whispir.app-v1+json
Date:
- Fri, 27 Apr 2018 22:03:51 GMT
Expires:
- Fri, 27 Apr 2018 22:03:51 GMT
Server:
- Apache
Vary:
- Accept-Encoding
X-Mashery-Responder:
- prod-j-worker-ap-southeast-2a-32.mashery.com
content-length:
- '165'
transfer-encoding:
- chunked
status:
code: 404
message: Not Found
version: 1