Skip to content

Instantly share code, notes, and snippets.

@zdne
Created March 2, 2016 16:50
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# 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