Puts messages in a stream.

POST {{baseUrl}}/streams/:streamId/messages

Emits messages to a stream. There's no limit to the number of messages in a request, but the total size of a message or request must be 1 MiB or less. The service calculates the partition ID from the message key and stores messages that share a key on the same partition. If a message does not contain a key or if the key is null, the service generates a message key for you. The partition ID cannot be passed as a parameter.

Request Body

{"messages"=>[{"value"=>"PR0Zzf46SMcFR3GhehlMbTpSPjLleER6beHVLCG7", "key"=>"kR=="}]}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"entries":[{"error":"laboris minim","errorMessage":"cupidatat nostrud exercitation anim tempor","offset":42,"partition":"1","timestamp":"1995-07-29T07:57:24.730Z"}],"failures":16518457}