We want to be able to add data directly into our directory of information sources. Create sources_archive.jsonl using the JSON Lines data format and a cfunction that adds data in the format proposed by the PRD in the Engineering Details section (https://docs.google.com/document/d/17QpEdYUS41PH88iS2k875Y36Y7y7jun3wxnA4UPxJqM/edit#). The function should take as parameters: url, source_id, url_type, and api_type. url_type and api_type are optional.
We want to be able to add data directly into our directory of information sources.
Create sources_archive.jsonl using the JSON Lines data format and a cfunction that adds data in the format proposed by the PRD in the Engineering Details section (https://docs.google.com/document/d/17QpEdYUS41PH88iS2k875Y36Y7y7jun3wxnA4UPxJqM/edit#).
The function should take as parameters: url, source_id, url_type, and api_type. url_type and api_type are optional.