1 | initial version |
A v2 subscription can also be used you just need to set attrsFormat
to legacy
. Example:
{
"description": "Notify me of all product price changes",
"subject": {
"entities": [{"idPattern": ".*", "type": "Product"}],
"condition": {
"attrs": [ "price" ]
}
},
"notification": {
"http": {
"url": "http://context-provider:3000/subscription/price-change"
},
"attrsFormat" : "legacy"
}
}
2 | No.2 Revision |
A v2 subscription can also be used you just need to set attrsFormat
to legacy
. Example:
<quote>
{
"description": "Notify me of all product price changes",
"subject": {
"entities": [{"idPattern": ".*", "type": "Product"}],
"condition": {
"attrs": [ "price" ]
}
},
"notification": {
"http": {
"url": "http://context-provider:3000/subscription/price-change"
},
"attrsFormat" : "legacy"
}
}
3 | No.3 Revision |
A v2 subscription can also be used you just need to set attrsFormat
to legacy
. Example:
<quote>
{
"description": "Notify me of all product price changes",
"subject": {
"entities": [{"idPattern": ".*", "type": "Product"}],
"condition": {
"attrs": [ "price" ]
}
},
"notification": {
"http": {
"url": "http://context-provider:3000/subscription/price-change"
},
"attrsFormat" : "legacy"
}
}