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
!62
Resolve "Use data from database in editor"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Use data from database in editor"
59-use-data-from-database-in-editor
into
dev
Overview
0
Commits
27
Pipelines
5
Changes
7
Merged
Emil Wahlqvist
requested to merge
59-use-data-from-database-in-editor
into
dev
3 years ago
Overview
0
Commits
27
Pipelines
5
Changes
7
Expand
Closes
#59 (closed)
0
0
Merge request reports
Viewing commit
393a76eb
Prev
Next
Show latest version
7 files
+
138
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
393a76eb
add: component
· 393a76eb
robban64
authored
3 years ago
server/app/apis/__init__.py
+
3
−
0
Options
@@ -44,6 +44,7 @@ from flask_restx import Api
from
.auth
import
api
as
auth_ns
from
.competitions
import
api
as
comp_ns
from
.components
import
api
as
component_ns
from
.media
import
api
as
media_ns
from
.misc
import
api
as
misc_ns
from
.questions
import
api
as
question_ns
@@ -58,6 +59,8 @@ flask_api.add_namespace(user_ns, path="/api/users")
flask_api
.
add_namespace
(
auth_ns
,
path
=
"
/api/auth
"
)
flask_api
.
add_namespace
(
comp_ns
,
path
=
"
/api/competitions
"
)
flask_api
.
add_namespace
(
slide_ns
,
path
=
"
/api/competitions/<CID>/slides
"
)
flask_api
.
add_namespace
(
component_ns
,
path
=
"
/api/competitions/<CID>/slides/<SID>/components/
"
)
flask_api
.
add_namespace
(
team_ns
,
path
=
"
/api/competitions/<CID>/teams
"
)
flask_api
.
add_namespace
(
question_ns
,
path
=
"
/api/competitions/<CID>/questions
"
)
# flask_api.add_namespace(question_ns, path="/api/competitions/<CID>/slides/<SID>/question")
Loading