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

Add patch method for subject #238

Open
walljcg opened this issue Aug 2, 2024 · 3 comments
Open

Add patch method for subject #238

walljcg opened this issue Aug 2, 2024 · 3 comments

Comments

@walljcg
Copy link
Collaborator

walljcg commented Aug 2, 2024

AS A user of the ecoscope core library
I WANT a method for patching my EarthRanger subjects
SO THAT I can update existing subjects

We need a patch method for subjects (similar to events) that lets us update an existing subject

@walljcg walljcg self-assigned this Aug 2, 2024
@walljcg walljcg removed their assignment Jan 20, 2025
@atmorling
Copy link
Contributor

I've changed this from Feature to Sub-Task because this is quire small and self-contained.

@atmorling
Copy link
Contributor

Now that I've said that - a quick glance at https://mep-dev.pamdas.org/api/v1.0/docs/interactive/ suggests that no patch endpoint exists on the ER API for subjects, there is a POST method which we should probably test to see if it will allow updating an existing subject. If not we're potentially blocked on this.

@cisaacstern
Copy link
Contributor

cisaacstern commented Feb 5, 2025

@walljcg is this related to some feature on ecoscope platform? Or is this simply a convenience for ecoscope core library users (e.g. in a notebook context)? @atmorling and I have removed this from v3 on the assumption this is not relevant to the platform specifically, please revise if we are mistaken.

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

No branches or pull requests

3 participants