Debian Codegraph @

wyoming/http/conf/wake.yaml

raw
1 ---
2 openapi: "3.0.0"
3 info:
4 title: 'Wyoming Wake'
5 version: '1.0.0'
6 description: 'API for Wake Word Detection'
7 paths:
8 /api/info:
9 get:
10 summary: 'Get service information'
11 responses:
12 '200':
13 description: OK
14 content:
15 application/json:
16 schema:
17 /api/detect-wake-word:
18 post:
19 summary: 'Detect if wake word(s) are in WAV audio'
20 requestBody:
21 description: 'WAV data (16-bit 16Khz mono preferred)'
22 required: true
23 content:
24 audio/wav:
25 schema:
26 type: string
27 format: binary
28 parameters:
29 - in: query
30 name: uri
31 description: 'URI of Wyoming wake service'
32 schema:
33 type: string
34 - in: query
35 name: wake_words
36 description: 'List of wake word names to check for'
37 required: false
38 schema:
39 type: array
40 items:
41 type: string
42 style: form
43 explode: true
44 example: ["okay_nabu"]
45 responses:
46 '200':
47 description: OK
48 content:
49 application/json:
50 schema:
51 type: object