Documentation
¶
Index ¶
- type Attributes
- type BlobStorageRequest
- type BlobStorageResponse
- type DeviceTokenRequest
- type HostResponse
- type IDRequest
- type Integration
- type IntegrationFile
- type IntegrationFolder
- type IntegrationsResponse
- type NotificationMessage
- type RawMetadata
- type StatusResponse
- type SyncCompleted
- type UploadRequest
- type UploadResponse
- type WsMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes struct {
Auth0UserID string `json:"auth0UserID"`
Bookmarked bool `json:"bookmarked,omitempty"`
Event string `json:"event"`
ID string `json:"id,omitempty"`
Parent string `json:"parent,omitempty"`
SourceDeviceDesc string `json:"sourceDeviceDesc"`
SourceDeviceID string `json:"sourceDeviceID"`
Type string `json:"type,omitempty"`
Version string `json:"version,omitempty"`
VissibleName string `json:"vissibleName,omitempty"`
}
Attributes child object
type BlobStorageRequest ¶ added in v0.0.5
type BlobStorageRequest struct {
Method string `json:"http_method"`
Initial bool `json:"initial_sync"`
RelativePath string `json:"relative_path"`
}
BlobStorageRequest else
type BlobStorageResponse ¶ added in v0.0.5
type BlobStorageResponse struct {
Expires string `json:"expires"`
Method string `json:"method"`
RelativePath string `json:"relative_path"`
URL string `json:"url"`
}
BlobStorageResponse what else
type DeviceTokenRequest ¶
type DeviceTokenRequest struct {
Code string `json:"code"`
DeviceDesc string `json:"deviceDesc"`
DeviceID string `json:"deviceID"`
}
DeviceTokenRequest give me token
type HostResponse ¶
HostResponse what the host responded
type IDRequest ¶ added in v0.0.4
type IDRequest struct {
ID string `json:"ID"`
}
IDRequest request with only an id
type Integration ¶ added in v0.0.6
type IntegrationFile ¶ added in v0.0.6
type IntegrationFile struct {
DateChanged time.Time `json:"dateChanged"`
FileExtension string `json:"fileExtension"`
FileID string `json:"fileID"`
FileType string `json:"fileType"`
ID string `json:"id"`
Name string `json:"name"`
ProvidedFileType string `json:"providedFileType"`
Size int `json:"size"`
SourceFileType string `json:"sourceFileType"`
}
type IntegrationFolder ¶ added in v0.0.6
type IntegrationFolder struct {
Files []IntegrationFile `json:"files"`
FolderID string `json:"folderID"`
ID string `json:"id"`
Name string `json:"name"`
Path string `json:"path"`
SubFolders []IntegrationFolder `json:"subFolders"`
}
type IntegrationsResponse ¶ added in v0.0.5
type IntegrationsResponse struct {
Integrations []Integration `json:"integrations"`
}
IntegrationsResponse integrations
type NotificationMessage ¶
type NotificationMessage struct {
Attributes Attributes `json:"attributes"`
MessageID string `json:"messageId,omitempty"`
MessageID2 string `json:"message_id,omitempty"`
MessageID3 string `json:"messageid,omitempty"`
PublishTime string `json:"publishTime,omitempty"`
PublishTime2 string `json:"publish_time,omitempty"`
}
NotificationMessage child object
type RawMetadata ¶ added in v0.0.5
type RawMetadata struct {
ID string `json:"ID"`
Version int `json:"Version"`
Message string `json:"Message"`
Success bool `json:"Success"`
BlobURLGet string `json:"BlobURLGet"`
BlobURLGetExpires string `json:"BlobURLGetExpires"`
ModifiedClient string `json:"ModifiedClient"`
Type string `json:"Type"`
VissibleName string `json:"VissibleName"`
CurrentPage int `json:"CurrentPage"`
Bookmarked bool `json:"Bookmarked"`
Parent string `json:"Parent"`
}
RawMetadata just a raw document
type StatusResponse ¶
type StatusResponse struct {
ID string `json:"ID"`
Message string `json:"Message"`
Success bool `json:"Success"`
Version int `json:"Version"`
}
StatusResponse what else
type SyncCompleted ¶ added in v0.0.5
type SyncCompleted struct {
ID string `json:"id"`
}
SyncCompleted sync ended
type UploadRequest ¶
type UploadRequest struct {
ID string `json:"ID"`
Parent string `json:"Parent"`
Type string `json:"Type"`
Version int `json:"Version"`
}
UploadRequest upload reuquest
type UploadResponse ¶
type UploadResponse struct {
ID string `json:"ID"`
Message string `json:"Mesasge"`
Success bool `json:"Success"`
BlobURLPut string `json:"BlobURLPut"`
BlobURLPutExpires string `json:"BlobURLPutExpires"`
Version int `json:"Version"`
}
UploadResponse surprise
type WsMessage ¶
type WsMessage struct {
Message NotificationMessage `json:"message"`
Subscription string `json:"subscription,omitempty"`
}
WsMessage websocket notification
Click to show internal directories.
Click to hide internal directories.