π οΈ Create DataSource
π Endpoints Required
ποΈ Data Schema
Describe or paste the expected request/response shape below.
{
name: string,
description: string,
url: string <optional>,
tags: string[],
allowAggregation: boolean
}
β
Acceptance Criteria
π Auth & Permissions
N/A
π Related
π¬ Additional Context
This Endpoint will require writing data into two tables: datasets.data_sources and advocacy_group_data_sources. The constructor for the latter junction table will be like this:
{
advocacy_group_id: number,
data_source_id: number
}
π οΈ Create DataSource
π Endpoints Required
POST/api/v1/advocacy_groups/:id/data_sources/β create resourceποΈ Data Schema
Describe or paste the expected request/response shape below.
{ name: string, description: string, url: string <optional>, tags: string[], allowAggregation: boolean }β Acceptance Criteria
π Auth & Permissions
N/A
π Related
π¬ Additional Context
This Endpoint will require writing data into two tables:
datasets.data_sourcesandadvocacy_group_data_sources. The constructor for the latter junction table will be like this: