Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Technical Site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN OT
eduGAIN Technical Site
Merge requests
!16
The new API call to download the SHA1 hashes for entities
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
The new API call to download the SHA1 hashes for entities
edugain/OT/edu-gain-technical-site-tw:master
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Tomasz Wolniewicz
requested to merge
edugain/OT/edu-gain-technical-site-tw:master
into
master
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
cbeaa57b
1 commit,
1 year ago
2 files
+
21
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
lib/API.php
+
15
−
0
Options
@@ -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