Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pauline Backend
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pauline
Pauline Backend
Commits
9f278ef0
There was an error fetching the commit references. Please try again later.
Commit
9f278ef0
authored
Mar 9, 2022
by
Maximilian Schmöcker
Browse files
Options
Downloads
Patches
Plain Diff
added data revision endpoint
parent
88c83f0a
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/routes/api_v1/endpoints/semesters.py
+5
-0
5 additions, 0 deletions
app/routes/api_v1/endpoints/semesters.py
with
5 additions
and
0 deletions
app/routes/api_v1/endpoints/semesters.py
+
5
−
0
View file @
9f278ef0
...
...
@@ -15,3 +15,8 @@ def see_all_available_semesters(broker: Broker = Depends(get_database_broker)):
Returns all available semesters.
"""
return
broker
.
get_semesters
()
@router.get
(
"
/revision
"
,
response_model
=
int
)
def
see_current_data_revision
():
return
1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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