Message API
Message API provides basic means for message management.
Version: 0.0.1
BasePath:/v1
MIT license
https://opensource.org/licenses/MIT
Access
- HTTP Basic Authentication
- HTTP Basic Authentication
[ Jump to Models ]
Table of Contents
Up
post /message/outgoing
Sends message (createMessage)
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"messageBody" : "Hello there!"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
201
Created
Message
Returns a list of incoming messages. (getIncomingMessages)
Return type
Example data
Content-Type: application/json
{
"items" : [ {
"messageBody" : "Hello there!"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
list of messages
Messages
Up
get /message/{messageId}
Returns a message. (getMessage)
Path parameters
messageId (required)
Path Parameter — message identifier default: null
Return type
Example data
Content-Type: application/json
{
"messageBody" : "Hello there!"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
message
Message
Returns a list of outgoing messages. (getOutgoingMessages)
Return type
Example data
Content-Type: application/json
{
"items" : [ {
"messageBody" : "Hello there!"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
list of messages
Messages
[ Jump to Methods ]
Table of Contents
Message
-
Messages
-
id (optional)
messageBody (optional)
sender (optional)
recipient (optional)