This commit is contained in:
Dax Raad
2025-05-30 14:40:53 -04:00
parent 42c7880858
commit e9bad39a7e
7 changed files with 69 additions and 31 deletions

View File

@@ -775,16 +775,44 @@
"type": "string",
"pattern": "^ses"
},
"shareID": {
"type": "string"
"share": {
"type": "object",
"properties": {
"secret": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"secret",
"url"
]
},
"title": {
"type": "string"
},
"time": {
"type": "object",
"properties": {
"created": {
"type": "number"
},
"updated": {
"type": "number"
}
},
"required": [
"created",
"updated"
]
}
},
"required": [
"id",
"title"
"title",
"time"
]
},
"Provider.Info": {

View File

@@ -194,9 +194,16 @@ type ProviderModel struct {
// SessionInfo defines model for session.info.
type SessionInfo struct {
Id string `json:"id"`
ShareID *string `json:"shareID,omitempty"`
Title string `json:"title"`
Id string `json:"id"`
Share *struct {
Secret string `json:"secret"`
Url string `json:"url"`
} `json:"share,omitempty"`
Time struct {
Created float32 `json:"created"`
Updated float32 `json:"updated"`
} `json:"time"`
Title string `json:"title"`
}
// PostSessionAbortJSONBody defines parameters for PostSessionAbort.