Skip to content

Instantly share code, notes, and snippets.

@smizell
Created October 28, 2014 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smizell/48a5f8d4ede6e86e3219 to your computer and use it in GitHub Desktop.
Save smizell/48a5f8d4ede6e86e3219 to your computer and use it in GitHub Desktop.

FORMAT: 1A

User Example

Example of reusing model

Group Users

User [/users/{id}]

  • Model (application/json)

      {
          "id": "1",
          "name": "John Doe",
          "email": "john@example.com"
      }
    

Retrieve a Single Gist [GET]

  • Response 200

    [User][]

Update a User [PATCH]

  • Response 200

    [User][]

Delete a User [DELETE]

  • Response 204

Disable User [/users/{id}/disable]

Collection of all Gists.

Disable User [PATCH]

  • Response 200

    [User][]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment