2022-01-11 06:20:32 +00:00
|
|
|
package databag
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
2022-07-25 04:43:58 +00:00
|
|
|
//GetAccountApps TODO list apps attached to account
|
2022-01-11 06:20:32 +00:00
|
|
|
func GetAccountApps(w http.ResponseWriter, r *http.Request) {
|
|
|
|
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
|
|
|
|
w.WriteHeader(http.StatusOK)
|
|
|
|
}
|
|
|
|
|
2022-07-25 04:43:58 +00:00
|
|
|
//GetAccountAsset TODO list assets hosted by account
|
2022-01-13 17:17:22 +00:00
|
|
|
func GetAccountAsset(w http.ResponseWriter, r *http.Request) {
|
|
|
|
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
|
|
|
|
w.WriteHeader(http.StatusOK)
|
|
|
|
}
|
|
|
|
|
2022-07-25 18:44:33 +00:00
|
|
|
//RemoveAccountApp TODO remove app attached to account
|
2022-01-11 06:20:32 +00:00
|
|
|
func RemoveAccountApp(w http.ResponseWriter, r *http.Request) {
|
|
|
|
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
|
|
|
|
w.WriteHeader(http.StatusOK)
|
|
|
|
}
|
|
|
|
|
2022-07-25 04:43:58 +00:00
|
|
|
//SetAccountExport TODO export account
|
2022-01-13 05:00:52 +00:00
|
|
|
func SetAccountExport(w http.ResponseWriter, r *http.Request) {
|
|
|
|
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
|
|
|
|
w.WriteHeader(http.StatusOK)
|
|
|
|
}
|
2022-01-13 18:06:19 +00:00
|
|
|
|
2022-07-25 04:43:58 +00:00
|
|
|
//SetAccountNode TODO set forwarding
|
2022-01-13 18:06:19 +00:00
|
|
|
func SetAccountNode(w http.ResponseWriter, r *http.Request) {
|
|
|
|
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
|
|
|
|
w.WriteHeader(http.StatusOK)
|
|
|
|
}
|