Commits

Robert Brewer committed 023c009

Added trailing slashes to examples

Comments (0)

Files changed (1)

 
     {"element": "shoji:catalog",
      "self": "http://example.org/users",
-     "entities": ["1"]
+     "entities": ["1/"]
     }
 
 A simple Shoji Entity Document:
      "title": "Users Catalog",
      "description": "The set of user entities for this application.",
      "updated": "#2003-12-13T18:30:02Z#",
-     "catalogs": {"bills": "bills",
-                  "sellers": "sellers",
-                  "sellers by sold count": "sellers{?sold_count}"
+     "catalogs": {"bills": "bills/",
+                  "sellers": "sellers/",
+                  "sellers by sold count": "sellers/{?sold_count}"
                   },
-     "entities": ["1", "2", "88374", "9843"],
-     "views": {"Sold Counts": "sold_counts"},
+     "entities": ["1/", "2/", "88374/", "9843/"],
+     "views": {"Sold Counts": "sold_counts/"},
     }
 
 ...and a more complex Shoji Value Document at http://example.org/users/sold_counts: