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

[Manifest] About some operations (like LOCK, EXPIRE etc) #44

Closed
imclint21 opened this issue Dec 31, 2019 · 1 comment
Closed

[Manifest] About some operations (like LOCK, EXPIRE etc) #44

imclint21 opened this issue Dec 31, 2019 · 1 comment
Assignees
Labels
core Core development enhancement New feature or request proposition
Milestone

Comments

@imclint21
Copy link
Member

imclint21 commented Dec 31, 2019

Hey,

Actually, the PATCH method is used to make special operations like this with a JSON object that define the operation and properties!

Maybe we can use some HTTP methods like LOCK / UNLOCK or an other way.

Actions Performing

This is some propositions to perform some operations.

Inline:

curl -XPATCH -d 'LOCK' 'https://localhost:7021/api/kv/hello_world'

Parameters:

curl -XPATCH -d 'operation=lock' 'https://localhost:7021/api/kv/hello_world'

Json:

curl -XPATCH -d '{"operation": "LOCK"}' 'https://localhost:7021/api/kv/hello_world'

Best regards

@imclint21 imclint21 added enhancement New feature or request core Core development labels Dec 31, 2019
@imclint21 imclint21 added this to Issues in Lucid Development via automation Dec 31, 2019
@imclint21 imclint21 changed the title [Manifest] About some operations (like LOCK, INCREMENT, EXPIRE etc) [Manifest] About some operations (like LOCK, EXPIRE etc) Dec 31, 2019
@imclint21
Copy link
Member Author

imclint21 commented Jan 1, 2020

There are some things that could be great to have:

  • Get all keys in the node
  • Flush all keys (without shutdown of course)
  • Get all metas from an object (by example using ?meta=true or ?meta as a GET query parameter)

@imclint21 imclint21 added this to the alpha milestone Jan 2, 2020
@imclint21 imclint21 mentioned this issue Feb 1, 2020
3 tasks
Lucid Development automation moved this from Issues to Jobs Done Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core development enhancement New feature or request proposition
Projects
Lucid Development
  
Jobs Done
Development

No branches or pull requests

2 participants