mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-18 22:54:52 +08:00
Initial API and entities for link sharing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
@@ -32,15 +32,18 @@ func registerRoutes(router *gin.Engine, conf *config.Config) {
|
||||
api.UpdatePhoto(v1, conf)
|
||||
api.GetPhotos(v1, conf)
|
||||
api.GetPhotoDownload(v1, conf)
|
||||
api.LinkPhoto(v1, conf)
|
||||
api.LikePhoto(v1, conf)
|
||||
api.DislikePhoto(v1, conf)
|
||||
api.AddPhotoLabel(v1, conf)
|
||||
api.RemovePhotoLabel(v1, conf)
|
||||
api.GetMomentsTime(v1, conf)
|
||||
api.GetFile(v1, conf)
|
||||
api.LinkFile(v1, conf)
|
||||
|
||||
api.GetLabels(v1, conf)
|
||||
api.UpdateLabel(v1, conf)
|
||||
api.LinkLabel(v1, conf)
|
||||
api.LikeLabel(v1, conf)
|
||||
api.DislikeLabel(v1, conf)
|
||||
api.LabelThumbnail(v1, conf)
|
||||
@@ -64,6 +67,7 @@ func registerRoutes(router *gin.Engine, conf *config.Config) {
|
||||
api.DeleteAlbum(v1, conf)
|
||||
api.DownloadAlbum(v1, conf)
|
||||
api.GetAlbums(v1, conf)
|
||||
api.LinkAlbum(v1, conf)
|
||||
api.LikeAlbum(v1, conf)
|
||||
api.DislikeAlbum(v1, conf)
|
||||
api.AlbumThumbnail(v1, conf)
|
||||
|
Reference in New Issue
Block a user