refresh_index
Re-harvests the CKAN-meta archive to update the mod index. Checks for upstream changes to skip redundant work, or force a complete re-index when necessary.
Instructions
Re-harvest the CKAN-meta archive to update the mod index.
By default, this is a no-op if nothing has changed upstream (ETag check). Use force=True to bypass the check and rebuild unconditionally.
Args: force: Bypass ETag check and re-download/re-index everything.
Returns JSON with harvest result: status ("skipped" or "updated") and stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |