File tree 2 files changed +29
-7
lines changed
2 files changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -128,14 +128,14 @@ func (r *Repos) UpdatePlaylist(c echo.Context) error {
128
128
return c .NoContent (http .StatusOK )
129
129
}
130
130
131
- // DeletePlaylist handles deleting series
132
- // @Summary Delete a series
133
- // @Description Delete a series
134
- // @ID delete-creator-series
135
- // @Tags creator-series
136
- // @Param seriesid path int true "Series ID"
131
+ // DeletePlaylist handles deleting playlist
132
+ // @Summary Delete a playlist
133
+ // @Description Delete a playlist
134
+ // @ID delete-creator-playlist
135
+ // @Tags creator-playlist
136
+ // @Param playlistid path int true "Series ID"
137
137
// @Success 200
138
- // @Router /v1/internal/creator/series/{seriesid } [delete]
138
+ // @Router /v1/internal/creator/playlist/{playlistid } [delete]
139
139
func (r * Repos ) DeletePlaylist (c echo.Context ) error {
140
140
playlistID , err := strconv .Atoi (c .Param ("playlistid" ))
141
141
if err != nil {
Original file line number Diff line number Diff line change @@ -903,6 +903,28 @@ const docTemplate = `{
903
903
}
904
904
}
905
905
}
906
+ },
907
+ "delete": {
908
+ "description": "Delete a playlist",
909
+ "tags": [
910
+ "creator-playlist"
911
+ ],
912
+ "summary": "Delete a playlist",
913
+ "operationId": "delete-creator-playlist",
914
+ "parameters": [
915
+ {
916
+ "type": "integer",
917
+ "description": "Series ID",
918
+ "name": "playlistid",
919
+ "in": "path",
920
+ "required": true
921
+ }
922
+ ],
923
+ "responses": {
924
+ "200": {
925
+ "description": "OK"
926
+ }
927
+ }
906
928
}
907
929
},
908
930
"/v1/internal/creator/playout/channels": {
You can’t perform that action at this time.
0 commit comments