[PDB-1132] the events endpoint should not require a query Created: 2015/01/23  Updated: 2016/01/20  Resolved: 2015/02/18

Status: Closed
Project: PuppetDB
Component/s: None
Affects Version/s: None
Fix Version/s: PDB 3.0.0

Type: Improvement Priority: Normal
Reporter: Wyatt Alt Assignee: Wyatt Alt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 1
Sprint: PuppetDB 2015-02-25


The events endpoint requires a query parameter. To get all events, you need to do something like this:

curl -X GET http://localhost:8080/v4/events -d 'query=["~","certname",".*"]'

We should allow this:

curl -X GET http://localhost:8080/v4/events

Generated at Tue Jan 21 20:29:16 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.