File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ operation Seek {
42
42
@required
43
43
@httpLabel
44
44
groupId : GroupId
45
+
45
46
@required
46
47
positionMillis : Milliseconds
47
48
}
@@ -77,6 +78,7 @@ operation GetGroups {
77
78
@httpLabel
78
79
householdId : HouseholdId
79
80
}
81
+
80
82
output := {
81
83
@required
82
84
groups : Groups
@@ -90,6 +92,7 @@ list Groups {
90
92
structure Group {
91
93
@required
92
94
id : GroupId
95
+
93
96
@required
94
97
name : String
95
98
}
Original file line number Diff line number Diff line change @@ -51,17 +51,17 @@ list Devices {
51
51
52
52
structure Device {
53
53
id : DeviceId
54
+
54
55
@required
55
56
name : String
57
+
56
58
@jsonName (" is_restricted" )
57
59
@required
58
60
isRestricted : Boolean
59
61
}
60
62
61
63
@http (method : " POST" , uri : " /v1/me/player/next" )
62
- operation NextTrack {
63
-
64
- }
64
+ operation NextTrack {}
65
65
66
66
@http (method : " PUT" , uri : " /v1/me/player/seek" )
67
67
@idempotent
@@ -80,6 +80,7 @@ operation RemoveTrack {
80
80
@httpLabel
81
81
@required
82
82
playlistId : String
83
+
83
84
@required
84
85
tracks : Tracks
85
86
}
@@ -102,6 +103,7 @@ operation GetAudioAnalysis {
102
103
@required
103
104
trackId : String
104
105
}
106
+
105
107
output := {
106
108
@required
107
109
sections : Sections
@@ -123,10 +125,13 @@ structure Section {
123
125
operation GetPlayer {
124
126
output := {
125
127
context : PlayerContext
128
+
126
129
item : PlayerItem
130
+
127
131
@required
128
132
@jsonName (" progress_ms" )
129
133
progressMillis : Integer
134
+
130
135
@required
131
136
device : Device
132
137
}
@@ -143,6 +148,7 @@ union PlayerContext {
143
148
structure PlaylistContext {
144
149
@required
145
150
href : String
151
+
146
152
@required
147
153
uri : String
148
154
}
@@ -165,11 +171,14 @@ union PlayerItem {
165
171
structure TrackItem {
166
172
@required
167
173
uri : String
174
+
168
175
@required
169
176
@jsonName (" duration_ms" )
170
177
durationMs : Integer
178
+
171
179
@required
172
180
name : String
181
+
173
182
@required
174
183
artists : Artists
175
184
}
@@ -189,6 +198,7 @@ operation AddItemsToPlaylist {
189
198
@httpLabel
190
199
@required
191
200
playlistId : String
201
+
192
202
@required
193
203
@httpPayload
194
204
uris : Uris
Original file line number Diff line number Diff line change 1
1
{
2
+ "version" : " 1.0" ,
3
+ "sources" : [" app/src/main/smithy" ],
4
+ "maven" : {
5
+ "dependencies" : [
6
+ " com.disneystreaming.alloy:alloy-core:0.3.13" ,
7
+ " com.disneystreaming.smithy4s:smithy4s-protocol:0.18.31"
8
+ ],
9
+ "repositories" : []
10
+ },
2
11
"imports" : [" ./src/main/smithy" ],
3
12
"mavenDependencies" : [" com.disneystreaming.alloy:alloy-core:latest.release" ]
4
13
}
You can’t perform that action at this time.
0 commit comments