This commit is contained in:
Mike Schwörer 2022-11-19 17:09:23 +01:00
parent 5c2877bdb8
commit 7af0ff5413
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
3 changed files with 26 additions and 14 deletions

12
server/README.md Normal file
View File

@ -0,0 +1,12 @@
//TODO
- background job for re-delivery
- accept/decline subscribtions (PATCH subs)
- (message.go) api routes
- (compat.go) api routes
- https://firebase.google.com/docs/cloud-messaging/send-message#rest
- List subscribtions on owned channels /RESTful?)
- deploy

View File

@ -498,7 +498,7 @@ func (h APIHandler) GetChannel(g *gin.Context) ginresp.HTTPResponse {
}
func (h APIHandler) GetChannelMessages(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// ListUserSubscriptions swaggerdoc
@ -697,25 +697,25 @@ func (h APIHandler) CancelSubscription(g *gin.Context) ginresp.HTTPResponse {
}
func (h APIHandler) CreateSubscription(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
func (h APIHandler) UpdateSubscription(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
func (h APIHandler) ListMessages(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
func (h APIHandler) GetMessage(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
func (h APIHandler) DeleteMessage(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
func (h APIHandler) SendMessage(g *gin.Context) ginresp.HTTPResponse {
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}

View File

@ -45,7 +45,7 @@ func (h CompatHandler) Register(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// Info swaggerdoc
@ -76,7 +76,7 @@ func (h CompatHandler) Info(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// Ack swaggerdoc
@ -104,7 +104,7 @@ func (h CompatHandler) Ack(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// Requery swaggerdoc
@ -130,7 +130,7 @@ func (h CompatHandler) Requery(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// Update swaggerdoc
@ -161,7 +161,7 @@ func (h CompatHandler) Update(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// Expand swaggerdoc
@ -185,7 +185,7 @@ func (h CompatHandler) Expand(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}
// Upgrade swaggerdoc
@ -214,5 +214,5 @@ func (h CompatHandler) Upgrade(g *gin.Context) ginresp.HTTPResponse {
//TODO
return ginresp.NotImplemented()
return ginresp.NotImplemented() //TODO
}