Skip to content

Commit 01d7bee

Browse files
committed
Removed few parts
1 parent 95ff505 commit 01d7bee

File tree

1 file changed

+0
-120
lines changed

1 file changed

+0
-120
lines changed

parseable-open-api-schema.yaml

Lines changed: 0 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,6 @@ paths:
7373
security:
7474
- basicAuth: []
7575
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
8676
- name: stream_name
8777
in: path
8878
schema:
@@ -141,106 +131,6 @@ paths:
141131
description: Successful response
142132
content:
143133
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: {}
244134
/api/v1/query:
245135
post:
246136
tags:
@@ -286,16 +176,6 @@ paths:
286176
security:
287177
- basicAuth: []
288178
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
299179
- name: X-P-Stream
300180
in: header
301181
schema:

0 commit comments

Comments
 (0)