Open Archives API » Stats/Comments

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.

URL

https://api.openarchieven.nl/1.1/stats/comments.json

Method

GET

Input

NameRequiredDescriptionDefault
archive_codeNoCode of archive (obtain a list of valid archive codes via Stats/Archives)
callbackNoFunction name to be called on JSON data (JSONP).

Output

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
	}
]

Errors

One of the following errors may be thrown:

Error codeError message
1Invalid archive

An example error looks (pretty-printed) like:

{
	"error_code": 1,
	"error_description": "Invalid archive"
}

Back to API documentation

Zoek uw voorouders en publiceer uw stamboom op Genealogie Online via https://www.genealogieonline.nl/