SongGuess
Preparing search index...
server/worker-configuration
R2Bucket
Interface R2Bucket
interface
R2Bucket
{
createMultipartUpload
(
key
:
string
,
options
?:
R2MultipartOptions
,
)
:
Promise
<
R2MultipartUpload
>
;
delete
(
keys
:
string
|
string
[]
)
:
Promise
<
void
>
;
get
(
key
:
string
,
options
:
R2GetOptions
&
{
onlyIf
:
Headers
|
R2Conditional
}
,
)
:
Promise
<
R2Object
|
R2ObjectBody
|
null
>
;
get
(
key
:
string
,
options
?:
R2GetOptions
)
:
Promise
<
R2ObjectBody
|
null
>
;
head
(
key
:
string
)
:
Promise
<
R2Object
|
null
>
;
list
(
options
?:
R2ListOptions
)
:
Promise
<
R2Objects
>
;
put
(
key
:
string
,
value
:
|
string
|
ReadableStream
<
any
>
|
ArrayBuffer
|
Blob
|
ArrayBufferView
<
ArrayBufferLike
>
|
null
,
options
?:
R2PutOptions
&
{
onlyIf
:
Headers
|
R2Conditional
}
,
)
:
Promise
<
R2Object
|
null
>
;
put
(
key
:
string
,
value
:
|
string
|
ReadableStream
<
any
>
|
ArrayBuffer
|
Blob
|
ArrayBufferView
<
ArrayBufferLike
>
|
null
,
options
?:
R2PutOptions
,
)
:
Promise
<
R2Object
>
;
resumeMultipartUpload
(
key
:
string
,
uploadId
:
string
)
:
R2MultipartUpload
;
}
Index
Methods
create
Multipart
Upload
delete
get
head
list
put
resume
Multipart
Upload
Methods
create
Multipart
Upload
createMultipartUpload
(
key
:
string
,
options
?:
R2MultipartOptions
,
)
:
Promise
<
R2MultipartUpload
>
Parameters
key
:
string
Optional
options
:
R2MultipartOptions
Returns
Promise
<
R2MultipartUpload
>
delete
delete
(
keys
:
string
|
string
[]
)
:
Promise
<
void
>
Parameters
keys
:
string
|
string
[]
Returns
Promise
<
void
>
get
get
(
key
:
string
,
options
:
R2GetOptions
&
{
onlyIf
:
Headers
|
R2Conditional
}
,
)
:
Promise
<
R2Object
|
R2ObjectBody
|
null
>
Parameters
key
:
string
options
:
R2GetOptions
&
{
onlyIf
:
Headers
|
R2Conditional
}
Returns
Promise
<
R2Object
|
R2ObjectBody
|
null
>
get
(
key
:
string
,
options
?:
R2GetOptions
)
:
Promise
<
R2ObjectBody
|
null
>
Parameters
key
:
string
Optional
options
:
R2GetOptions
Returns
Promise
<
R2ObjectBody
|
null
>
head
head
(
key
:
string
)
:
Promise
<
R2Object
|
null
>
Parameters
key
:
string
Returns
Promise
<
R2Object
|
null
>
list
list
(
options
?:
R2ListOptions
)
:
Promise
<
R2Objects
>
Parameters
Optional
options
:
R2ListOptions
Returns
Promise
<
R2Objects
>
put
put
(
key
:
string
,
value
:
|
string
|
ReadableStream
<
any
>
|
ArrayBuffer
|
Blob
|
ArrayBufferView
<
ArrayBufferLike
>
|
null
,
options
?:
R2PutOptions
&
{
onlyIf
:
Headers
|
R2Conditional
}
,
)
:
Promise
<
R2Object
|
null
>
Parameters
key
:
string
value
:
|
string
|
ReadableStream
<
any
>
|
ArrayBuffer
|
Blob
|
ArrayBufferView
<
ArrayBufferLike
>
|
null
Optional
options
:
R2PutOptions
&
{
onlyIf
:
Headers
|
R2Conditional
}
Returns
Promise
<
R2Object
|
null
>
put
(
key
:
string
,
value
:
|
string
|
ReadableStream
<
any
>
|
ArrayBuffer
|
Blob
|
ArrayBufferView
<
ArrayBufferLike
>
|
null
,
options
?:
R2PutOptions
,
)
:
Promise
<
R2Object
>
Parameters
key
:
string
value
:
|
string
|
ReadableStream
<
any
>
|
ArrayBuffer
|
Blob
|
ArrayBufferView
<
ArrayBufferLike
>
|
null
Optional
options
:
R2PutOptions
Returns
Promise
<
R2Object
>
resume
Multipart
Upload
resumeMultipartUpload
(
key
:
string
,
uploadId
:
string
)
:
R2MultipartUpload
Parameters
key
:
string
uploadId
:
string
Returns
R2MultipartUpload
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Multipart
Upload
delete
get
head
list
put
resume
Multipart
Upload
SongGuess
Loading...