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

stashes #9

Open
qwesda opened this issue Aug 21, 2014 · 0 comments
Open

stashes #9

qwesda opened this issue Aug 21, 2014 · 0 comments

Comments

@qwesda
Copy link

qwesda commented Aug 21, 2014

ability to have collections of items of one resource type

proposed api

create stash

POST /_stashes/realeses {
  name:"my stash",
  is_public:false,
  color:"e4f6c0"
}

modify stash

set one key

PUT /_stashes/realeses/1/name 'new name'

set multiple keys

PATCH /_stashes/realeses/1 '{
  'name':'another new name',
  is_public:true
}'

append to stash

PUT /_stashes/realeses/1/items '[1,2,3,4,5,6]'

remove from stash

DELETE /_stashes/realeses/1/items '[2,6]'

remove all items from stash

DELETE /_stashes/realeses/1/items
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