Beware: this is the documentation of the 1.1 version of this method which uses archive_code (not archive) for archive code. The old version 1.0 is still available, see the 1.0 documentation.
Shows statistics about the comments made on records.
https://api.openarchieven.nl/1.1/stats/comments.json
GET
Name | Required | Description | Default |
---|---|---|---|
archive_code | No | Code of archive (obtain a list of valid archive codes via Stats/Archives) | |
callback | No | Function name to be called on JSON data (JSONP). |
If no archive_code is specified, the total number of validated links is shown.
Example: https://api.openarchieven.nl/1.1/stats/comments.json outputs (pretty-printed):
[ { "count": 8 } ]
If an archive code is specified, the total number of validated links for records of the specified archive is shown.
Example: https://api.openarchieven.nl/1.1/stats/comments.json?archive=elo outputs (pretty-printed):
[ { "archive": "elo", "count": 8 } ]
One of the following errors may be thrown:
Error code | Error message |
---|---|
1 | Invalid archive |
An example error looks (pretty-printed) like:
{ "error_code": 1, "error_description": "Invalid archive" }
Find your ancestors and publish your family tree on Genealogy Online via https://www.genealogieonline.nl/en/