request

package
v3.0.0-beta9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestWebDriveFileACLAdd

type RequestWebDriveFileACLAdd struct {
	UserID   string           `json:"userid"`
	FileID   string           `json:"fileid"`
	AuthInfo []*power.HashMap `json:"auth_info"`
}

type RequestWebDriveFileACLDel

type RequestWebDriveFileACLDel struct {
	UserID   string           `json:"userid"`
	FileID   string           `json:"fileid"`
	AuthInfo []*power.HashMap `json:"auth_info"`
}

type RequestWebDriveFileCreate

type RequestWebDriveFileCreate struct {
	UserID   string `json:"userid"`
	SpaceID  string `json:"spaceid"`
	FatherID string `json:"fatherid"`
	FileType string `json:"file_type"`
	FileName string `json:"file_name"`
}

type RequestWebDriveFileDelete

type RequestWebDriveFileDelete struct {
	UserID string `json:"userid"`
	FileID string `json:"fileid"`
}

type RequestWebDriveFileDownload

type RequestWebDriveFileDownload struct {
	UserID string `json:"userid"`
	FileID string `json:"fileid"`
}

type RequestWebDriveFileList

type RequestWebDriveFileList struct {
	UserID   string `json:"userid"`
	SpaceID  string `json:"spaceid"`
	FatherID string `json:"fatherid"`
	SortType int    `json:"sort_type"`
	Start    int    `json:"start"`
	Limit    int    `json:"limit"`
}

type RequestWebDriveFileMove

type RequestWebDriveFileMove struct {
	UserID   string   `json:"userid"`
	FatherID string   `json:"fatherid"`
	Replace  bool     `json:"replace"`
	FileID   []string `json:"fileid"`
}

type RequestWebDriveFileRename

type RequestWebDriveFileRename struct {
	UserID  string `json:"userid"`
	FileID  string `json:"fileid"`
	NewName string `json:"new_name"`
}

type RequestWebDriveFileSetting

type RequestWebDriveFileSetting struct {
	UserID    string `json:"userid"`
	FileID    string `json:"fileid"`
	AuthScope int    `json:"auth_scope"`
	Auth      int    `json:"auth"`
}

type RequestWebDriveFileShare

type RequestWebDriveFileShare struct {
	UserID string `json:"userid"`
	FileID string `json:"fileid"`
}

type RequestWebDriveFileUpload

type RequestWebDriveFileUpload struct {
	UserID            string `json:"userid"`
	SpaceID           string `json:"spaceid"`
	FatherID          string `json:"fatherid"`
	FileName          string `json:"file_name"`
	FileBase64Content string `json:"file_base64_content"` // 文件内容base64(注意:只需要填入文件内容的Base64,不需要添加任何如:”data:application/x-javascript;base64” 的数据类型描述信息)
}

type RequestWebDriveSpaceACLAdd

type RequestWebDriveSpaceACLAdd struct {
	UserID   string           `json:"userid"`
	SpaceID  string           `json:"spaceid"`
	AuthInfo []*power.HashMap `json:"auth_info"`
}

type RequestWebDriveSpaceACLDel

type RequestWebDriveSpaceACLDel struct {
	UserID   string           `json:"userid"`
	SpaceID  string           `json:"spaceid"`
	AuthInfo []*power.HashMap `json:"auth_info"`
}

type RequestWebDriveSpaceCreate

type RequestWebDriveSpaceCreate struct {
	UserID    string           `json:"userid"`
	SpaceName string           `json:"space_name"`
	AuthInfo  []*power.HashMap `json:"auth_info"`
}

type RequestWebDriveSpaceDismiss

type RequestWebDriveSpaceDismiss struct {
	UserID  string `json:"userid"`
	SpaceID string `json:"spaceid"`
}

type RequestWebDriveSpaceInfo

type RequestWebDriveSpaceInfo struct {
	UserID  string `json:"userid"`
	SpaceID string `json:"spaceid"`
}

type RequestWebDriveSpaceRename

type RequestWebDriveSpaceRename struct {
	UserID    string `json:"userid"`
	SpaceID   string `json:"spaceid"`
	SpaceName string `json:"space_name"`
}

type RequestWebDriveSpaceSetting

type RequestWebDriveSpaceSetting struct {
	UserID                       string `json:"userid"`
	SpaceID                      string `json:"spaceid"`
	EnableWatermark              bool   `json:"enable_watermark"`
	AddMemberOnlyAdmin           bool   `json:"add_member_only_admin"`
	EnableShareUrl               bool   `json:"enable_share_url"`
	ShareUrlNoApprove            bool   `json:"share_url_no_approve"`
	ShareUrlNoApproveDefaultAuth int    `json:"share_url_no_approve_default_auth"`
}

type RequestWebDriveSpaceShare

type RequestWebDriveSpaceShare struct {
	UserID  string `json:"userid"`
	SpaceID string `json:"spaceid"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL