Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-11 14:27:47 +00:00
parent 2bbe49f716
commit 6b9caa1e59
22 changed files with 1077 additions and 1072 deletions

View File

@@ -108,8 +108,13 @@ type Record struct {
}
type SaveRequest struct {
// The file to save
File *Record `json:"file"`
// Make the file public: true or false
Public bool `json:"public"`
}
type SaveResponse struct {
// The permalink for the file if made public
Url string `json:"url"`
}