{"apiVersion":"5.1.1","swaggerVersion":"1.1","basePath":"https://api.composer.nprstations.org/v1","resourcePath":"/util","apis":[{"path":"/util/episode/fix/parentID","description":"temp","operations":[{"parameters":[],"httpMethod":"GET","notes":"This is a will find and updated the Episode parent ID (as a ObjectID) for any               a specific parent ID. This is designed to fix a problem in the initial               data import for a given UCS.","errorResponses":[{"code":500,"reason":"server error "}],"nickname":"EpisodeFixProgramIsParent","summary":"Fix Episode 'parentID' to ObjectID","customFields":{"description":"temp","path":"/util/episode/fix/parentID","method":"GET","params":[],"preliminaryCallbacks":[null],"requestSignature":"token"},"responseClass":"void"}]},{"path":"/util/report/syndication","description":"temp","operations":[{"parameters":[{"name":"program","description":"Program ID","dataType":"string","paramType":"query"},{"name":"name","description":"Program Name","dataType":"string","paramType":"query"}],"httpMethod":"GET","notes":"This will generate a report of all syndicated programs and their individual statistics.              The 'program' value will filter for specific programs. The 'name' will filter for programs              by name.","errorResponses":[{"code":500,"reason":"server error "}],"nickname":"Get-Syndicated-Report","summary":"Report of Syndicated Programs and Statistics","customFields":{"description":"temp","path":"/util/report/syndication","method":"GET","params":[{"name":"program","description":"Program ID","dataType":"string","paramType":"query"},{"name":"name","description":"Program Name","dataType":"string","paramType":"query"}],"preliminaryCallbacks":[null],"requestSignature":"token"},"responseClass":"void"}]},{"path":"/util/program/fix/addIdToRecurrences","description":"Add _id to recurrences after importing streams via the ProgramsToMongo command line tool","operations":[{"parameters":[{"name":"ucs","description":"UCS ID (Optional)","dataType":"string","required":false,"paramType":"query"}],"httpMethod":"GET","notes":"Add _id to recurrences after importing streams via the ProgramsToMongo command line tool. UCS is required.","errorResponses":[{"code":500,"reason":"server error "}],"nickname":"add-id-recurrence","summary":"Add _id to recurrences after importing streams","customFields":{"description":"Add _id to recurrences after importing streams via the ProgramsToMongo command line tool","path":"/util/program/fix/addIdToRecurrences","method":"GET","params":[{"name":"ucs","description":"UCS ID (Optional)","dataType":"string","required":false,"paramType":"query"}],"preliminaryCallbacks":[null],"requestSignature":"token"},"responseClass":"void"}]},{"path":"/util/program/fix/deleteDupEpisodes","description":"Find programs with duplicate episodes and delete the dups","operations":[{"parameters":[{"name":"ucs","description":"UCS ID ","dataType":"string","required":true,"paramType":"query"}],"httpMethod":"GET","notes":"If UCS isn't specified, it will de-dup ALL UCSs","errorResponses":[{"code":500,"reason":"server error "}],"nickname":"delete-dup-episodes","summary":"Find programs with duplicate episodes and delete the dups","customFields":{"description":"Find programs with duplicate episodes and delete the dups","path":"/util/program/fix/deleteDupEpisodes","method":"GET","params":[{"name":"ucs","description":"UCS ID ","dataType":"string","required":true,"paramType":"query"}],"preliminaryCallbacks":[null],"requestSignature":"token"},"responseClass":"void"}]}],"models":{}}