Skip to content

jasonray/marcopolo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marcopolo

Services

List of ideas

GET /ideas?user=userid

Fetch single idea

GET /ideas/id/:id

Create idea

POST /ideas with body:

{
   "short_description": "some crazy idea",
   "long_description": "this idea is so crazy, that it just might work!"
}

Fetch voting for idea / user

GET /ideas/id/:id/votingResult?user=userid

Vote for an idea

POST /ideas/id/:id/operations/voteYes POST /ideas/id/:id/operations/voteNo

Fetch tracking for idea / user

GET ideas/id/:id/tracking

Enable / disable tracking for idea / user

POST /ideas/id/:id/operations/track?user=userid POST /ideas/id/:id/operations/untrack?user=userid

Suspend idea

POST /ideas/id/:id/suspend

Fetch comments

GET /ideas/id/:id/comments

Save comment

POST /ideas/id/:id/comments where body = comment text

About

This was implemented as part of a company contest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages