Documentation of eduGAIN database access API

Method: show_per_federation_history

Description:

Show eduGAIN history in a per-federation split. In no data, start_date, end_date arguments are specified, the current day is used

Supported formats: json, print_r

Arguments used:

fed_id (optional)
allowed values: a federation code (see list_fed_codes for a list of available codes).
Limits the results to a single federation.
reg_auth (optional)
allowed values: a federation registration authority URN
Limits the results to a single federation. If fed_id argument is also present then it takes precedence over reg_auth
date (optional)
default: yesterday
allowed values: Any date in the format YYYY-MM-DD is allowed.
The data for the single date is shown. If this argument is present then start_date and end_date are not taken into account.
start_date (optional)
allowed values: Any date in the format YYYY-MM-DD is allowed.
The data starting from this date is shown. This argument is diregarded in the presence of the date argument.
end_date (optional)
allowed values: Any date in the format YYYY-MM-DD is allowed.
The data until this date is shown. This argument is diregarded in the presence of the date argument.
format (optional)
default: json
allowed values: any supported format

Examples:

show newest numbers
https://technical-test.edugain.org/api.php?action=show_per_federation_history&format=print_r
show history since 2023-01-01
https://technical-test.edugain.org/api.php?action=show_per_federation_history&format=print_r&start_date=2023-01-01
show history since 2023-01-01 with more details
https://technical-test.edugain.org/api.php?action=show_per_federation_history&format=print_r&start_date=2023-01-01&details=1

Show full action list