-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi2-functions.yaml
156 lines (152 loc) · 4.13 KB
/
openapi2-functions.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
swagger: "2.0"
info:
title: chattalker backend
description: API of chat message talker on Twitch for OBS and so on
version: 0.1.0
schemes:
- https
produces:
- application/json
securityDefinitions:
firebase:
authorizationUrl: ""
flow: "implicit"
type: "oauth2"
x-google-issuer: "https://securetoken.google.com/chattalker"
x-google-jwks_uri: "https://www.googleapis.com/service_accounts/v1/metadata/x509/[email protected]"
x-google-audiences: "chattalker"
paths:
/text-to-speech:
get:
summary: Text-to-speech
operationId: text-to-speech
x-google-backend:
address: https://text-to-speech-bf7bhumxka-uc.a.run.app
produces:
- multipart/form-data
security:
- firebase: []
parameters:
- in: query
name: text
type: string
- in: query
name: "voice[en]"
type: string
- in: query
name: "voice[ja]"
type: string
- in: query
name: "voice[und]"
type: string
responses:
"200":
description: A successful response
schema:
type: object
properties:
audioContent:
type: string
language:
type: string
"204":
description: Keep Alive
options:
summary: Text-to-speech Preflight
operationId: text-to-speech-preflight
x-google-backend:
address: https://text-to-speech-bf7bhumxka-uc.a.run.app
responses:
"204":
description: A successful response
/youtube-oauth2callback:
get:
summary: YouTube OAuth2 Callback
operationId: youtube-oauth2callback
x-google-backend:
address: https://youtube-oauth2callback-bf7bhumxka-uc.a.run.app
security:
- firebase: []
parameters:
- in: query
name: code
type: string
- in: query
name: redirectUri
type: string
responses:
"200":
description: A successful response
schema:
type: object
properties:
access_token:
type: string
expires_in:
type: integer
refresh_token:
type: string
scope:
type: string
token_type:
type: string
options:
summary: YouTube OAuth2 Callback Preflight
operationId: youtube-oauth2callback-preflight
x-google-backend:
address: https://youtube-oauth2callback-bf7bhumxka-uc.a.run.app
responses:
"204":
description: A successful response
/youtube-oauth2refresh:
get:
summary: YouTube OAuth2 Refresh
operationId: youtube-oauth2refresh
x-google-backend:
address: https://youtube-oauth2refresh-bf7bhumxka-uc.a.run.app
security:
- firebase: []
parameters:
- in: query
name: refreshToken
type: string
responses:
"200":
description: A successful response
schema:
type: object
properties:
access_token:
type: string
expires_in:
type: integer
scope:
type: string
token_type:
type: string
options:
summary: YouTube OAuth2 Refresh Preflight
operationId: youtube-oauth2refresh-preflight
x-google-backend:
address: https://youtube-oauth2refresh-bf7bhumxka-uc.a.run.app
responses:
"204":
description: A successful response
/authenticate-with-token:
get:
summary: Authenticate with token
operationId: authenticate-with-token
x-google-backend:
address: https://authenticate-with-token-bf7bhumxka-uc.a.run.app
parameters:
- in: query
name: token
type: string
- in: query
name: uid
type: string
responses:
"200":
description: A successful response
schema:
type: string