task

task (string): This param determines which utility task to run.


createSundayStream

Creates pre-configured media items in the media db for the Sunday AM and PM service. Will create an AM/PM service for every week between now and 5 weeks from now. Will skip if a worship service media item already exists.

https://api.countrysidebible.org/utility?task=createSundayStream

fileUpdate

Compares media entries to the files in S3. Makes updates to the database if there are discrepencies.

https://api.countrysidebible.org/utility?task=fileUpdate

You can narrow the list by any of the other media filters. For example, you can update a single media item by specifying a single media code:

https://api.countrysidebible.org/utility?task=fileUpdate&mediacode=20051105a1_c-wks

Or you can update every media item in a given series by specifying a series ID:

https://api.countrysidebible.org/utility?task=fileUpdate&seriesID=124

addTranscript

Adds a draft transcript for a media item.

https://api.countrysidebible.org/utility?task=addTranscript

Requires Auth. Accepts POST. Requires 2 params in post body: mediacode and transcriptText.