Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (82 sloc) 2.19 KB
---
name: users-by-username
route: /users/:username
method: GET
definitions:
- message_type: request
versions: ["1.0", "2.0"]
path_params:
type: object
properties:
username:
type: string
schema: {}
examples: []
- message_type: response
versions: ["2.0"]
status_codes: ["2xx", "404"]
schema:
description: Returns a object of properties about the requested user
type: object
properties:
id:
description: The user's id in the database
type: integer
login:
description: The user's login name
type: string
company:
description: The company the user works for
type: string
html_url:
description: The user's online presence
type: string
location:
description: Wher the user lives
type: string
name:
description: The user's name
type: string
url:
description: The URL of the resource you are requesting
type: string
examples:
- id: 1
login: bendyworker
company: Bendyworks
html_url: https://github.com/bendyworker
location: The Internet
name: Bendyworker
url: /users/bendyworker
- message_type: response
versions: ["1.0"]
status_codes: ["2xx", "404"]
schema:
description: Returns a object of properties about the requested user
type: object
properties:
login:
description: The user's login name
type: string
company:
description: The company the user works for
type: string
html_url:
description: The user's online presence
type: string
location:
description: Wher the user lives
type: string
name:
description: The user's name
type: string
url:
description: The URL of the resource you are requesting
type: string
examples:
- login: bendyworker
company: Bendyworks
html_url: https://github.com/bendyworker
location: The Internet
name: Bendyworker
url: /users/bendyworker
You can’t perform that action at this time.