Started work on linstrom specific endpoints
Router plus a bunch of placeholder handlers Also a poll on fedi regarding streamed events (one vs many channels)
This commit is contained in:
parent
1fb924f59c
commit
4f4d05a335
11 changed files with 103 additions and 39 deletions
29
server/apiLinstromNotes.go
Normal file
29
server/apiLinstromNotes.go
Normal file
|
@ -0,0 +1,29 @@
|
|||
package server
|
||||
|
||||
import "net/http"
|
||||
|
||||
// Notes
|
||||
func linstromGetNote(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromUpdateNote(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromNewNote(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromDeleteNote(w http.ResponseWriter, r *http.Request) {}
|
||||
|
||||
// Reactions
|
||||
func linstromGetReactions(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromAddReaction(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromDeleteReaction(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromUpdateReaction(w http.ResponseWriter, r *http.Request) {}
|
||||
|
||||
// Boosts
|
||||
func linstromGetBoosts(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromAddBoost(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromRemoveBoost(w http.ResponseWriter, r *http.Request) {}
|
||||
|
||||
// Quotes
|
||||
func linstromGetQuotes(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromAddQuote(w http.ResponseWriter, r *http.Request) {}
|
||||
|
||||
// No delete quote since quotes are their own notes with an extra attribute
|
||||
|
||||
func linstromPinNote(w http.ResponseWriter, r *http.Request) {}
|
||||
func linstromUnpinNote(w http.ResponseWriter, r *http.Request) {}
|
Loading…
Add table
Add a link
Reference in a new issue