Methods for accessing and managing access groups
- Source:
Methods
static ContentPart({libraryIdoptional,objectIdoptional,versionHashoptional,partHash}) → Promise.<Object>
Get information on a specific part
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
libraryId |
string |
<optional> |
ID of the library |
objectId |
string |
<optional> |
ID of the object |
versionHash |
string |
<optional> |
Hash of the object version - if not specified, latest version will be used |
partHash |
string |
Hash of the part to retrieve |
Examples
async ContentPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "hash": "hq__6RgTRA5mEUB2e3SYc9fe9TPfDXZjoHLwYajJA6CV6oSSZLvDvug1XTqVR9DcNLQhokQUprocuf", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "size": 100000 } }
async ContentPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "hash": "hq__6RgTRA5mEUB2e3SYc9fe9TPfDXZjoHLwYajJA6CV6oSSZLvDvug1XTqVR9DcNLQhokQUprocuf", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf", "size": 102657 } }
async ContentPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqp_6wxaWdXqF4tv9RsHLF5GwBY2XfUDTBYqtUAtzEw6teJj1K3B" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "hash": "hq__6RgTRA5mEUB2e3SYc9fe9TPfDXZjoHLwYajJA6CV6oSSZLvDvug1XTqVR9DcNLQhokQUprocuf", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqp_6wxaWdXqF4tv9RsHLF5GwBY2XfUDTBYqtUAtzEw6teJj1K3B", "size": 100000 } }
async ContentPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqpeDibtoihzjUfVA5EKU8mxHxRNrBanJU85KCAM2inbzkDnWjEM" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "hash": "hq__6RgTRA5mEUB2e3SYc9fe9TPfDXZjoHLwYajJA6CV6oSSZLvDvug1XTqVR9DcNLQhokQUprocuf", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqpeDibtoihzjUfVA5EKU8mxHxRNrBanJU85KCAM2inbzkDnWjEM", "size": 104970 } }
- Source:
static ContentParts({libraryIdoptional,objectIdoptional,versionHashoptional}) → Promise.<Object>
List content object parts
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
libraryId |
string |
<optional> |
ID of the library |
objectId |
string |
<optional> |
ID of the object |
versionHash |
string |
<optional> |
Hash of the object version - if not specified, latest version will be used |
Examples
async ContentParts({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs" }); [ { "hash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "size": 100000 }, { "hash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf", "size": 102657 }, { "hash": "hqp_6wxaWdXqF4tv9RsHLF5GwBY2XfUDTBYqtUAtzEw6teJj1K3B", "size": 100000 }, { "hash": "hqpeDibtoihzjUfVA5EKU8mxHxRNrBanJU85KCAM2inbzkDnWjEM", "size": 104970 } ]
async ContentParts({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs" }); [ { "hash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf", "size": 102657 }, { "hash": "hqpeDibtoihzjUfVA5EKU8mxHxRNrBanJU85KCAM2inbzkDnWjEM", "size": 104970 }, { "hash": "hqp_Gj4MmdotDRVL9cBde82AjfzvXh8gRCGRLDf1it73EmbpbcAP", "size": 200000 }, { "hash": "hqp_weywY8hZN6DtGon3FGUnqmc5iqDsdZP3GGYVcsfHDfVKrMmsV", "size": 33554432 }, { "hash": "hqp_21EGs7Qn1YPPSN16C1BsX12Fj7ZcJdSe5gJ7XbGy8CFSJLfXHy", "size": 33554432 }, { "hash": "hqp_2CGYfTCAZ4PPtaMJzXYqJNuLiDV9SHJPhTmJyc17vg2gzMT9HX", "size": 30835310 }, { "hash": "hqpeQtmBKbfTrcTybr8DqQYrfteMjkth2yTpz1jR6PGTuuYekN5v", "size": 1986882 }, { "hash": "hqpe2QRZeCYqyFRg1qCArYqBmYuazGkoucc2PSaVviYqC9wctNPPok", "size": 32702496 }, { "hash": "hqpe28AZ3dn4FPnJwdiFHy4QT26fuQ9HXQ3qXrWhkRU1La12ffiM7U", "size": 32702496 }, { "hash": "hqpe23EKpg1XdrZg6XoXqgHo2tEhN6LcCtog1Kgn5ivnJKuqmf7y74", "size": 32702496 } ]
- Source:
static CreateFileDirectories({libraryId,objectId,writeToken,filePaths})
Create the specified directories on the specified object
Parameters:
Name | Type | Description |
---|---|---|
libraryId |
string |
ID of the library |
objectId |
string |
ID of the object |
writeToken |
string |
Write token of the draft |
filePaths |
Array.<string> |
List of file paths to create |
Example
async CreateFileDirectories({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7ANCFJrZQ3J4AKo4N2Gjc91", "filePaths": [ "new-directory-1", "new-directory-2", "new-directory-3" ] }); <No Return Value>
- Source:
static CreatePart({libraryId,objectId,writeToken,encryptionoptional}) → Promise.<string>
Create a part upload draft
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
ID of the library |
||
objectId |
string |
ID of the object |
||
writeToken |
string |
Write token of the content object draft |
||
encryption |
string |
<optional> |
none |
Desired encryption scheme. Options: 'none' (default), 'cgck' |
Examples
async CreatePart({ "libraryId": "ilib4BRmonTig9QSD87MRWP8F5iLfdct", "objectId": "iq__3ZeNik5xdThEuYsEaGj8fAE7Kcv4", "writeToken": "tqw__HSXHGmTjQEWNPEVXsTxH1ZGj3cszGaMHqCqNEqJoGX7LgzYRtCz6svp5uCyRDoA76g65esLDrrpvhMQCBqp", "encryption": "none" }); "tqpwTuAqgM9hbCtfjBFzYwG8LW"
async CreatePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7MZaN3fR3fXhCmdu5cGctJ8", "encryption": "none" }); "tqpwRxJghdSLbdLaS5vxgGMXcT"
async CreatePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7GyZGWJb8zwVn8YrDiKsgEt", "encryption": "cgck" }); "tqpwVt9HB3pdxawK7uJbDgBrBR"
async CreatePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex" }); "tqpw49e8giMGJQFgJp632LgoWU"
async CreatePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "encryption": "cgck" }); "tqpwAUwW79i5wLLRsCfJQFj3Nn"
- Source:
static DeleteFiles({libraryId,objectId,writeToken,filePaths})
Delete the specified list of files/directories
Parameters:
Name | Type | Description |
---|---|---|
libraryId |
string |
ID of the library |
objectId |
string |
ID of the object |
writeToken |
string |
Write token of the draft |
filePaths |
Array.<string> |
List of file paths to delete |
Example
async DeleteFiles({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7W3yh9s9F9ENAb3mU4c7L9x", "filePaths": [ "new-directory-1", "new-directory-2", "testDirectory/File 2" ] }); <No Return Value>
- Source:
static DeletePart({libraryId,objectId,writeToken,partHash})
Delete the specified part from a content draft
Parameters:
Name | Type | Description |
---|---|---|
libraryId |
string |
ID of the library |
objectId |
string |
ID of the object |
writeToken |
string |
Write token of the content object draft |
partHash |
string |
Hash of the part to delete |
Examples
async DeletePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d76zCnXJdix89Mp2DVUrqMVV", "partHash": "hqp_6wxaWdXqF4tv9RsHLF5GwBY2XfUDTBYqtUAtzEw6teJj1K3B" }); <No Return Value>
async DeletePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d76zCnXJdix89Mp2DVUrqMVV", "partHash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR" }); <No Return Value>
- Source:
static DownloadFile({libraryIdoptional,objectIdoptional,versionHashoptional,writeTokenoptional,filePath,formatoptional,chunkedoptional,chunkSizeoptional,clientSideDecryptionoptional,callbackoptional}) → Promise.<ArrayBuffer>|undefined
Download a file from a content object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
<optional> |
ID of the library |
|
objectId |
string |
<optional> |
ID of the object |
|
versionHash |
string |
<optional> |
Hash of the object version - if not specified, latest version will be used |
|
writeToken |
string |
<optional> |
Write token for the draft from which to download the file |
|
filePath |
string |
Path to the file to download |
||
format |
string |
<optional> |
"arrayBuffer" |
Format in which to return the data ("blob" | "arraybuffer" | "buffer") |
chunked |
boolean |
<optional> |
false |
If specified, file will be downloaded and decrypted in chunks. The specified callback will be invoked on completion of each chunk. This is recommended for large files. |
chunkSize |
number |
<optional> |
1000000 |
Size of file chunks to request for download
|
clientSideDecryption |
boolean |
<optional> |
false |
If specified, decryption of the file (if necessary) will be done by the client instead of on the fabric node |
callback |
function |
<optional> |
If specified, will be periodically called with current download status - Required if
|
Examples
async DownloadFile({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "filePath": "testDirectory/File 1", "format": "arrayBuffer" }); <ArrayBuffer 100000>
async DownloadFile({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "filePath": "testDirectory/File 2", "format": "arrayBuffer" }); <ArrayBuffer 100000>
async DownloadFile({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "filePath": "s3-copy", "format": "arrayBuffer" }); <ArrayBuffer 97944174>
async DownloadFile({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "filePath": "s3-copy-encrypted", "format": "arrayBuffer", "clientSideDecryption": true }); <ArrayBuffer 97944174>
- Source:
static DownloadPart({libraryIdoptional,objectIdoptional,versionHashoptional,writeTokenoptional,partHash,formatoptional,chunkedoptional,chunkSizeoptional,callbackoptional}) → Promise.<ArrayBuffer>|undefined
Download a part from a content object. The fromByte and range parameters can be used to specify a specific section of the part to download.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
<optional> |
ID of the library |
|
objectId |
string |
<optional> |
ID of the object |
|
versionHash |
string |
<optional> |
Hash of the object version - if not specified, latest version will be used |
|
writeToken |
string |
<optional> |
Write token for the draft from which to download the part |
|
partHash |
string |
Hash of the part to download |
||
format |
string |
<optional> |
"arrayBuffer" |
Format in which to return the data ("blob" | "arraybuffer" | "buffer) |
chunked |
boolean |
<optional> |
false |
If specified, part will be downloaded and decrypted in chunks. The specified callback will be invoked on completion of each chunk. This is recommended for large files, especially if they are encrypted. |
chunkSize |
number |
<optional> |
1000000 |
Size of file chunks to request for download
|
callback |
function |
<optional> |
If specified, will be periodically called with current download status - Required if
|
Examples
async DownloadPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "format": "arrayBuffer" }); <ArrayBuffer 100000>
async DownloadPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf", "format": "arrayBuffer" }); <ArrayBuffer 100000>
async DownloadPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqp_6wxaWdXqF4tv9RsHLF5GwBY2XfUDTBYqtUAtzEw6teJj1K3B", "chunked": true, "chunkSize": 10000, "callback": "<function>" }); <No Return Value>
async DownloadPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "partHash": "hqpeDibtoihzjUfVA5EKU8mxHxRNrBanJU85KCAM2inbzkDnWjEM", "chunked": true, "chunkSize": 10000, "callback": "<function>" }); <No Return Value>
- Source:
static FinalizePart({libraryId,objectId,writeToken,partWriteToken,encryptionoptional}) → Promise.<object>
Finalize an open part draft
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
ID of the library |
||
objectId |
string |
ID of the object |
||
writeToken |
string |
Write token of the content object draft |
||
partWriteToken |
string |
Write token of the part |
||
encryption |
string |
<optional> |
none |
Desired encryption scheme. Options: 'none' (default), 'cgck' |
Examples
async FinalizePart({ "libraryId": "ilib4BRmonTig9QSD87MRWP8F5iLfdct", "objectId": "iq__3ZeNik5xdThEuYsEaGj8fAE7Kcv4", "writeToken": "tqw__HSXHGmTjQEWNPEVXsTxH1ZGj3cszGaMHqCqNEqJoGX7LgzYRtCz6svp5uCyRDoA76g65esLDrrpvhMQCBqp", "partWriteToken": "tqpwTuAqgM9hbCtfjBFzYwG8LW", "encryption": "none" }); { "content": { "id": "iq__3ZeNik5xdThEuYsEaGj8fAE7Kcv4", "write_token": "tqw__HSXHGmTjQEWNPEVXsTxH1ZGj3cszGaMHqCqNEqJoGX7LgzYRtCz6svp5uCyRDoA76g65esLDrrpvhMQCBqp", "type": "", "qlib_id": "ilib4BRmonTig9QSD87MRWP8F5iLfdct" }, "part": { "hash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "size": 100000 } }
async FinalizePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7MZaN3fR3fXhCmdu5cGctJ8", "partWriteToken": "tqpwRxJghdSLbdLaS5vxgGMXcT", "encryption": "none" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "write_token": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7MZaN3fR3fXhCmdu5cGctJ8", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "size": 100000 } }
async FinalizePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7GyZGWJb8zwVn8YrDiKsgEt", "partWriteToken": "tqpwVt9HB3pdxawK7uJbDgBrBR", "encryption": "cgck" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "write_token": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7GyZGWJb8zwVn8YrDiKsgEt", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf", "size": 102657 } }
async FinalizePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "write_token": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqp_6wxaWdXqF4tv9RsHLF5GwBY2XfUDTBYqtUAtzEw6teJj1K3B", "size": 100000 } }
async FinalizePart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "encryption": "cgck" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "write_token": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqpeDibtoihzjUfVA5EKU8mxHxRNrBanJU85KCAM2inbzkDnWjEM", "size": 104970 } }
- Source:
static ListFiles({libraryIdoptional,objectIdoptional,pathoptional,versionHashoptional,writeTokenoptional})
List the file information about this object
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
libraryId |
string |
<optional> |
ID of the library |
objectId |
string |
<optional> |
ID of the object |
path |
string |
<optional> |
ID of the object |
versionHash |
string |
<optional> |
Hash of the object version - if not specified, most recent version will be used |
writeToken |
string |
<optional> |
Write token of a draft (incompatible with versionHash) |
Examples
async ListFiles({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs" }); { ".": { "type": "directory" }, "new-directory-1": { ".": { "type": "directory" } }, "new-directory-2": { ".": { "type": "directory" } }, "new-directory-3": { ".": { "type": "directory" } }, "s3-copy": { ".": { "encryption": { "scheme": "none" }, "ingest": { "etag": "5c689030274ecfd14a815c8672b9f723-12", "path": "/eluvio-mez-test/ENTIRE_CREED_2min_.mp4", "size": 97944174, "type": "key" }, "parts": [ 2, 3, 4 ], "size": 97944174 } }, "s3-copy-encrypted": { ".": { "encryption": { "scheme": "cgck" }, "ingest": { "etag": "5c689030274ecfd14a815c8672b9f723-12", "path": "/eluvio-mez-test/ENTIRE_CREED_2min_.mp4", "size": 97944174, "type": "key" }, "parts": [ 5, 6, 7, 8 ], "size": 100094370 } }, "s3-reference": { ".": { "encryption": { "scheme": "none" }, "reference": { "etag": "5c689030274ecfd14a815c8672b9f723-12", "path": "/eluvio-mez-test/ENTIRE_CREED_2min_.mp4", "size": 97944174, "type": "key" }, "size": 97944174 } }, "testDirectory": { ".": { "type": "directory" }, "File 1": { ".": { "encryption": { "scheme": "none" }, "mime_type": "text/plain", "parts": [ 0 ], "size": 100000 } }, "File 2": { ".": { "encryption": { "scheme": "none" }, "mime_type": "text/plain", "parts": [ 1 ], "size": 100000 } } } }
async ListFiles({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs" }); { ".": { "type": "directory" }, "new-directory-3": { ".": { "type": "directory" } }, "s3-copy": { ".": { "encryption": { "scheme": "none" }, "ingest": { "etag": "5c689030274ecfd14a815c8672b9f723-12", "path": "/eluvio-mez-test/ENTIRE_CREED_2min_.mp4", "size": 97944174, "type": "key" }, "parts": [ 2, 3, 4 ], "size": 97944174 } }, "s3-copy-encrypted": { ".": { "encryption": { "scheme": "cgck" }, "ingest": { "etag": "5c689030274ecfd14a815c8672b9f723-12", "path": "/eluvio-mez-test/ENTIRE_CREED_2min_.mp4", "size": 97944174, "type": "key" }, "parts": [ 5, 6, 7, 8 ], "size": 100094370 } }, "s3-reference": { ".": { "encryption": { "scheme": "none" }, "reference": { "etag": "5c689030274ecfd14a815c8672b9f723-12", "path": "/eluvio-mez-test/ENTIRE_CREED_2min_.mp4", "size": 97944174, "type": "key" }, "size": 97944174 } }, "testDirectory": { ".": { "type": "directory" }, "File 1": { ".": { "encryption": { "scheme": "none" }, "mime_type": "text/plain", "parts": [ 0 ], "size": 100000 } } } }
- Source:
static MoveFiles({libraryId,objectId,writeToken,filePaths})
Move or rename the specified list of files/directories
Parameters:
Name | Type | Description |
---|---|---|
libraryId |
string |
ID of the library |
objectId |
string |
ID of the object |
writeToken |
string |
Write token of the draft |
filePaths |
Array.<string> |
List of file paths to move. Format: |
- Source:
static UploadFiles({libraryId,objectId,writeToken,fileInfo,encryption,callbackoptional})
Upload files to a content object.
Expected format of fileInfo:
[
{
path: string,
mime_type: string,
size: number,
data: File | ArrayBuffer | Buffer | File Descriptor (Node)
}
]
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
ID of the library |
||
objectId |
string |
ID of the object |
||
writeToken |
string |
Write token of the draft |
||
fileInfo |
Array.<object> |
List of files to upload, including their size, type, and contents |
||
encryption |
string | "none" |
Encryption for uploaded files - cgck | none |
|
callback |
function |
<optional> |
If specified, will be called after each job segment is finished with the current upload progress
|
Examples
async UploadFiles({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3762veoskHQtAwoUZZRX26V2qKc2", "writeToken": "tqw__HSVxjhRvjuqLnEwpz7YbCFoetBPZuCW8wagQ5JyC24eapp2dj1oXcNZievog7DGZjehofP97NNA3VvxXmua", "encrypted": false, "fileInfo": [ { "path": "display_image", "mime_type": "image/png", "size": 101254, "data": "<ArrayBuffer 101254>" } ] }); <No Return Value>
async UploadFiles({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7G363EWNRvNYVqYngJSvqbF", "fileInfo": [ { "path": "testDirectory/File 1", "type": "file", "mime_type": "text/plain", "size": 100000, "data": "<ArrayBuffer 100000>" }, { "path": "testDirectory/File 2", "type": "file", "mime_type": "text/plain", "size": 100000, "data": "<ArrayBuffer 100000>" } ], "callback": "<function>" }); <No Return Value>
async UploadFiles({ "libraryId": "ilib3JgZBNxZE8ZkM4jP8YUAdTnjukWV", "objectId": "iq__fQhR2f757MCYQ7SNrwKh39XeSPs", "writeToken": "tqw__HSRoazbriLdH7CGobx96kWaZqkqo2Z1x9Qru5h5n1FyhfX9W6FkWjBH3EikHKUoFLLq3Jf5ZLbTL2UJjFwA", "fileInfo": [ { "path": "Video.mp4", "mime_type": "video/mp4", "size": 3738907, "data": "<ArrayBuffer 3738907>" } ], "encryption": "none" }); <No Return Value>
- Source:
static UploadFilesFromS3({libraryId,objectId,writeToken,region,bucket,fileInfo,accessKey,secret,signedUrloptional,encryption,copy,callbackoptional})
Copy/reference files from S3 to a content object.
S3 authentication is done by either providing an access key and secret or a presigned URL. The credentials will not be stored (neither in the client nor in the Fabric)
NOTE: When providing a presigned URL instead of an access key + secret, the accessKey, secret, region and bucket parameters are not required.
Expected format of fileInfo:
[
{
path: string,
source: string // either a full path e.g. "s3://BUCKET_NAME/path..." or just the path part without "s3://BUCKET_NAME/"
}
]
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
ID of the library |
||
objectId |
string |
ID of the object |
||
writeToken |
string |
Write token of the draft |
||
region |
string |
AWS region to use |
||
bucket |
string |
AWS bucket to use |
||
fileInfo |
Array.<Object> |
List of files to reference/copy |
||
accessKey |
string |
AWS access key |
||
secret |
string |
AWS secret |
||
signedUrl |
string |
<optional> |
||
encryption |
string | "none" |
Encryption for uploaded files (copy only) - cgck | none |
|
copy |
boolean | false |
If true, will copy the data from S3 into the fabric. Otherwise, a reference to the content will be made. |
|
callback |
function |
<optional> |
If specified, will be periodically called with current upload status
|
Examples
async UploadFilesFromS3({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7D67uovUACWYtgzjyg9xB6v", "fileInfo": [ { "path": "s3-copy", "source": "ENTIRE_CREED_2min_.mp4" } ], "region": "us-west-1", "bucket": "eluvio-mez-test", "accessKey": "<filtered>", "secret": "<filtered>", "copy": true, "callback": "<function>" }); <No Return Value>
async UploadFilesFromS3({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7WGT2ygMgjMdgASLBW5yxDT", "encryption": "cgck", "fileInfo": [ { "path": "s3-copy-encrypted", "source": "ENTIRE_CREED_2min_.mp4" } ], "region": "us-west-1", "bucket": "eluvio-mez-test", "accessKey": "<filtered>", "secret": "<filtered>", "copy": true, "callback": "<function>" }); <No Return Value>
async UploadFilesFromS3({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7SAtXwd7B583MLExzu8GYrB", "fileInfo": [ { "path": "s3-reference", "source": "ENTIRE_CREED_2min_.mp4" } ], "region": "us-west-1", "bucket": "eluvio-mez-test", "accessKey": "<filtered>", "secret": "<filtered>", "copy": false, "callback": "<function>" }); <No Return Value>
- Source:
static UploadPart({libraryId,objectId,writeToken,data,chunkSizeoptional,encryptionoptional,callbackoptional}) → Promise.<Object>
Upload part to an object draft
Note: If uploading a large file (especially with an HTML file and/or when using the FrameClient) it is recommended to use the CreatePart + UploadPartChunk + FinalizePart flow to upload the file in smaller chunks.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
ID of the library |
||
objectId |
string |
ID of the object |
||
writeToken |
string |
Write token of the content object draft |
||
data |
File | ArrayBuffer | Buffer |
Data to upload |
||
chunkSize |
number |
<optional> |
1000000 |
(1MB) - Chunk size, in bytes |
encryption |
string |
<optional> |
none |
Desired encryption scheme. Options: 'none' (default), 'cgck' |
callback |
function |
<optional> |
If specified, will be periodically called with current upload status
|
Examples
async UploadPart({ "libraryId": "ilib4BRmonTig9QSD87MRWP8F5iLfdct", "objectId": "iq__3ZeNik5xdThEuYsEaGj8fAE7Kcv4", "writeToken": "tqw__HSXHGmTjQEWNPEVXsTxH1ZGj3cszGaMHqCqNEqJoGX7LgzYRtCz6svp5uCyRDoA76g65esLDrrpvhMQCBqp", "data": "<ArrayBuffer 100000>", "encrypted": false }); { "content": { "id": "iq__3ZeNik5xdThEuYsEaGj8fAE7Kcv4", "write_token": "tqw__HSXHGmTjQEWNPEVXsTxH1ZGj3cszGaMHqCqNEqJoGX7LgzYRtCz6svp5uCyRDoA76g65esLDrrpvhMQCBqp", "type": "", "qlib_id": "ilib4BRmonTig9QSD87MRWP8F5iLfdct" }, "part": { "hash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "size": 100000 } }
async UploadPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7MZaN3fR3fXhCmdu5cGctJ8", "data": "<ArrayBuffer 100000>" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "write_token": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7MZaN3fR3fXhCmdu5cGctJ8", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqp_R3rrwwWjBqFTzW4FbcDni1fmRZNtp6basgRReMau3HLVZTpR", "size": 100000 } }
async UploadPart({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7GyZGWJb8zwVn8YrDiKsgEt", "data": "<ArrayBuffer 100000>", "encryption": "cgck" }); { "content": { "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "write_token": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7GyZGWJb8zwVn8YrDiKsgEt", "type": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "qlib_id": "ilib3762veoskHQtAwoUZZRX26V2qKc2" }, "part": { "hash": "hqpeLnARxBD9NXg8SwLJo7waZ2NTTgL4cQLEe4N9vZvTbheoZYjf", "size": 102657 } }
- Source:
static UploadPartChunk({libraryId,objectId,writeToken,partWriteToken,chunk,encryptionoptional}) → Promise.<string>
Upload data to an open part draft
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
libraryId |
string |
ID of the library |
||
objectId |
string |
ID of the object |
||
writeToken |
string |
Write token of the content object draft |
||
partWriteToken |
string |
Write token of the part |
||
chunk |
ArrayBuffer | Buffer |
Data to upload |
||
encryption |
string |
<optional> |
none |
Desired encryption scheme. Options: 'none' (default), 'cgck' |
Examples
async UploadPartChunk({ "libraryId": "ilib4BRmonTig9QSD87MRWP8F5iLfdct", "objectId": "iq__3ZeNik5xdThEuYsEaGj8fAE7Kcv4", "writeToken": "tqw__HSXHGmTjQEWNPEVXsTxH1ZGj3cszGaMHqCqNEqJoGX7LgzYRtCz6svp5uCyRDoA76g65esLDrrpvhMQCBqp", "partWriteToken": "tqpwTuAqgM9hbCtfjBFzYwG8LW", "chunk": "<ArrayBuffer 100000>", "encryption": "none" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7MZaN3fR3fXhCmdu5cGctJ8", "partWriteToken": "tqpwRxJghdSLbdLaS5vxgGMXcT", "chunk": "<ArrayBuffer 100000>", "encryption": "none" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7GyZGWJb8zwVn8YrDiKsgEt", "partWriteToken": "tqpwVt9HB3pdxawK7uJbDgBrBR", "chunk": "<ArrayBuffer 100000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7NiJh9BETgiRfLQxwJh81Ex", "partWriteToken": "tqpw49e8giMGJQFgJp632LgoWU", "chunk": "<ArrayBuffer 10000>" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
async UploadPartChunk({ "libraryId": "ilib3762veoskHQtAwoUZZRX26V2qKc2", "objectId": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs", "writeToken": "tqw__HSWgNH437Rr4NGVUdmRuWp9fZceiqnsHECxy4Z2RAfTzinnEYjVkCn2sAB1d7KfSgfRdd1GdJC6vX6i4VSV", "partWriteToken": "tqpwAUwW79i5wLLRsCfJQFj3Nn", "chunk": "<ArrayBuffer 10000>", "encryption": "cgck" }); <No Return Value>
- Source: