add matches example

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2024-05-07 16:05:25 -04:00
parent 47dad55575
commit a0bb95682d
1 changed files with 8 additions and 1 deletions

View File

@ -177,7 +177,14 @@ Example:
{
"pubsubname": "pubsub",
"topic": "newOrder",
"route": "/orders",
"route": {
"rules": [
{
"match": "event.type == order",
"path": "/orders"
}
]
},
"metadata": {
"rawPayload": "true"
}