Add unauthenticated feed definition.

This commit is contained in:
Kavin 2022-10-17 14:46:07 +01:00
parent 26788736c1
commit 0182192d90
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -339,6 +339,42 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ExceptionError"
/feed/unauthenticated:
get:
tags:
- unauthenticated
summary: Generate a feed while unauthenticated, from a list of channelIds.
operationId: feedUnauthenticated
description: |
Generates a user feed while unauthenticated.
parameters:
- in: query
name: channels
description: A list of channelIds to generate a feed from.
required: true
explode: false
schema:
type: array
items:
type: string
example:
- UCs6KfncB4OV6Vug4o_bzijg
- UClcE-kVhqyiHCcjYwcpfj9w
responses:
"200":
description: The video items from the feed.
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/StreamItem"
"500":
description: Server Side exception
content:
application/json:
schema:
$ref: "#/components/schemas/ExceptionError"
components:
schemas:
Regions: