Page MenuHomePhabricator

Implement the statistics service
Closed, ResolvedPublic

Description

/status /statistics (Blazegraph already exposes /status) endpoint, should output dataset statistics and user statistics.

  • GET /statistics
  • required parameters, one of:
    • dataset, the dataset URI;
    • user, the Wiki user name.

If dataset is given, output dataset statistics:

{
  "dataset": URI,
  "total_statements": X,
  "missing_statements": Y
}

if user is given, output user statistics:

{
  "user": NAME,
  "total": M,
  "approved": N,
  "rejected": O
}

Related Objects