Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:notifications [2019/12/04 10:25]
cmaudoux [Notification server]
documentation:latest:notifications [2019/12/20 21:56] (current)
cmaudoux [Notification server]
Line 296: Line 296:
 For example with curl: For example with curl:
 <​code>​ <​code>​
 +# Retrieve '​wildcard'​ notifications
 curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications
  
 +# Retrieve all pending notifications
 +curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications/​_allPending_
 +
 +# Retrieve all existing notifications
 +curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications/​_allExisting_
 +
 +# Retrieve all <​uid>'​s notifications ​
 curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications/<​uid>​ curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications/<​uid>​
  
 +# Retrieve <​uid>/<​reference>​ notification parameters
 curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications/<​uid>/<​reference>​ curl -X GET -H "​Content-Type:​ application/​json"​ -H "​Accept:​ application/​json"​ http://​auth.example.com/​notifications/<​uid>/<​reference>​
 </​code>​ </​code>​