16 lines
354 B
Go
16 lines
354 B
Go
|
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
|
||
|
})
|
||
|
}
|