Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
138fac2f
Commit
138fac2f
authored
7 years ago
by
Ludovic Claude
Browse files
Options
Downloads
Patches
Plain Diff
List my experiments /experiments?mine=true
parent
ac73f8f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/eu/hbp/mip/controllers/ExperimentApi.java
+12
-1
12 additions, 1 deletion
src/main/java/eu/hbp/mip/controllers/ExperimentApi.java
with
12 additions
and
1 deletion
src/main/java/eu/hbp/mip/controllers/ExperimentApi.java
+
12
−
1
View file @
138fac2f
...
@@ -168,7 +168,7 @@ public class ExperimentApi extends WokenClientController {
...
@@ -168,7 +168,7 @@ public class ExperimentApi extends WokenClientController {
)
{
)
{
LOGGER
.
info
(
"List experiments"
);
LOGGER
.
info
(
"List experiments"
);
return
doListExperiments
(
tru
e
,
null
);
return
doListExperiments
(
fals
e
,
null
);
}
}
@ApiOperation
(
value
=
"list experiments"
,
response
=
Experiment
.
class
,
responseContainer
=
"List"
)
@ApiOperation
(
value
=
"list experiments"
,
response
=
Experiment
.
class
,
responseContainer
=
"List"
)
...
@@ -186,6 +186,17 @@ public class ExperimentApi extends WokenClientController {
...
@@ -186,6 +186,17 @@ public class ExperimentApi extends WokenClientController {
return
doListExperiments
(
false
,
modelSlug
);
return
doListExperiments
(
false
,
modelSlug
);
}
}
@ApiOperation
(
value
=
"list my experiments"
,
response
=
Experiment
.
class
,
responseContainer
=
"List"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
params
=
{
"mine"
})
public
ResponseEntity
<
String
>
listMyExperiments
(
@ApiParam
(
value
=
"mine"
)
@RequestParam
boolean
mine
)
{
LOGGER
.
info
(
"List my experiments"
);
return
doListExperiments
(
true
,
null
);
}
private
ResponseEntity
<
String
>
doListExperiments
(
private
ResponseEntity
<
String
>
doListExperiments
(
boolean
mine
,
boolean
mine
,
String
modelSlug
String
modelSlug
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment