Currently, /data-sourcesPOST does not allow you to also stipulate linked agencies. The only option is to call a separate endpoint, which could be a bit extra if we know the agencies at the time of data source creation. But we can fix that!
Requirements
Update /data-sourcesPOST so that agency id can be included as a parameter.
Context
Currently,
/data-sources
POST
does not allow you to also stipulate linked agencies. The only option is to call a separate endpoint, which could be a bit extra if we know the agencies at the time of data source creation. But we can fix that!Requirements
/data-sources
POST
so that agency id can be included as a parameter.Tests
/data-sources
POST
test to check for this.Docs
Open questions