mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21:10 +00:00
Adds the plugins and metadata provider management API
This commit is contained in:
1 parent
6f501a51f3
commit
7d417c1710
51 files changed
+2294
No files matched your search
@@ -22,5 +22,8 @@ public static partial class ApiRoutes
|
||||
public const string GET_RUNNING_LIBRARIES_SCAN = "/libraries/scans/running";
|
||||
public const string CANCEL_LIBRARIES_SCAN = "/libraries/scans/cancel";
|
||||
public const string CANCEL_LIBRARY_SCAN = "/libraries/{libraryId}/scans/{scanId}/cancel";
|
||||
public const string GET_LIBRARY_METADATA_PROVIDERS = "/libraries/{libraryId}/metadata-providers";
|
||||
public const string SET_LIBRARY_METADATA_PROVIDER_ENABLED = "/libraries/{libraryId}/metadata-providers/{pluginId}/enabled";
|
||||
public const string REORDER_LIBRARY_METADATA_PROVIDERS = "/libraries/{libraryId}/metadata-providers/reorder";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace Lumina.Presentation.Api.Common.Routes.Plugins;
|
||||
|
||||
/// <summary>
|
||||
/// Class for the collection of routes defined in this API.
|
||||
/// </summary>
|
||||
public static partial class ApiRoutes
|
||||
{
|
||||
/// <summary>
|
||||
/// Routes for the Plugins route.
|
||||
/// </summary>
|
||||
public static class Plugins
|
||||
{
|
||||
public const string GET_PLUGINS = "/plugins";
|
||||
public const string GET_PLUGIN_SETTINGS = "/plugins/{pluginId}/settings";
|
||||
public const string UPDATE_PLUGIN_SETTINGS = "/plugins/{pluginId}/settings";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user