save-random-paths
sync-immich
This commit is contained in:
@ -27,4 +27,12 @@ public class AssetsController(AssetService assetService) : ControllerBase
|
||||
public IActionResult GetRandomPaths(Guid ownerId) =>
|
||||
Ok(_AssetService.GetRandomPaths(ownerId));
|
||||
|
||||
[HttpGet("{ownerId:guid}/save-random-paths")]
|
||||
public IActionResult SaveRandomPaths(Guid ownerId) =>
|
||||
Content(_AssetService.SaveRandomPaths(ownerId), _ContentType);
|
||||
|
||||
[HttpGet("{ownerId:guid}/sync-immich")]
|
||||
public IActionResult SyncImmich(Guid ownerId) =>
|
||||
Ok(_AssetService.SyncImmich(ownerId));
|
||||
|
||||
}
|
Reference in New Issue
Block a user