Skip to content
Snippets Groups Projects

The new API call to download the SHA1 hashes for entities

2 files
+ 21
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 15
0
@@ -1444,6 +1444,21 @@ Click action names for a full description.</p>';
$out = $edugain->getLinkTestsDetails($startDate, $endDate, $this->fed_id, $this->opts['only_errors'], $this->opts['url_type']);
return $out;
}
private function action_list_entity_sha1() {
$e = new eduGAIN_entity();
$this->description([
'header' => "Show all entitityIds together with their SHA1 hashes and last modification time; it is intended mosty for internal purposes.",
'supportedFormats' => ['json', 'print_r'],
'arguments' => [
$this->addStdArgument('format')
],
'returns' => [],
'examples' => [['opt' => [], 'title' => 'printable listing'],
['opt' => [], 'title' => 'JSON listing', 'format'=>'default']],
]);
return $e->getEntitiesSha();
}
private function output($out) {
if ($this->opts['help'] == 1) {
Loading