Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.
/ audio-purger Public archive

Purge an audio file (TTS) and associated metadata

Notifications You must be signed in to change notification settings

ftlabs/audio-purger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio-purger

Use this service to delete all associated audio files and metadata for a given UUID.

Usage

curl -X DELETE --header 'token: <abcdef>' 'http://local.ft.com:3000/purge/<uuid>'

Development

## Environment variables

Ensure the following env vars are set:

  • TOKEN [required] - the access token required to use the service

  • AWS_AUDIO_BUCKET [required]

  • AWS_AUDIO_METADATA_TABLE [required]

  • AWS_ACCESS_TOKEN [required]

  • AWS_SECRET_ACCESS_KEY [required]

  • FT_AVAILABILITY_SERVICE_URL [required]

  • AWS_REGION [optional] - defaults to 'us-west-2'

  • PORT [optional] - defaults to 3001

About

Purge an audio file (TTS) and associated metadata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published