Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tddd96-grupp1
teknikattan-scoring-system
Merge requests
!130
Resolve "Comment apis"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Comment apis"
166-comment-apis
into
dev
Overview
0
Commits
25
Pipelines
1
Changes
3
Merged
Josef Olsson
requested to merge
166-comment-apis
into
dev
3 years ago
Overview
0
Commits
25
Pipelines
1
Changes
3
Expand
Closes
#166 (closed)
0
0
Merge request reports
Viewing commit
30829366
Prev
Next
Show latest version
3 files
+
21
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
30829366
Comment user API
· 30829366
Josef Olsson
authored
3 years ago
server/app/apis/slides.py
+
1
−
1
Options
@@ -26,7 +26,7 @@ slide_parser_edit.add_argument("background_image_id", default=sentinel, type=int
class
SlidesList
(
Resource
):
@protect_route
(
allowed_roles
=
[
"
*
"
])
def
get
(
self
,
competition_id
):
"""
Gets
the
all slides from the specified competition.
"""
"""
Gets all slides from the specified competition.
"""
items
=
dbc
.
get
.
slide_list
(
competition_id
)
return
list_response
(
list_schema
.
dump
(
items
))
Loading