Second, I recommend changing the transcript attribute to return a full URL, not just a path. This makes it a little easier to use because the client only needs the JSON, not information about where the JSON came from.
This does slightly complicate generation since you either have to hardcode in the domain (drake no) or make it reliant on an env var (drake aha) but that seems like a worthwhile trade-off.
First, amazing work! 👏
Second, I recommend changing the
transcript
attribute to return a full URL, not just a path. This makes it a little easier to use because the client only needs the JSON, not information about where the JSON came from.This does slightly complicate generation since you either have to hardcode in the domain (drake no) or make it reliant on an env var (drake aha) but that seems like a worthwhile trade-off.
Happy to submit this as a PR if desired.
https://github.com/openva/court-audio/blob/13d34f380cc8b54d8c397e45e82f76dff9dd1e16/linker.sh#L24