-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yaml
65 lines (65 loc) · 1.71 KB
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
openapi: 3.0.1
info:
title: Pod Nug
description: A plugin for summarizing youtube podcasts provided by the user, allowing them to prompt it with questions and discover the key episode insights.
version: "v1"
servers:
- url: http://localhost:5003
paths:
/podcasts:
get:
operationId: getPodcast
summary: Get the podcast
description: Get the podcast
parameters:
- in: query
name: podcast
schema:
type: string
description: podcast
- in: query
name: prompt
schema:
type: string
description: user prompt
responses:
"200":
description: OK
content:
text/plain:
schema:
type: string
# openapi: 3.0.1
# info:
# title: Pod Nug
# description: A plugin for summarizing youtube podcasts provided by the user, allowing them to prompt it with questions and discover the key episode insights.
# version: 'v1'
# servers:
# - url: http://localhost:5003
# paths:
# /podcasts/{podcast}:
# get:
# operationId: getPodcast
# summary: Get the podcast
# parameters:
# - in: path
# name: podcast
# schema:
# type: url
# required: true
# description: The name of the podcast
# responses:
# "200":
# description: OK
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/getPodcastResponse'
# components:
# schemas:
# getPodcastResponse:
# type: object
# properties:
# podcast:
# type: string
# description: the transcript of the podcast to return