Skip to content

Instantly share code, notes, and snippets.

@abtris
Created February 26, 2014 15:45
Show Gist options
  • Save abtris/9232022 to your computer and use it in GitHub Desktop.
Save abtris/9232022 to your computer and use it in GitHub Desktop.
UV601
FORMAT: 1A
# Test API
## Items [/items{?filter}]
+ Parameters
+ filter (optional, boolean) ... A filter on items
### List all Items [GET]
+ Response 200 (application/json)
[{"id":1, "name":"item1"},{"id":2, "name":"item2"}]
### Create a New Item [POST]
+ Request
{"name":"item3"}
+ Response 201
{"status":"created", "id":3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment