aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/PlaylistsController.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2024-04-03 16:57:10 +0200
committerShadowghost <Ghost_of_Stone@web.de>2024-04-03 16:57:10 +0200
commit3c7562313b3d0a8bdaaa6623215f2c979150cf5f (patch)
tree0eb9e72522042361b7942b98fd9558ba6123d318 /Jellyfin.Api/Controllers/PlaylistsController.cs
parent5396b616bf2d7e387bc20539eeae03e841f60c01 (diff)
Apply review suggestions
Diffstat (limited to 'Jellyfin.Api/Controllers/PlaylistsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/PlaylistsController.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Jellyfin.Api/Controllers/PlaylistsController.cs b/Jellyfin.Api/Controllers/PlaylistsController.cs
index 01c1c578d..d167d996c 100644
--- a/Jellyfin.Api/Controllers/PlaylistsController.cs
+++ b/Jellyfin.Api/Controllers/PlaylistsController.cs
@@ -159,7 +159,7 @@ public class PlaylistsController : BaseJellyfinApiController
/// <returns>
/// A list of <see cref="PlaylistUserPermissions"/> objects.
/// </returns>
- [HttpGet("{playlistId}/User")]
+ [HttpGet("{playlistId}/Users")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status403Forbidden)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
@@ -191,7 +191,7 @@ public class PlaylistsController : BaseJellyfinApiController
/// <returns>
/// <see cref="PlaylistUserPermissions"/>.
/// </returns>
- [HttpGet("{playlistId}/User/{userId}")]
+ [HttpGet("{playlistId}/Users/{userId}")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status403Forbidden)]
@@ -229,7 +229,7 @@ public class PlaylistsController : BaseJellyfinApiController
/// A <see cref="Task" /> that represents the asynchronous operation to modify an user's playlist permissions.
/// The task result contains an <see cref="OkResult"/> indicating success.
/// </returns>
- [HttpPost("{playlistId}/User/{userId}")]
+ [HttpPost("{playlistId}/Users/{userId}")]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status403Forbidden)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
@@ -275,7 +275,7 @@ public class PlaylistsController : BaseJellyfinApiController
/// A <see cref="Task" /> that represents the asynchronous operation to delete a user from a playlist's shares.
/// The task result contains an <see cref="OkResult"/> indicating success.
/// </returns>
- [HttpDelete("{playlistId}/User/{userId}")]
+ [HttpDelete("{playlistId}/Users/{userId}")]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status403Forbidden)]
[ProducesResponseType(StatusCodes.Status404NotFound)]