webapi: Add file type and format detection via /file/format

This commit is contained in:
Kleissner
2021-09-26 23:40:22 +02:00
parent 3fbb1a824b
commit dc093f5f6d
5 changed files with 268 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ func apiProfileRead(w http.ResponseWriter, r *http.Request) {
}
/*
apiProfileWrite writes a specific users profile field or blob.
apiProfileWrite writes profile fields or blobs.
For the index see core.ProfileFieldX and core.ProfileBlobX constants.
Request: POST /profile/write with JSON structure apiProfileData