summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/sounds.json20
1 files changed, 15 insertions, 5 deletions
diff --git a/rest-api/api-docs/sounds.json b/rest-api/api-docs/sounds.json
index 23d02257d..06d84ea7e 100644
--- a/rest-api/api-docs/sounds.json
+++ b/rest-api/api-docs/sounds.json
@@ -58,6 +58,19 @@
}
],
"models": {
+ "FormatLangPair": {
+ "id": "FormatLangPair",
+ "properties": {
+ "language": {
+ "required": true,
+ "type": "string"
+ },
+ "format": {
+ "required": true,
+ "type": "string"
+ }
+ }
+ },
"Sound": {
"id": "Sound",
"properties": {
@@ -71,13 +84,10 @@
"description": "Text description of the sound, usually the words spoken.",
"type": "string"
},
- "lang": {
- "required": true,
- "type": "string"
- },
"formats": {
"required": true,
- "type": "List[string]"
+ "description": "The formats and languages in which this sound is available.",
+ "type": "List[FormatLangPair]"
}
}
}