mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10:11:10 +00:00
Refers to routes instead of requests in endpoint summaries
This commit is contained in:
1 parent
37dff6039d
commit
f3e465255e
23 files changed
+23
-23
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ public class CancelLibraryScanEndpointSummary : Summary<CancelLibraryScanEndpoin
|
||||
public CancelLibraryScanEndpointSummary()
|
||||
{
|
||||
Summary = "Cancels the scan of a media library.";
|
||||
Description = "Cancels a running scan of the media library identified by the request.";
|
||||
Description = "Cancels a running scan of the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.LibraryId, "The unique identifier of the media library whose scan is cancelled. Required.");
|
||||
RequestParam(r => r.ScanId, "The Id of the scan to cancel. Required.");
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ public class DeleteLibraryEndpointSummary : Summary<DeleteLibraryEndpoint, Delet
|
||||
public DeleteLibraryEndpointSummary()
|
||||
{
|
||||
Summary = "Deletes a media library.";
|
||||
Description = "Deletes the media library identified by the request.";
|
||||
Description = "Deletes the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.Id, "The unique identifier of the media library to delete. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ public class EditLibraryViewEndpointSummary : Summary<EditLibraryViewEndpoint, E
|
||||
public EditLibraryViewEndpointSummary()
|
||||
{
|
||||
Summary = "Renders the edit library view.";
|
||||
Description = "Renders the view for editing the media library identified by the request.";
|
||||
Description = "Renders the view for editing the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.Id, "The unique identifier of the media library to edit. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ public class GetArtworkProvidersEndpointSummary : Summary<GetArtworkProvidersEnd
|
||||
public GetArtworkProvidersEndpointSummary()
|
||||
{
|
||||
Summary = "Retrieves the artwork providers of a media library.";
|
||||
Description = "Retrieves the artwork providers of the media library identified by the request.";
|
||||
Description = "Retrieves the artwork providers of the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.LibraryId, "The unique identifier of the media library whose artwork providers are retrieved. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ public class GetBookReadersEndpointSummary : Summary<GetBookReadersEndpoint, Get
|
||||
public GetBookReadersEndpointSummary()
|
||||
{
|
||||
Summary = "Retrieves the book readers of a media library.";
|
||||
Description = "Retrieves the book readers of the media library identified by the request, with their supported file extensions and enabled state.";
|
||||
Description = "Retrieves the book readers of the media library identified by the route, with their supported file extensions and enabled state.";
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose book readers are retrieved. Required.");
|
||||
|
||||
ExampleRequest = new GetBookReadersRequest(
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ public class GetMetadataProvidersEndpointSummary : Summary<GetMetadataProvidersE
|
||||
public GetMetadataProvidersEndpointSummary()
|
||||
{
|
||||
Summary = "Retrieves the metadata providers of a media library.";
|
||||
Description = "Retrieves the metadata providers of the media library identified by the request.";
|
||||
Description = "Retrieves the metadata providers of the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.LibraryId, "The unique identifier of the media library whose metadata providers are retrieved. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ public class ReorderArtworkProvidersEndpointSummary : Summary<ReorderArtworkProv
|
||||
public ReorderArtworkProvidersEndpointSummary()
|
||||
{
|
||||
Summary = "Reorders the artwork providers of a media library.";
|
||||
Description = "Reorders the artwork providers of the media library identified by the request, in the provided order.";
|
||||
Description = "Reorders the artwork providers of the media library identified by the route, in the provided order.";
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose artwork providers are reordered. Required.");
|
||||
|
||||
ExampleRequest = new ReorderLibraryArtworkProvidersRequest
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ public class ReorderMetadataProvidersEndpointSummary : Summary<ReorderMetadataPr
|
||||
public ReorderMetadataProvidersEndpointSummary()
|
||||
{
|
||||
Summary = "Reorders the metadata providers of a media library.";
|
||||
Description = "Reorders the metadata providers of the media library identified by the request.";
|
||||
Description = "Reorders the metadata providers of the media library identified by the route.";
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose metadata providers are reordered. Required.");
|
||||
RequestParam(r => r.PluginIds, "The plugin Ids in the new order, from highest to lowest rank. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ public class ScanLibraryEndpointSummary : Summary<ScanLibraryEndpoint, ScanLibra
|
||||
public ScanLibraryEndpointSummary()
|
||||
{
|
||||
Summary = "Starts the scan of a media library.";
|
||||
Description = "Initiates the scan of the media library identified by the request.";
|
||||
Description = "Initiates the scan of the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.Id, "The unique identifier of the media library to scan. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ public class SetArtworkProviderEnabledEndpointSummary : Summary<SetArtworkProvid
|
||||
public SetArtworkProviderEnabledEndpointSummary()
|
||||
{
|
||||
Summary = "Enables or disables an artwork provider of a media library.";
|
||||
Description = "Enables or disables the artwork provider of the media library identified by the request.";
|
||||
Description = "Enables or disables the artwork provider of the media library identified by the route.";
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose artwork provider is enabled or disabled. Required.");
|
||||
RequestParam(r => r.PluginId, "The unique identifier of the plugin providing the artwork. Required.");
|
||||
RequestParam(r => r.IsEnabled, "Whether the artwork provider should be enabled for the media library, or not. Required.");
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ public class SetBookReaderEnabledEndpointSummary : Summary<SetBookReaderEnabledE
|
||||
public SetBookReaderEnabledEndpointSummary()
|
||||
{
|
||||
Summary = "Enables or disables a book reader of a media library.";
|
||||
Description = "Enables or disables the book reader of the media library identified by the request.";
|
||||
Description = "Enables or disables the book reader of the media library identified by the route.";
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose book reader is enabled or disabled. Required.");
|
||||
RequestParam(r => r.PluginId, "The unique identifier of the plugin providing the book reader. Required.");
|
||||
RequestParam(r => r.IsEnabled, "Whether the book reader should be enabled for the media library, or not. Required.");
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ public class SetMetadataProviderEnabledEndpointSummary : Summary<SetMetadataProv
|
||||
public SetMetadataProviderEnabledEndpointSummary()
|
||||
{
|
||||
Summary = "Enables or disables a metadata provider of a media library.";
|
||||
Description = "Enables or disables the metadata provider of the media library identified by the request.";
|
||||
Description = "Enables or disables the metadata provider of the media library identified by the route.";
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose metadata provider is enabled or disabled. Required.");
|
||||
RequestParam(r => r.PluginId, "The unique identifier of the plugin providing the metadata. Required.");
|
||||
RequestParam(r => r.IsEnabled, "Whether the metadata provider should be enabled for the media library, or not. Required.");
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ public class EditBookViewEndpointSummary : Summary<EditBookViewEndpoint, GetBook
|
||||
public EditBookViewEndpointSummary()
|
||||
{
|
||||
Summary = "Renders the edit book view.";
|
||||
Description = "Renders the view for editing the book identified by the request.";
|
||||
Description = "Renders the view for editing the book identified by the route.";
|
||||
|
||||
RequestParam(r => r.BookId, "The unique identifier of the book to edit. Required.");
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library the book belongs to. Required.");
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ public class GetBookDetailsEndpointSummary : Summary<GetBookDetailsEndpoint, Get
|
||||
public GetBookDetailsEndpointSummary()
|
||||
{
|
||||
Summary = "Gets the details of a book.";
|
||||
Description = "Gets the full details of the book identified by the request, for the details and editing view.";
|
||||
Description = "Gets the full details of the book identified by the route, for the details and editing view.";
|
||||
|
||||
RequestParam(r => r.BookId, "The unique identifier of the book to get. Required.");
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library the book belongs to. Required.");
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ public class GetLibraryItemsEndpointSummary : Summary<GetLibraryItemsEndpoint, G
|
||||
public GetLibraryItemsEndpointSummary()
|
||||
{
|
||||
Summary = "Retrieves the lightweight details of the books of a media library.";
|
||||
Description = "Retrieves the lightweight details of the books of the media library identified by the request.";
|
||||
Description = "Retrieves the lightweight details of the books of the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library whose books are retrieved. Required.");
|
||||
RequestParam(r => r.CurrentPage, "The page of results to retrieve. Optional.");
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ public class BooksIndexViewEndpointSummary : Summary<BooksIndexViewEndpoint, Get
|
||||
public BooksIndexViewEndpointSummary()
|
||||
{
|
||||
Summary = "Renders the books browsing view.";
|
||||
Description = "Renders the view for browsing the books of the media library identified by the request.";
|
||||
Description = "Renders the view for browsing the books of the media library identified by the route.";
|
||||
|
||||
RequestParam(r => r.LibraryId, "The unique identifier of the media library whose books are browsed. Optional.");
|
||||
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ public class ReadViewEndpointSummary : Summary<ReadViewEndpoint, ReadBookViewReq
|
||||
public ReadViewEndpointSummary()
|
||||
{
|
||||
Summary = "Displays the reading view of a book.";
|
||||
Description = "Displays the reading view of the book identified by the request.";
|
||||
Description = "Displays the reading view of the book identified by the route.";
|
||||
RequestParam(r => r.BookId, "The Id of the book to read. Required.");
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library the book belongs to. Required.");
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ public class SaveBookEndpointSummary : Summary<SaveBookEndpoint, UpdateBookReque
|
||||
public SaveBookEndpointSummary()
|
||||
{
|
||||
Summary = "Updates a book.";
|
||||
Description = "Updates the details of the book identified by the request.";
|
||||
Description = "Updates the details of the book identified by the route.";
|
||||
|
||||
RequestParam(r => r.BookId, "The unique identifier of the book to update. Required.");
|
||||
RequestParam(r => r.LibraryId, "The Id of the media library the book belongs to. Required.");
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ public class UpdateBookCoverEndpointSummary : Summary<UpdateBookCoverEndpoint, E
|
||||
public UpdateBookCoverEndpointSummary()
|
||||
{
|
||||
Summary = "Updates the cover image of a book.";
|
||||
Description = "Updates the cover image of the book identified by the request, with the image uploaded in the multipart form of the request.";
|
||||
Description = "Updates the cover image of the book identified by the route, with the image uploaded in the multipart form of the request.";
|
||||
|
||||
Response(200, "The relative path of the stored cover image is returned.", example: new SuccessResponse<string>(true, default));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user