add pull status SSE to API.

This commit is contained in:
Miroslav Šedivý
2023-10-01 18:16:05 +02:00
parent c620c70d51
commit 9a30f29c93
7 changed files with 169 additions and 1 deletions
+18
View File
@@ -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: