Skip to content

refactor: remove ingest_api/items and ItemPublisher class#585

Merged
stephenkilbourn merged 2 commits intomainfrom
chore/Remove-ingest-api-items-endpoint
Apr 16, 2026
Merged

refactor: remove ingest_api/items and ItemPublisher class#585
stephenkilbourn merged 2 commits intomainfrom
chore/Remove-ingest-api-items-endpoint

Conversation

@stephenkilbourn
Copy link
Copy Markdown
Collaborator

Issue

closes #568

What?

remove ingest_api/items api route from ingest_api/runtime/src/main.py and ItemPublisher class from ingest_api/runtime/src/collection_publisher.py

Why?

Remove the items endpoint from the ingest API because it is unmaintained and duplicates functionality better covered in the stac-api. Users now have the option to use stac-api transactions for item operations.

@stephenkilbourn stephenkilbourn changed the title remove ingest_api/items and ItemPublisher class refactor: remove ingest_api/items and ItemPublisher class Apr 1, 2026
@stephenkilbourn
Copy link
Copy Markdown
Collaborator Author

the test was failing until I updated the Search viewer in stac_api/runtime/src/app.py. from what I can tell, older Starlette versions used positional args (template_name, context, ...), but newer versions expect named parameters (request=..., name=..., context=...). The old positional style failed silently with a 500 during rendering.

@stephenkilbourn stephenkilbourn merged commit 195761f into main Apr 16, 2026
4 checks passed
@stephenkilbourn stephenkilbourn deleted the chore/Remove-ingest-api-items-endpoint branch April 16, 2026 18:07
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.

3 participants