Skip to content

Commit

Permalink
add the api design
Browse files Browse the repository at this point in the history
  • Loading branch information
lukec committed Oct 10, 2010
0 parents commit 79a1d2b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions design.txt
@@ -0,0 +1,30 @@
MAKE YOUR OWN ADVENTURE

Home page
* Make a new story
* See existing stories

Make a new story
* Name
* First line of the story

Story Page
* Current story so far
* Suggest the next line ...
* Vote


APIs:
* PUT /stories
** name, intro
* GET /stories
* GET /stories/:name
** json: name, title, story_so_far, hash, possible_next_lines
* POST /stories/:name
** storyline, hash
* POST /stories/:name/vote
** hash, next_line_id

Put this on democracy
* stories.hackspace.ca

0 comments on commit 79a1d2b

Please sign in to comment.