docs: use authenticated REST API URL in example Since you have to be an authenticated user to use this plugin, it makes sense to use the /a/ prefix in the examples. Change-Id: I3aa79763db71b49bb6bc585b9fe857c13d47db30
diff --git a/src/main/resources/Documentation/rest-api-events.md b/src/main/resources/Documentation/rest-api-events.md index a61b1c7..b9b5a4f 100644 --- a/src/main/resources/Documentation/rest-api-events.md +++ b/src/main/resources/Documentation/rest-api-events.md
@@ -64,9 +64,8 @@ Query the change events which happened between 2014-09-01 and 2014-10-01 -> curl --user joe:secret http://host:port/plugins/@PLUGIN@/events/?t1=2014-09-01;t2=2014-10-01 +> curl --user joe:secret http://host:port/a/plugins/@PLUGIN@/events/?t1=2014-09-01;t2=2014-10-01 Query the change events which happened between 2014-10-29 10:00:00 and 2014-10-29 11:00:00 -> curl --user joe:secret "http://host:port/plugins/@PLUGIN@/events/?t1=2014-10-29%2010%3A00%3A00.000;t2=2014-10-29%2011%3A00%3A00" - +> curl --user joe:secret "http://host:port/a/plugins/@PLUGIN@/events/?t1=2014-10-29%2010%3A00%3A00.000;t2=2014-10-29%2011%3A00%3A00"