From 6f8b89adfc1a8a457ec8d348b35cbc8cdf66a10c Mon Sep 17 00:00:00 2001 From: Chris Hager Date: Thu, 14 Nov 2024 11:02:46 +0100 Subject: [PATCH] readme: update to use /logs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f66ec3..ac81663 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ curl -v localhost:3535/api/v1/actions/echo_test curl -v -X POST -d "@README.md" localhost:3535/api/v1/file-upload/testfile # get event log -curl localhost:3535/api/v1/events?format=text +curl localhost:3535/logs 2024-11-05T22:03:23Z hello world 2024-11-05T22:03:26Z this is a test 2024-11-05T22:03:29Z [system-api] executing action: echo_test = echo test @@ -60,7 +60,7 @@ $ echo "hello world" > pipe.fifo $ curl localhost:3535/api/v1/new_event?message=this+is+a+test # Query events (plain text or JSON is supported) -$ curl localhost:3535/api/v1/events?format=text +$ curl localhost:3535/logs 2024-10-23T12:04:01Z hello world 2024-10-23T12:04:07Z this is a test ```