From 0182192d90b1d92519e4cb55e1d00871eb8496fe Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 17 Oct 2022 14:46:07 +0100 Subject: [PATCH] Add unauthenticated feed definition. --- swagger.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/swagger.yaml b/swagger.yaml index 58b8134..e610ae3 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -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: