Overview
The statistics API provides summary information relating to the contents and usage of the repository and its resources. This feature is currently under development.RESTful API
Request URI: /fcr:stats Methods: GET Request Headers: N/A Request Parameters : mime_types: a comma separate list of mimetypes. Default: none. To include all, "all". created_after: include all resources whose creation date is on or after the specified ISO-8601 timestamp. e.g. 2022-01-01T12:05:01 updated_before: include all resources whose last updated date is before the specified ISO-8601 timestamp. e.g. 2022-01-01T12:05:01 Example: Response: Status: 200High Level Stats Summary
GET Retrieve summary level repository statistics including:
curl http://localhost:8080/rest/fcr:stats?mimetypes=all
{
"object.count": 1000,
"binary.count": 950,
"binary.bytes": 5023498342,
"mimetypes": {
{
"mimetype": "text/plain",
"count": 100",
"bytes": 123423
},
...
}
...
}