openreplay/backend/internal/http/router/model.go
Alexander b92177a151
Assist-only feature (#2214)
* feat(http): small prep for task implementation

* feat(http): added assist-only check to ee

* feat(backend): using a new license check url

* feat(backend): packages upgrade
2024-05-28 09:41:16 +02:00

37 lines
1.4 KiB
Go

package router
type NotStartedRequest struct {
ProjectKey *string `json:"projectKey"`
TrackerVersion string `json:"trackerVersion"`
DoNotTrack bool `json:"DoNotTrack"`
}
type StartMobileSessionRequest struct {
Token string `json:"token"`
ProjectKey *string `json:"projectKey"`
TrackerVersion string `json:"trackerVersion"`
RevID string `json:"revID"`
UserUUID *string `json:"userUUID"`
UserOSVersion string `json:"userOSVersion"`
UserDevice string `json:"userDevice"`
UserDeviceType string `json:"userDeviceType"`
Timestamp uint64 `json:"timestamp"`
Timezone string `json:"timezone"`
DeviceMemory uint64 `json:"deviceMemory"`
DoNotRecord bool `json:"doNotRecord"` // start record session or not
Condition string `json:"condition"` // condition for start record session
Platform string `json:"platform"`
Width int `json:"width"`
Height int `json:"height"`
}
type StartMobileSessionResponse struct {
Token string `json:"token"`
ImagesHashList []string `json:"imagesHashList"`
UserUUID string `json:"userUUID"`
BeaconSizeLimit int64 `json:"beaconSizeLimit"`
SessionID string `json:"sessionID"`
ImageQuality string `json:"quality"`
FrameRate int `json:"fps"`
ProjectID string `json:"projectID"`
}