Skip to content

maquessime/stack-to-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-to-issue

Build Status

Build & Run

$ cd stack-to-issue
$ ./start.sh
> container:start

Normal Flow

#search issues from a stack
curl -d "your_stack" -H "Content-type: text/plain;charset=UTF-8" http://localhost:8080
{"hash":"080c4480023c2000006801a8000090000003050208402004011c0110038098ca","issues":[]}

#insert issue for your stack
curl -X POST -H "Content-Type: application/json" -d '{"issues":["BUG1"]}' http://localhost:8080/stacks/080c4480023c2000006801a8000090000003050208402004011c0110038098ca/issues
curl -d "your_stack" -H "Content-type: text/plain;charset=UTF-8" http://localhost:8080
{"hash":"080c4480023c2000006801a8000090000003050208402004011c0110038098ca","issues":["BUG1"]}

#add an issue for your stack
curl -X POST -H "Content-Type: application/json" -d '{"issues":["BUG2"]}' http://localhost:8080/stacks/080c4480023c2000006801a8000090000003050208402004011c0110038098ca/issues
curl -d "your_stack" -H "Content-type: text/plain;charset=UTF-8" http://localhost:8080
{"hash":"080c4480023c2000006801a8000090000003050208402004011c0110038098ca","issues":["BUG1","BUG2"]}

#delete a stack
curl -X DELETE http://localhost:8080/stacks/080c4480023c2000006801a8000090000003050208402004011c0110038098ca/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages