-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
281 lines (281 loc) · 10.6 KB
/
openapi.yaml
File metadata and controls
281 lines (281 loc) · 10.6 KB
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
openapi: 3.0.4
info:
title: Spelling Bee Generator
description: >-
Spelling Bee Generator creates word puzzles with 7 letters where players
form words using a required center letter.
termsOfService: https://apiverve.com/terms/
contact:
name: APIVerve Support
email: hello@apiverve.com
url: https://apiverve.com/contact
version: 1.0.0
externalDocs:
description: Learn more about APIVerve
url: https://docs.apiverve.com?utm_source=openapi
servers:
- url: https://api.apiverve.com/
paths:
/v1/spellingbee:
get:
summary: Generate Spelling Bee
description: Create a spelling bee puzzle
operationId: spellingbee
parameters:
- name: difficulty
in: query
schema:
type: string
required: false
description: 'Difficulty: easy, medium, hard (affects word count)'
example: medium
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
properties:
status:
type: string
description: status
error:
type: string
description: error
data:
type: object
description: data
example:
status: ok
error: null
data:
centerLetter: A
outerLetters:
- C
- H
- E
- J
- O
- D
allLetters:
- A
- C
- H
- E
- J
- O
- D
difficulty: medium
wordCount: 53
pangramCount: 0
maxPoints: 200
words:
- word: DEADHEADED
points: 10
isPangram: false
- word: COHEADED
points: 8
isPangram: false
- word: DEADHEAD
points: 8
isPangram: false
- word: HEADACHE
points: 8
isPangram: false
- word: ACCEDED
points: 7
isPangram: false
- word: COACHED
points: 7
isPangram: false
- word: ACCEDE
points: 6
isPangram: false
- word: AHCHOO
points: 6
isPangram: false
- word: CACHED
points: 6
isPangram: false
- word: COHEAD
points: 6
isPangram: false
- word: DADOED
points: 6
isPangram: false
- word: DECADE
points: 6
isPangram: false
- word: DOODAD
points: 6
isPangram: false
- word: HADJEE
points: 6
isPangram: false
- word: HEADED
points: 6
isPangram: false
- word: AAHED
points: 5
isPangram: false
- word: ACHED
points: 5
isPangram: false
- word: ACHOO
points: 5
isPangram: false
- word: ADDED
points: 5
isPangram: false
- word: AHEAD
points: 5
isPangram: false
- word: CACAO
points: 5
isPangram: false
- word: CACHE
points: 5
isPangram: false
- word: CAECA
points: 5
isPangram: false
- word: COACH
points: 5
isPangram: false
- word: COCOA
points: 5
isPangram: false
- word: DACHA
points: 5
isPangram: false
- word: HADED
points: 5
isPangram: false
- word: HODAD
points: 5
isPangram: false
- word: JADED
points: 5
isPangram: false
- word: JEHAD
points: 5
isPangram: false
- word: ACED
points: 1
isPangram: false
- word: ACHE
points: 1
isPangram: false
- word: AHED
points: 1
isPangram: false
- word: AJEE
points: 1
isPangram: false
- word: CACA
points: 1
isPangram: false
- word: CADE
points: 1
isPangram: false
- word: CECA
points: 1
isPangram: false
- word: CHAD
points: 1
isPangram: false
- word: CHAO
points: 1
isPangram: false
- word: COCA
points: 1
isPangram: false
- word: CODA
points: 1
isPangram: false
- word: DACE
points: 1
isPangram: false
- word: DADA
points: 1
isPangram: false
- word: DADO
points: 1
isPangram: false
- word: DEAD
points: 1
isPangram: false
- word: EACH
points: 1
isPangram: false
- word: HADE
points: 1
isPangram: false
- word: HADJ
points: 1
isPangram: false
- word: HAED
points: 1
isPangram: false
- word: HAHA
points: 1
isPangram: false
- word: HAJJ
points: 1
isPangram: false
- word: HEAD
points: 1
isPangram: false
- word: JADE
points: 1
isPangram: false
html: >-
<html><head><title>Spelling Bee</title><style>body
{font-family: Arial, sans-serif; padding: 20px; max-width:
500px; margin: 0 auto; text-align: center;}h1 {color:
#F9A825;}.honeycomb {display: flex; flex-wrap: wrap;
justify-content: center; max-width: 200px; margin: 30px
auto;}.hex {width: 60px; height: 52px; background: #E0E0E0;
margin: 2px; display: flex; align-items: center;
justify-content: center; font-size: 24px; font-weight: bold;
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0%
75%, 0% 25%);}.hex.center {background: #F9A825; color:
white;}.stats {margin: 20px 0; font-size: 14px; color:
#666;}.rules {text-align: left; background: #FFF8E1;
padding: 15px; border-radius: 10px; margin-top: 20px;}.rules
h3 {margin-top: 0; color: #F9A825;}.rules ul {margin: 0;
padding-left: 20px;}</style></head><body><h1>Spelling
Bee</h1><div class='honeycomb'><div class='hex
center'>A</div><div class='hex'>C</div><div
class='hex'>H</div><div class='hex'>E</div><div
class='hex'>J</div><div class='hex'>O</div><div
class='hex'>D</div></div><div class='stats'>53 words | 200
possible points</div><div class='rules'><h3>How to
Play:</h3><ul><li>Create words using the letters
shown</li><li>Words must contain the center letter
(yellow)</li><li>Words must be at least 4 letters
long</li><li>Letters can be used more than
once</li><li>4-letter words = 1 point</li><li>Longer words =
1 point per letter</li><li>Pangrams (use all 7 letters) = +7
bonus points</li></ul></div></body></html>
image:
imageName: 0f8f8f2c-ac7d-46f9-b5fc-e2d777117f13.png
format: .png
downloadURL: >-
https://storage.googleapis.com/apiverve/APIData/spellingbee/0f8f8f2c-ac7d-46f9-b5fc-e2d777117f13.png?GoogleAccessId=635500398038-compute%40developer.gserviceaccount.com&Expires=1766010561&Signature=cHvKHU7wb0RwJKVI6FGIS8%2B8%2BencmsoWEuH%2FT2cQsUjPTY%2FFLhSzipEyHex5HCEg5q8jEiRB3wZDXF9lyONQTVSNdZp0Xpm6Fw69tZZDvCeHePwa1v0h0rktZ6PLSbRswtr0vlHDZL3JPBl7i%2FsxM8QxTdGDOs7cyULy3d9qEyuPPIEDkOF1cnQce2qThIhZ%2BHieQNsBVX193NhyeCrgfRVQVPiFYo4ngSbOrMJKpVm2aSbtykG6Hyw%2B8RnQqkBqA5JB8XaB2ESBg0ZU8ldZUNoHd4cMoC2Oz4rI5FkLuQ2tzju9FVsxsCXiVvJCPd9jsWOlhQ7T1NVp%2FwV107k38w%3D%3D
expires: 1766010561052
'401':
description: Your request was not authorized, or your API Key was invalid
'404':
description: Requested resource was not found
'500':
description: A server error has occurred, try again later
components:
securitySchemes:
api_key:
type: apiKey
name: x-api-key
in: header
security:
- api_key: []