Skip to content

Add support for Patch endpoints#291

Merged
jonhealy1 merged 79 commits into
stac-utils:mainfrom
rhysrevans3:patch_endpoints
Jun 20, 2025
Merged

Add support for Patch endpoints#291
jonhealy1 merged 79 commits into
stac-utils:mainfrom
rhysrevans3:patch_endpoints

Conversation

@rhysrevans3

@rhysrevans3 rhysrevans3 commented Aug 29, 2024

Copy link
Copy Markdown
Collaborator

Description:
Adds PATCH endpoints to transaction extension. Adds support for RFC 6902 and RFC 7396. Pivots on header Content-Type value.

Related pull requests:

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
  • Changes are added to the changelog

@rhysrevans3
rhysrevans3 marked this pull request as ready for review June 11, 2025 09:21
@rhysrevans3

Copy link
Copy Markdown
Collaborator Author

@jonhealy1 this is ready for review but is pinned to a pull request for stac-fastapi we'll have to wait for the next release if we want to avoid that.

@rhysrevans3
rhysrevans3 requested a review from jonhealy1 June 11, 2025 09:59
@jonhealy1

Copy link
Copy Markdown
Collaborator

@rhysrevans3 Adding patch endpoints is pretty epic.

@jonhealy1

jonhealy1 commented Jun 11, 2025

Copy link
Copy Markdown
Collaborator

One thing to note. Anything elasticsearch-related from core needs to be moved to sfeos_helpers now. Sorry for doing this in the middle of this work. Core now is only for code that is database-agnostic and may be useful for other databases besides for just es/os.

Some of the shared code from database_logic in elasticsearch and opensearch could also theoretically be moved to sfeos_helpers.

@rhysrevans3

Copy link
Copy Markdown
Collaborator Author

@jonhealy1 thanks for the reminder I've had a go at moving bits to sfeos_helpers let me know if I've moved anything to the wrong place.

@jonhealy1 jonhealy1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Nice work!!

@jonhealy1 jonhealy1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Nice work!!

@jamesfisher-geo jamesfisher-geo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! This is a great addition

@jonhealy1
jonhealy1 merged commit a891cfa into stac-utils:main Jun 20, 2025
15 checks passed
@jonhealy1 jonhealy1 mentioned this pull request Jun 22, 2025
jonhealy1 added a commit that referenced this pull request Jun 22, 2025
### Added

- Added support for PATCH update through [RFC
6902](https://datatracker.ietf.org/doc/html/rfc6902) and [RFC
7396](https://datatracker.ietf.org/doc/html/rfc7396)
[#291](#291)

### Changed

- Updated stac-fastapi parent libraries to v6.0.0
[#291](#291)
@rhysrevans3
rhysrevans3 deleted the patch_endpoints branch June 23, 2025 07:08
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