From df92e4fe241850e71c0aefda2b06847c68bd4d44 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Tue, 20 Jun 2023 22:49:44 +0300 Subject: [PATCH] Add documentation about the API in README. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6a651f0..8013cc5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # PDF Aggregation Statistics This is a public API to get specific statistics from the PDF Aggregation Service. +
+ +**Statistics API**: +- "**getNumberOfPayloadsForDatasource**" endpoint: **http://\:\/api/stats/getNumberOfPayloadsForDatasource?datasourceId=\**
+ This endpoint returns the number of payloads which belong to the datasource specified by the given datasourceID. +
+
**To install and run the application**: