Skip to content

Instantly share code, notes, and snippets.

@hasinur1997
Last active May 23, 2018 09:37
Show Gist options
  • Save hasinur1997/8c32a7cc77a7b580e8277a754f9b6681 to your computer and use it in GitHub Desktop.
Save hasinur1997/8c32a7cc77a7b580e8277a754f9b6681 to your computer and use it in GitHub Desktop.
Rest API Documentation

FORMAT: 1A HOST: http://polls.apiblueprint.org/

Apiary Document

Polls is a simple API allowing consumers to view polls and vote in them.

Create menu item

## User [/user]

Create Tab List

## Update [POST]

Console Content

+ Request (application/json)

    + Body

       {
          "id": 44,
          "first_name": "Sheila",
          "middle_name": "",
          "last_name": "Rolfson",
          "email": "Retha08@gmail.com",
          "location": "0",
          "hiring_source": "referral",
          "hiring_date": "2016-06-23",
          "date_of_birth": "1987-02-02",
      }

    + Attributes

        + id (number, required)
        + name (string, required)

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