- Preparing search index...
- The search index is not available
icloudjs
Properties
docsServiceUri
docsServiceUri: string
serviceUri
serviceUri: string
Methods
del
- del(item: string | {
drivewsid: string;
etag: string;
}, etag?: string): Promise<any>
-
Parameters
-
item: string | {
drivewsid: string;
etag: string;
}
-
Optional
etag: string
Returns Promise<any>
downloadFile
- downloadFile(item: {
docwsid: string;
size?: number;
zone?: string;
}): Promise<ReadableStream<any> | ReadableStream>
-
Parameters
-
item: {
docwsid: string;
size?: number;
zone?: string;
}
-
docwsid: string
-
Optional
size?: number
-
Optional
zone?: string
Returns Promise<ReadableStream<any> | ReadableStream>
getNode
- getNode(nodeId?: string | {
drivewsid: string;
}): Promise<iCloudDriveNode>
-
Parameters
-
nodeId: string | {
drivewsid: string;
} = "FOLDER::com.apple.CloudDocs::root"
mkdir
- mkdir(parent: string | {
drivewsid: string;
}, name: string): Promise<any>
-
Parameters
-
parent: string | {
drivewsid: string;
}
-
name: string
Returns Promise<any>