File tree Expand file tree Collapse file tree 1 file changed +0
-120
lines changed Expand file tree Collapse file tree 1 file changed +0
-120
lines changed Original file line number Diff line number Diff line change @@ -73,16 +73,6 @@ paths:
73
73
security :
74
74
- basicAuth : []
75
75
parameters :
76
- - name : X-P-META-Test
77
- in : header
78
- schema :
79
- type : string
80
- example : hello
81
- - name : X-P-META-another-test
82
- in : header
83
- schema :
84
- type : string
85
- example : wow
86
76
- name : stream_name
87
77
in : path
88
78
schema :
@@ -141,106 +131,6 @@ paths:
141
131
description : Successful response
142
132
content :
143
133
application/json : {}
144
- /api/v1/logstream/{stream_name}/cache :
145
- put :
146
- tags :
147
- - default
148
- summary : Disable caching
149
- requestBody :
150
- content :
151
- application/json :
152
- schema :
153
- type : object
154
- example : false
155
- security :
156
- - basicAuth : []
157
- parameters :
158
- - name : stream_name
159
- in : path
160
- schema :
161
- type : string
162
- required : true
163
- responses :
164
- ' 200 ' :
165
- description : Successful response
166
- content :
167
- application/json : {}
168
- get :
169
- tags :
170
- - default
171
- summary : Check cache enabled state
172
- security :
173
- - basicAuth : []
174
- parameters :
175
- - name : stream_name
176
- in : path
177
- schema :
178
- type : string
179
- required : true
180
- responses :
181
- ' 200 ' :
182
- description : Successful response
183
- content :
184
- application/json : {}
185
- /api/v1/logstream/{stream_name}/alert :
186
- put :
187
- tags :
188
- - default
189
- summary : Set alert for a stream (composite type)
190
- requestBody :
191
- content :
192
- application/json :
193
- schema :
194
- type : object
195
- example :
196
- version : v1
197
- alerts :
198
- - name : Unauthorised access
199
- message : secret was accessed by an unauthorised user
200
- rule :
201
- config : >-
202
- (verb =% "list" or verb =% "get") and
203
- (objectRef_resource = "secrets" and user_username !%
204
- "test-user")
205
- type : composite
206
- targets :
207
- - type : webhook
208
- endpoint : >-
209
- https://webhook.site/85444d74-1cec-46a1-a8d3-a2b952d60baa
210
- skip_tls_check : false
211
- repeat :
212
- interval : 10s
213
- times : 5
214
- security :
215
- - basicAuth : []
216
- parameters :
217
- - name : stream_name
218
- in : path
219
- schema :
220
- type : string
221
- required : true
222
- responses :
223
- ' 200 ' :
224
- description : Successful response
225
- content :
226
- application/json : {}
227
- get :
228
- tags :
229
- - default
230
- summary : Get alert for a stream
231
- security :
232
- - basicAuth : []
233
- parameters :
234
- - name : stream_name
235
- in : path
236
- schema :
237
- type : string
238
- required : true
239
- responses :
240
- ' 200 ' :
241
- description : Successful response
242
- content :
243
- application/json : {}
244
134
/api/v1/query :
245
135
post :
246
136
tags :
@@ -286,16 +176,6 @@ paths:
286
176
security :
287
177
- basicAuth : []
288
178
parameters :
289
- - name : X-P-META-Test
290
- in : header
291
- schema :
292
- type : string
293
- example : hello
294
- - name : X-P-META-another-test
295
- in : header
296
- schema :
297
- type : string
298
- example : wow
299
179
- name : X-P-Stream
300
180
in : header
301
181
schema :
You can’t perform that action at this time.
0 commit comments