mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
add pull status SSE to API.
This commit is contained in:
+18
@@ -313,6 +313,24 @@ paths:
|
||||
description: OK
|
||||
'500':
|
||||
description: Internal server error
|
||||
/api/pull/sse:
|
||||
get:
|
||||
tags:
|
||||
- default
|
||||
summary: Get pull status as SSE
|
||||
operationId: pullStatusSSE
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
text/event-stream:
|
||||
schema:
|
||||
type: array
|
||||
format: event-stream
|
||||
items:
|
||||
$ref: '#/components/schemas/PullLayer'
|
||||
'500':
|
||||
description: Internal server error
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
||||
Reference in New Issue
Block a user