Skip to content

Instantly share code, notes, and snippets.

@akira-kuriyama
Created September 13, 2016 16:04
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 akira-kuriyama/06e75fb5fb9779a5fc3ffa741250965e to your computer and use it in GitHub Desktop.
Save akira-kuriyama/06e75fb5fb9779a5fc3ffa741250965e to your computer and use it in GitHub Desktop.

FORMAT: 1A

ユーザAPI [/users/{id}]

Retrieve a User [GET]

  • Parameters

    • id: 1 (number, required) - ユーザID
  • Response 200 (application/json)

    • Body

          {
            "name" : "John",
            "age" : 20,
            "admin" : true
          }
      
    • Schema

          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "age": {
                "type": "number"
              },
              "admin": {
                "type": "boolean"
              }
          }
      
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment