Skip to content

Commit

Permalink
urls: match id in description with url
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-bieniek committed Aug 4, 2013
1 parent 3e01f97 commit 1e6d1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions urls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ example. The table below uses the ":name" URL variable style from Rail's
/api The API entry point
/api/:coll A top-level collection named "coll"
/api/:coll/:id The resource "id" inside collection "coll"
/api/:coll/:id/:subcoll Sub-collection "subcoll" under resource "id2"
/api/:coll/:id/:subcoll/:subid The resource "id2" inside "subcoll"
/api/:coll/:id/:subcoll Sub-collection "subcoll" under resource "id"
/api/:coll/:id/:subcoll/:subid The resource "subid" inside "subcoll"
============================== =============================================

Even though sub-collections may be arbitrarily nested, in my experience, you
Expand Down

0 comments on commit 1e6d1bf

Please sign in to comment.