OpenMediaCenter/apiGo/api/Photos.go

16 lines
354 B
Go
Raw Permalink Normal View History

2021-07-24 19:46:54 +00:00
package api
func AddPhotoHandlers() {
/**
* @api {post} /api/photos [getPhotos]
* @apiDescription get all available pictures
* @apiName getPhotos
* @apiGroup Photos
*
* @apiSuccess {string} result 'success' if successfully or error message if not
*/
AddHandler("getPhotos", PhotoNode, func(info *HandlerInfo) []byte {
return nil
})
}