{"info":{"title":"SourceScout","version":"1.0.0"},"openapi":"3.0.1","paths":{"/find_diverse_sources":{"get":{"operationId":"findDiverseSources","parameters":[{"description":"The topic that the user wants to find sources related to.  Keep it general.","in":"query","name":"subject","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"addedDate":{"description":"When this source was added to the database.","type":"string"},"excerpt":{"description":"A brief description of the source and their expertise.","type":"string"},"image":{"description":"A url to an image of the person.","type":"string"},"location":{"description":"Where the source is located.","type":"string"},"name":{"description":"The name of the person/source.","type":"string"},"subjects":{"items":{"description":"Name of the subject that the source is an expert in.","type":"string"},"type":"array"}},"type":"object"},"type":"array"},"reference":{"properties":{"name":{"description":"The name of where the data is coming from.","type":"string"},"url":{"description":"The url to where the data is coming from.","type":"string"}},"type":"object"}},"type":"object"}}},"description":"Successful operation."},"400":{"description":"Bad request. Invalid parameters."},"500":{"description":"Internal server error. Unable to fetch data from the external API."}},"summary":"Use NPR Diverse Sources database to find new sources."}},"/find_recent_papers":{"get":{"operationId":"findRecentPapers","parameters":[{"description":"The topic that the user wants to find papers on.","in":"query","name":"subject","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"abstract":{"description":"The abstract of the paper.","type":"string"},"authors":{"items":{"properties":{"affiliations":{"items":{"description":"Name of the affiliated institution.","type":"string"},"type":"array"},"citationCount":{"description":"Number of times they have been cited by other authors.","type":"integer"},"name":{"description":"Name of the author.","type":"string"},"paperCount":{"description":"Number of papers published.","type":"integer"}},"type":"object"},"type":"array"},"publicationDate":{"description":"The date of publication for the paper.","type":"string"},"title":{"description":"The title of the paper.","type":"string"},"url":{"description":"The url to the paper on Semantic Scholar.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}},"description":"Successful operation."},"400":{"description":"Bad request. Invalid parameters."},"500":{"description":"Internal server error. Unable to fetch data from the external API."}},"summary":"Retrieve a list of recent papers on a given subject."}}},"servers":[{"url":"https://chatgpt.mediareadyai.com"}]}
