Skip to content

Commit 95ff505

Browse files
committed
Fixed the error with duplicate entires
1 parent ffd1a21 commit 95ff505

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

parseable-open-api-schema.yaml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
description: |-
66
The schema contains API for Parseable OSS and Enterprise few of the API end points are only limited to enterprise version.
77
servers:
8-
- url: http://{{endpoint}}
8+
- url: http://demo.parseable.com/
99
components:
1010
securitySchemes:
1111
basicAuth:
@@ -51,6 +51,48 @@ paths:
5151
description: Successful response
5252
content:
5353
application/json: {}
54+
post:
55+
tags:
56+
- default
57+
summary: Send logs to a log stream URL
58+
requestBody:
59+
content:
60+
application/json:
61+
schema:
62+
type: object
63+
example:
64+
- id: 434a5f5e-2f5f-11ed-a261-asdasdafgdfd
65+
datetime: 24/Jun/2022:14:12:15 +0000
66+
host: 153.10.110.81
67+
user-identifier: >-
68+
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:64.0)
69+
Gecko/20100101 Firefox/64.0
70+
method: PUT
71+
status: 500
72+
referrer: http://www.google.com/
73+
security:
74+
- basicAuth: []
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+
- name: stream_name
87+
in: path
88+
schema:
89+
type: string
90+
required: true
91+
responses:
92+
'200':
93+
description: Successful response
94+
content:
95+
application/json: {}
5496
/api/v1/logstream:
5597
get:
5698
tags:
@@ -220,49 +262,7 @@ paths:
220262
description: Successful response
221263
content:
222264
application/json: {}
223-
/api/v1/logstream/{stream_name}:
224-
post:
225-
tags:
226-
- default
227-
summary: Send logs to a log stream URL
228-
requestBody:
229-
content:
230-
application/json:
231-
schema:
232-
type: object
233-
example:
234-
- id: 434a5f5e-2f5f-11ed-a261-asdasdafgdfd
235-
datetime: 24/Jun/2022:14:12:15 +0000
236-
host: 153.10.110.81
237-
user-identifier: >-
238-
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:64.0)
239-
Gecko/20100101 Firefox/64.0
240-
method: PUT
241-
status: 500
242-
referrer: http://www.google.com/
243-
security:
244-
- basicAuth: []
245-
parameters:
246-
- name: X-P-META-Test
247-
in: header
248-
schema:
249-
type: string
250-
example: hello
251-
- name: X-P-META-another-test
252-
in: header
253-
schema:
254-
type: string
255-
example: wow
256-
- name: stream_name
257-
in: path
258-
schema:
259-
type: string
260-
required: true
261-
responses:
262-
'200':
263-
description: Successful response
264-
content:
265-
application/json: {}
265+
266266
/api/v1/ingest:
267267
post:
268268
tags:

0 commit comments

Comments
 (0)