ecosystem_quick_setup
Set up project ecosystem data sources and scan profiles by recording source rows and saving default or custom profile settings.
Instructions
Record data-source and scan-profile rows for the project.
Creates one DataSource row per entry in sources and persists either
the default ScanProfile or the merged custom_profile override. No
scan reads these rows: ecosystem_index_update takes its query set,
star floor and alert threshold from the project's ecosystem settings
(Dashboard ecosystem settings panel), and only GitHub is scanned. So
calling this does not change what the next index update discovers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queries | No | Keyword / topic list applied to every created data source's ``config.queries`` field. Optional. | |
| sources | No | Data source kinds to record. Must each be a valid ``DataSourceKind`` value (github / huggingface / npm / pypi / hackernews / producthunt / arxiv / custom); only github is ever scanned. Defaults to ``['github']`` when empty. | |
| use_defaults | No | When True (default), persist the built-in default ScanProfile. When False, the API merges ``custom_profile`` over the defaults. | |
| custom_profile | No | Advanced override dict; ignored when ``use_defaults=True``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||