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
  • bytes 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
{ 
                     "totalobject.resource.count": 1000,            
                      "binary.resource.count": 500950,
		 
            "binary.resource.bytes": 5023498342, 
           "bytes.ingested.daymimetype": 1024000,{
             "bytes.ingested.week": 1024000, { 
           "bytes.ingested.month     "mimetype": 1024000"text/plain", 
           "bytes.ingested.year     "count": 1024000100",
                "bytes.retrieved.day": 1024000,123423
             "bytes.retrieved.week": 1024000 },
           "bytes.retrieved.month": 1024000,   ...
           "bytes.retrieved.year": 1024000,
}   
            ...
}

Status:

Status
subtletrue
colourGreen
title200

...