Open Archives API » Stats/Comments

Shows statistics about the comments made on records.

URL

https://api.openarch.nl/1.0/stats/comments.json

Method

GET

Input

NameRequiredDescriptionDefault
archiveNoCode 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 is specified, the total number of validated links is shown.

Example: https://api.openarch.nl/1.0/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.openarch.nl/1.0/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

Publiceer uw stamboom en zoek uw voorouders op Genealogie Online!
https://www.genealogieonline.nl/