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

Allow updating of objects #26

Open
ojongerius opened this issue Oct 26, 2017 · 1 comment
Open

Allow updating of objects #26

ojongerius opened this issue Oct 26, 2017 · 1 comment

Comments

@ojongerius
Copy link
Member

ojongerius commented Oct 26, 2017

We currently check if an object exists, and if so, assume it is up to date.

Let's add functionality to update objects. This could be by supported in range of ways 2, not mutually exclusive options are to:

  • Add support for PUT to replace an object with another version.
  • Add support for PATCH to update the object in place.

Supporting PATCH is a little more subtle, and updating using it requires diffing the remote and local object, before PATCHING the remote object with the differences. PUT is brute force but will involve more network traffic.

@ojongerius
Copy link
Member Author

ojongerius commented Nov 8, 2017

both PUT and PATCH have been implemented and are documented at https://www.vol.community/api/swagger (needs auth to be visible)

@ojongerius ojongerius reopened this Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant