netconf-wg / restconf

9 stars 4 forks source link

add example for retrieving notifications for specific modules #33

Closed kwatsen closed 8 years ago

kwatsen commented 8 years ago

[placeholder for kent]

Assume a RESTCONF server supports three modules: m1, m2, and m3

To get notifications for all three modules: GET /streams/NETCONF

To get notifications for just one module (e.g., m1): GET /streams/NETCONF?filter=/m1:*

To get notifications for two modules (e.g., m1 + m2): GET /streams/NETCONF?filter=(/m1:* or /m2:*)