Returns the informations you are currently seeing.
URL: GET /
Returns a paginated list of beers.
URL: GET /beers
type: 'integer'
minimum: 1
maximum: 30
default: 20
type: 'integer'
minimum: 0
default: 0
type: 'string'
default: ''
minLength: 1
maxLength: 100
Returns a beer from its id.
URL: GET /beers/:id
description: 'the id of the beer'
type: 'string'
pattern: '^[0-9]+$'
required: true
maxLength: 10
Rate a beer.
URL: POST /beers/:id/ratings
description: 'the id of the beer'
type: 'string'
pattern: '^[0-9]+$'
required: true
maxLength: 10
type: 'integer'
minimum: 0
maximum: 5
required: true
Returns the given beer rating.
URL: GET /beers/:id/ratings
description: 'the id of the beer'
type: 'string'
pattern: '^[0-9]+$'
required: true
maxLength: 10
Returns a paginated list of breweries.
URL: GET /breweries
type: 'integer'
minimum: 1
maximum: 30
default: 20
type: 'integer'
minimum: 0
default: 0
type: 'string'
default: ''
minLength: 1
maxLength: 100
Returns the brewery corresponding to the given name.
URL: GET /breweries/:id
type: 'string'
default: ''
minLength: 1
maxLength: 100
Returns the beers brewed by the given brewery.
URL: GET /breweries/:id/beers
type: 'string'
default: ''
minLength: 1
maxLength: 100
Creates an user with the given data.
URL: POST /users
type: 'string'
default: ''
format: /^[a-z0-9\-_]+$/
minLength: 3
maxLength: 50
required: true
type: 'string'
format: 'email'
default: ''
required: true
type: 'string'
default: ''
minLength: 6
maxLength: 50
required: true
Returns the user with the given username.
URL: GET /users/:id
type: 'string'
default: ''
format: /^[a-z0-9\-_]+$/
minLength: 3
maxLength: 50
required: true
Authenticates the user with the given credentials.
URL: POST /auth
type: 'string'
default: ''
format: /^[a-z0-9\-_]+$/
minLength: 3
maxLength: 50
required: true
type: 'string'
default: ''
minLength: 6
maxLength: 50
required: true
Returns the current authentication.
URL: GET /auth
Deauthenticates the user.
URL: DEL /auth