add instagram api and schema

This commit is contained in:
Jay
2019-05-22 22:25:09 +08:00
parent d7d5ace2c0
commit 426bb0fea8
5 changed files with 173 additions and 0 deletions
+2
View File
@@ -91,6 +91,8 @@ func SetRoutes(r *gin.Engine) {
{
privateAPIGroup.GET("/pages", context.PatchCtx(private.GetFacebookPageIDs))
privateAPIGroup.POST("/pageposts", context.PatchCtx(private.UpdateFacebookPagePost))
privateAPIGroup.GET("/ig", context.PatchCtx(private.GetInstagramIDs))
privateAPIGroup.POST("/igposts", context.PatchCtx(private.UpdateInstagramPost))
}
apiTwitchGroup := apiGroup.Group("/twitch", context.PatchCtx(api.CheckSession))