malclocke/fulcrum — Issue #68: Story search
Author: kaleworsley
Created: 2011-11-22 07:55:55+00:00
State: open

I'm adding story search to projects, like Pivotal Tracker.

GET "http://0.0.0.0:3000/projects/1/stories/search/something to search"

{
"total_hits_with_done": 1,
"total_points_completed": 5,
"total_points": 6,
"total_hits": 5,
"stories": [
{
"id": 1
},
{
"id": 2
},
{
"id": 3
},
{
"id": 4
},
{
"id": 5
}
]
}

The JSON is the same format as PT. (I assume 'total_hits_with_done' and 'total_points_completed' means stories with state set to finished.)

Sound good?