Messages API (1.0.0)

Download OpenAPI specification:Download

A simple API for managing messages.

Get all messages

Retrieve a list of all messages in the database.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add a new message

Add a new message to the database.

Request Body schema: application/json
message
string

The message content.

Responses

Request samples

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

Response samples

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