Publish Message
POST {{baseUrl}}/topics/:topicId/messages
Publishes a message to the specified topic.
The topic endpoint is required for this operation.
To get the topic endpoint, use GetTopic
and review the apiEndpoint
value in the response (NotificationTopic).
Limits information follows.
Message size limit per request: 64KB.
Message delivery rate limit per endpoint: 60 messages per minute for HTTP-based protocols, 10 messages per minute for the EMAIL
protocol.
HTTP-based protocols use URL endpoints that begin with http:
or https:
.
Transactions Per Minute (TPM) per-tenancy limit for this operation: 60 per topic. (This TPM limit represents messages per minute.)
For more information about publishing messages, see Publishing Messages. For steps to request a limit increase, see Requesting a Service Limit Increase.
Request Body
{"body"=>"pariatur velit", "title"=>"esse sunt"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
messageType | string | Deprecated. | |
This attribute is deprecated, as is support for JSON. | |||
You can send a JSON payload even when transmitting the payload as a raw string. | |||
Configure your receiving system to read the raw payload as JSON format. |
Type of message body in the request.
For messageType
of JSON, a default key-value pair is required. Example: {"default": "Alarm breached", "Email": "Alarm breached: <url>"}.
|
| Content-Type
| string | | |
| Date
| string | | (Required) Current Date |
| Authorization
| string | | (Required) Signature Authentication on Authorization header |
| x-content-sha256
| string | | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"messageId":"minim Excepteur consectetur","timeStamp":"2014-08-23T03:47:10.871Z"}