Skip to content

Add a map_item endpoint #601

Merged
dale-wahl merged 2 commits into
masterfrom
feature/map-item-endpoint
May 27, 2026
Merged

Add a map_item endpoint #601
dale-wahl merged 2 commits into
masterfrom
feature/map-item-endpoint

Conversation

@dale-wahl
Copy link
Copy Markdown
Member

New API endpoint for running and validating a datasource's map_item function against individual items via HTTP. This is particularly useful for Zeeschuimer to check auto-generated JS and Python implementations.

  • Added webtool/views/api_map_item.py, which provides two endpoints: one to list datasources supporting map_item, and another to run map_item on a single item.
  • Introduced format_import_item in common/lib/helpers.py to standardize the transformation of imported items, so both the API endpoint and file imports use the same logic.

@dale-wahl dale-wahl merged commit 77db5ac into master May 27, 2026
3 checks passed
@dale-wahl dale-wahl deleted the feature/map-item-endpoint branch May 27, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant