Address Book API (0.0.1)

Download OpenAPI specification:Download

contacts

Retrieve a list of contacts

Responses

Response samples

Content type
application/json
{
  • "contacts": [
    ]
}

Create a contact

Request Body schema: application/json
required
firstName
string
lastName
string
street
string
city
string
type
string
email
string
linkedin
string
twitter
string

Responses

Request samples

Content type
application/json
{
  • "firstName": "string",
  • "lastName": "string",
  • "street": "string",
  • "city": "string",
  • "type": "string",
  • "email": "string",
  • "linkedin": "string",
  • "twitter": "string"
}

Response samples

Content type
application/json
{
  • "contact": {
    }
}

Get a single contact by ID

Responses

Response samples

Content type
application/json
{
  • "contact": {
    }
}

Delete a single contact by ID

Responses

Response samples

Content type
application/json
{
  • "contact": {
    }
}

Update a contact by ID

Request Body schema: application/json
required
firstName
string
lastName
string
street
string
city
string
type
string
email
string
linkedin
string
twitter
string

Responses

Request samples

Content type
application/json
{
  • "firstName": "string",
  • "lastName": "string",
  • "street": "string",
  • "city": "string",
  • "type": "string",
  • "email": "string",
  • "linkedin": "string",
  • "twitter": "string"
}

Response samples

Content type
application/json
{
  • "contact": {
    }
}

meetings

Retrieve a list of all meetings

Responses

Response samples

Content type
application/json
{
  • "meetings": [
    ]
}

Get a meeting by id

Responses

Response samples

Content type
application/json
{
  • "meeting": {
    }
}

Delete a meeting by id

Responses

Response samples

Content type
application/json
{
  • "meeting": {
    }
}

Update a meeting for a contact

Request Body schema: application/json
required
name
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "meeting": {
    }
}

Get meetings for a specific contact

Responses

Response samples

Content type
application/json
{
  • "meetings": [
    ]
}

Create a meeting for a contact

Request Body schema: application/json
required
name
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "meeting": {
    }
}