Skip to content

SampurnaC/api_design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api_design

API Endpoints

Store General Endpoints

POST requests

api.neighbourhood.com/v1/people
api.neighbourhood.com/v1/house
api.neighbourhood.com/v1/address

HTTP response

res.status(201).send({status: 'success'})

Look up a specific address, house or owner

GET requests

api.neighbourhood.com/v1/address/:id
api.neighbourhood.com/v1/house/:id
api.neighbourhood.com/v1/owner/:id

HTTP response

res.status(200).send({status: 'success', msg: data})

Look up people within a certain age brackets and with specific household sizes

GET Requests

Request Parameters:

  • age(integer) : search by age brackets
  • size(integer): search with a specific household sizes
api.neighbourhood.com/v1/people/search?age=4&size=10

HTTP response

res.status(200).send({status: 'success', msg: data})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors