Skip to content
  • Auto
  • Light
  • Dark
Get Started

List

List
client.blobs.list(BlobListParamsquery?, RequestOptionsoptions?): keystringlastModifiedstringsizenumberBlobListResponse
get/v1/blob

List blobs in your account

Parameters
queryprefixstringBlobListParams
Hide ParametersShow Parameters
prefixstring
optional

If specified, only include blobs that start with this string

Returns
BlobListResponsealias

List of blobs that you’ve stored

Hide ParametersShow Parameters
keystring
lastModifiedstring
optional

Creation date of the object

formatdate-time
sizenumber
optional

Size in bytes of the object

import ValTown from '@valtown/sdk';

const client = new ValTown();

const blobs = await client.blobs.list();

console.log(blobs);
200 Example
[
  {
    "key": "key",
    "lastModified": "2019-12-27T18:11:19.117Z",
    "size": 0
  }
]