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 entity update #73

Closed
lognaturel opened this issue Apr 18, 2024 · 0 comments · Fixed by #84
Closed

Add entity update #73

lognaturel opened this issue Apr 18, 2024 · 0 comments · Fixed by #84
Milestone

Comments

@lognaturel
Copy link
Member

lognaturel commented Apr 18, 2024

https://docs.getodk.org/central-api-entity-management/#updating-an-entity

Proposed parameters:

  • dataset name (required)
  • entity uuid (required)
  • one of boolean force or integer base_version (one required)
  • label (string, optional)
  • data (dictionary, optional)

I thought about defaulting force to True but that feels dangerous to me. I think it's best for a user to have to make an explicit decision around that.

I also thought about combining force and base_version but can't come up with anything that feels natural.

@lognaturel lognaturel added this to the Next milestone Apr 29, 2024
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 a pull request may close this issue.

1 participant