Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

High Level Stats Summary


Request URI: /fcr:stats

Methods: GET


Status
titleGET
Retrieve summary level repository statistics including:

  • resource count, 
  • binary resource count,
  • total  binary resource bytes,
  • bytes ingested in last day, week, month, year
  • binary resource count by mimetype
  • binary resource bytes by mimetypebytes retrieved in the last day week, month, year

Request Headers:

N/A

Example:

Code Block
curl   http://localhost:8080/rest/fcr:stats

Response:

Code Block
{ 
           "object.count": 1000,            
           "binary.count": 950,
		   "binary.bytes": 5023498342, 
           "mimetypemimetypes": {
              { 
                "mimetype": "text/plain", 
                "count": 100",
                "bytes": 123423
              },
              ...
           }   
            ...
}

Status:

Status
subtletrue
colourGreen
title200

...