From 84f6e2ef47166748ddf938f306f37e600d31e357 Mon Sep 17 00:00:00 2001 From: rmiccoli Date: Mon, 2 Sep 2024 11:01:53 +0200 Subject: [PATCH] Add statistical endpoint info --- .../docs/reference/api/stats-endpoint/_index.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 content/en/docs/reference/api/stats-endpoint/_index.md diff --git a/content/en/docs/reference/api/stats-endpoint/_index.md b/content/en/docs/reference/api/stats-endpoint/_index.md new file mode 100644 index 0000000..36820b1 --- /dev/null +++ b/content/en/docs/reference/api/stats-endpoint/_index.md @@ -0,0 +1,16 @@ +--- +title: Statistical endpoint +--- + +Starting from v1.10.0 version, a statistical endpoint showing the number of users in the IAM organization was added. + +The endpoint does not require authentication and is available at `/stats`. An example: + +```json +$ curl http://localhost:8080/stats --silent | jq +{ + "numberOfUsers": 255 +} +``` + +The output may be populated with more information in later versions.