mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user