Add documentation about the API in README.
This commit is contained in:
parent
83b8231993
commit
df92e4fe24
|
@ -1,6 +1,13 @@
|
|||
# PDF Aggregation Statistics
|
||||
|
||||
This is a public API to get specific statistics from the PDF Aggregation Service.
|
||||
<br>
|
||||
|
||||
**Statistics API**:
|
||||
- "**getNumberOfPayloadsForDatasource**" endpoint: **http://\<IP\>:\<PORT\>/api/stats/getNumberOfPayloadsForDatasource?datasourceId=\<givenDatasourceId\>** <br>
|
||||
This endpoint returns the number of payloads which belong to the datasource specified by the given datasourceID.
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
**To install and run the application**:
|
||||
|
|
Loading…
Reference in New Issue