Description | : Publish a single Cloud Event to a namespace topic. |
Reference | : Link ¶ |
⚼ Request
POST:
/topics/{topicName}:publish
{
api-version:
string
,
topicName:
string
,
event:
}
{
,
id:
string
,
source:
string
,
data:
string
,
data_base64:
string
,
type:
string
,
time:
string
,
specversion:
string
,
dataschema:
string
,
datacontenttype:
string
,
subject:
string
,
}
⚐ Response (200)
{
$schema:
object
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
innererror:
}
{
,
code:
string
,
innererror:
string
,
}