Merge pull request #1939 from edenhaus/supportedSchemas
Add api endpoint to return supported schemas
This commit is contained in:
@@ -176,3 +176,7 @@ func apiPreload(w http.ResponseWriter, r *http.Request) {
|
||||
http.Error(w, "", http.StatusMethodNotAllowed)
|
||||
}
|
||||
}
|
||||
|
||||
func apiSchemes(w http.ResponseWriter, r *http.Request) {
|
||||
api.ResponseJSON(w, SupportedSchemes())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user