Skip to content

Instantly share code, notes, and snippets.

@zdne
Created March 2, 2016 16:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdne/6a85e1ddbd3eb9c769df to your computer and use it in GitHub Desktop.
Save zdne/6a85e1ddbd3eb9c769df to your computer and use it in GitHub Desktop.
# User [/users/{id}]
- Attributes (object)
- name: John
- email: john@apiary.io
## Retrieve [GET]
- Response 200 (application/json)
- Attributes (User)
## Remove [DELETE]
- Response 204
# Collection of Users [/users]
- Attributes (array)
- (User)
## Retrieve [GET]
- Response 200 (application/json)
- Attributes (Collection of Users)
## Create New User [POST]
- Request (application/json)
- Attributes (User)
- Response 201 (application/json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment