Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return added Item/Collection in Transactions response #424

Merged
merged 15 commits into from
Aug 2, 2022

Conversation

duckontheweb
Copy link
Contributor

@duckontheweb duckontheweb commented Jul 19, 2022

Related Issue(s):

Description:

Updates stac_fastapi.pgstac.transactions.TransactionsClient to return the Item or Collection from the Transactions endpoints as it would appear in a subsequent GET call. This means that self and root links point to the API rather than the original HREFs provided in the request.

I did not see any places where the documentation needed updating, but let me know if I missed anything.

PR Checklist:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable, and docs build successfully (run make docs)
  • Changes are added to the CHANGELOG.

duckontheweb added a commit that referenced this pull request Jul 19, 2022
duckontheweb added a commit that referenced this pull request Jul 21, 2022
@duckontheweb duckontheweb force-pushed the fix/423-transactions-response branch from d4a38ab to 7f58035 Compare July 21, 2022 20:38
duckontheweb added a commit that referenced this pull request Aug 1, 2022
@duckontheweb duckontheweb force-pushed the fix/423-transactions-response branch from f7916fd to 040d930 Compare August 1, 2022 19:20
@duckontheweb duckontheweb force-pushed the fix/423-transactions-response branch from 040d930 to e06bbdc Compare August 2, 2022 14:20
@geospatial-jeff geospatial-jeff merged commit e6b353a into master Aug 2, 2022
@geospatial-jeff geospatial-jeff deleted the fix/423-transactions-response branch August 2, 2022 18:00
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.

Transactions endpoint responses include incorrect links
2 participants