Skip to content

andrei-hameza/contacts-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contacts Manager

travis Standard - JavaScript Style Guide

Architecture

Contacts Service REST API

/contacts/{id}


GET

Summary: ContactsById

Description: Retrieve contact

Parameters

Name Located in Description Required Schema
id path Yes string

Responses

Code Description Schema
200 Contact
POST

Summary: ContactsById

Description: Create contact

Parameters

Name Located in Description Required Schema
id path Yes string

Responses

Code Description Schema
201 Contact
DELETE

Summary: ContactsById

Description: Delete contact

Parameters

Name Located in Description Required Schema
id path Yes string

Responses

Code Description
204
PATCH

Summary: ContactsById

Description: Modify contact

Parameters

Name Located in Description Required Schema
id path Yes string

Responses

Code Description Schema
200 Contact

/contacts


GET

Summary: Contacts

Description: Retrieve contacts list

Parameters

Name Located in Description Required Schema
limit query Specify the amount of contacts that you want to retrieve No integer
offset query Specify the offset starting from which you want to retrieve contacts No integer

Responses

Code Description Schema
200 [ Contact ]

Models


Contact

Name Type Description Required
id string Yes
name string Yes
email string No
phone string No