generated from VLADIMIR/template
up
This commit is contained in:
@@ -382,6 +382,14 @@ service EveningDetectiveServer {
|
||||
};
|
||||
}
|
||||
|
||||
rpc ReorderPlaylistTracks(ReorderPlaylistTracksReq) returns (ReorderPlaylistTracksRsp) {
|
||||
option (google.api.http) = { put: "/api/playlists/{playlistID}/tracks/order" body: "*" };
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
tags : "Музыка";
|
||||
summary: "Изменить порядок треков";
|
||||
};
|
||||
}
|
||||
|
||||
rpc DeletePlaylistTrack(DeletePlaylistTrackReq) returns (DeletePlaylistTrackRsp) {
|
||||
option (google.api.http) = { delete: "/api/playlists/{playlistID}/tracks/{trackID}" };
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
@@ -1441,6 +1449,15 @@ message UploadPlaylistTrackRsp {
|
||||
Playlist playlist = 1;
|
||||
}
|
||||
|
||||
message ReorderPlaylistTracksReq {
|
||||
int32 playlistID = 1;
|
||||
repeated int32 trackIDs = 2;
|
||||
}
|
||||
|
||||
message ReorderPlaylistTracksRsp {
|
||||
Playlist playlist = 1;
|
||||
}
|
||||
|
||||
message DeletePlaylistTrackReq {
|
||||
int32 playlistID = 1;
|
||||
int32 trackID = 2;
|
||||
@@ -1892,6 +1909,7 @@ message BindScreenReq {
|
||||
string screenID = 1;
|
||||
string accessToken = 2;
|
||||
int32 gameID = 3;
|
||||
bool initializeAudio = 4;
|
||||
}
|
||||
|
||||
message BindScreenRsp {
|
||||
|
||||
Reference in New Issue
Block a user