Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-api
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
Container Registry
Model registry
Operate
Environments
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
AURA
engine-api
Commits
6c8d6808
Commit
6c8d6808
authored
4 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Updated spec.
parent
59e10ab8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/rest/models/clock_info.py
+2
-0
2 additions, 0 deletions
src/rest/models/clock_info.py
src/rest/swagger/swagger.yaml
+13
-11
13 additions, 11 deletions
src/rest/swagger/swagger.yaml
with
15 additions
and
11 deletions
src/rest/models/clock_info.py
+
2
−
0
View file @
6c8d6808
...
...
@@ -91,6 +91,8 @@ class ClockInfo(Model):
:param current_schedule: The current_schedule of this ClockInfo.
:type current_schedule: Schedule
"""
if
current_schedule
is
None
:
raise
ValueError
(
"
Invalid value for `current_schedule`, must not be `None`
"
)
# noqa: E501
self
.
_current_schedule
=
current_schedule
...
...
This diff is collapsed.
Click to expand it.
src/rest/swagger/swagger.yaml
+
13
−
11
View file @
6c8d6808
...
...
@@ -371,6 +371,8 @@ components:
details
:
Stringified JSON Object
log_time
:
2020-08-29T09:12:33.001Z
ClockInfo
:
required
:
-
current_schedule
type
:
object
properties
:
current_track
:
...
...
@@ -400,7 +402,11 @@ components:
schedule_id
:
1
schedule_start
:
2020-08-29T09:12:33.001Z
current_schedule
:
entries
:
playlist_id
:
38
show_name
:
Future Pop
fallback_type
:
0
schedule_end
:
2020-08-29T09:12:33.001Z
playlist_entries
:
-
duration
:
363
artist
:
xxyyxx
album
:
XXYYXX
...
...
@@ -411,10 +417,6 @@ components:
album
:
XXYYXX
title
:
Alone
type
:
1
playlist_id
:
38
show_name
:
Future Pop
fallback_type
:
0
schedule_end
:
2020-08-29T09:12:33.001Z
schedule_id
:
23
schedule_start
:
2020-08-29T09:12:33.001Z
Schedule
:
...
...
@@ -445,12 +447,16 @@ components:
fallback_type
:
type
:
integer
example
:
0
entries
:
playlist_
entries
:
type
:
array
items
:
$ref
:
'
#/components/schemas/PlaylistEntry'
example
:
entries
:
playlist_id
:
38
show_name
:
Future Pop
fallback_type
:
0
schedule_end
:
2020-08-29T09:12:33.001Z
playlist_entries
:
-
duration
:
363
artist
:
xxyyxx
album
:
XXYYXX
...
...
@@ -461,10 +467,6 @@ components:
album
:
XXYYXX
title
:
Alone
type
:
1
playlist_id
:
38
show_name
:
Future Pop
fallback_type
:
0
schedule_end
:
2020-08-29T09:12:33.001Z
schedule_id
:
23
schedule_start
:
2020-08-29T09:12:33.001Z
PlaylistEntry
:
...
...
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