Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportReq ¶
type ExportReq struct {
Path string `json:"path,omitempty" url:"path,omitempty"`
Format models.ExportFormat `json:"format,omitempty" url:"format,omitempty"`
DirectDownload bool `json:"direct_download,omitempty" url:"direct_download,omitempty"`
}
type ExportResp ¶
type ExportResp struct {
Content string `json:"content,omitempty" url:"content,omitempty"`
}
type GetStatusReq ¶
type GetStatusReq struct {
Path string `json:"path,omitempty" url:"path,omitempty"`
}
type GetStatusResp ¶
type GetStatusResp struct {
ObjectType models.ObjectType `json:"object_type,omitempty" url:"object_type,omitempty"`
ObjectID int64 `json:"object_id,omitempty" url:"object_id,omitempty"`
Path string `json:"path,omitempty" url:"path,omitempty"`
Language models.Language `json:"language,omitempty" url:"language,omitempty"`
}
type ImportReq ¶
type ImportReq struct {
Path string `json:"path,omitempty" url:"path,omitempty"`
Format models.ExportFormat `json:"format,omitempty" url:"format,omitempty"`
Language models.Language `json:"language,omitempty" url:"language,omitempty"`
Content string `json:"content,omitempty" url:"content,omitempty"`
Overwrite bool `json:"overwrite,omitempty" url:"overwrite,omitempty"`
}
type ListResp ¶
type ListResp struct {
Objects *[]models.ObjectInfo `json:"objects,omitempty" url:"objects,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.