Soundmachine API
INTRO
API documentation of https://foutaise.org/soundmachine/
GET https://foutaise.org/soundmachine/api/v1/help
Display this API documentation.
Response
text/html
GET https://foutaise.org/soundmachine/api/v1/sounds
List available sounds.
Response
application/json: array of sound names
Example
curl https://foutaise.org/soundmachine/api/v1/sounds
GET https://foutaise.org/soundmachine/api/v1/sounds/{sound}
Return the mp3 file for a sound
URI parameter
sound: string (required)
Name of the sound to retrieve.
Response
audio/mpeg
Example
mpv https://foutaise.org/soundmachine/api/v1/sounds/fart