-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
2 / 22 of 2 issues completedLabels
Description
When URLs are finally approved, we should not submit them right away, but store them to be submitted as a task
Workflow
- SC retrieves all sources labeled as
approvedandrelevantin the database, along with the user ID of the approving user - SC routes these sources to the Data Sources App
- Once confirmed as approved in the API response, SC marks the source as
submittedin the source collector database.
Internal Logic
The entry submitted to the /data-sources endpoint will receive additional details, including:
record_type: Provided by final reviewagency_id: If any, provided by final reviewurl_status:okapproval_status:approvedname: Provided by final review, see Create logic for auto-providing name, description, other data sources metadata, where applicable. #158description: Provided by final review, see Create logic for auto-providing name, description, other data sources metadata, where applicable. #158submission_notes: "Collected by{collector_name}collector, url_id:{sc-url-id}
The properties to be provided will be comparatively sparse compared to the full array of options available in the data_sources table or the /data-sources GET endpoint, lacking details such as detail_level, agency_originated, and so on. These would need to be amended at a later point.
Sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done