Versions Compared

Key

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

...

Excerpt

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

Summary


Excerpt

High Level Stats Summary


Request URI: /fcr:stats

Methods: GET


Status
titleGET
Retrieve summary level repository statistics including:

  • total 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
{

   "head": { 
           "total.resource.count": 1000,           "binary.resource.count": 500, 
           "binary.resource.bytes": 5023498342, 
           ...
    }

}

Status:

Status
subtletrue
colourGreen
title200

...