High Level Stats Summary
Request URI: /fcr:stats Methods: GET
Retrieve summary level repository statistics including:- resource count,
- binary resource count,
- binary resource bytes
- binary resource count by mimetype
- binary resource bytes by mimetype
Request Headers: N/A Request Parameters : mimetypesmime_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: Code Block |
---|
curl http://localhost:8080/rest/fcr:stats?mimetypes=all |
Response: Code Block |
---|
{
"object.count": 1000,
"binary.count": 950,
"binary.bytes": 5023498342,
"mimetypes": {
{
"mimetype": "text/plain",
"count": 100",
"bytes": 123423
},
...
}
...
}
|
Status: Status |
---|
subtle | true |
---|
colour | Green |
---|
title | 200 |
---|
|
|