title: Blob Storage Azure and javascript, how to list all snapshots for a specific blob
body: <p>Beginning a nodejs project, I need to retrieve the latest snapshot (and its metadata) for a specific blob. I'm using the Azure Blob storage client library v12 for JavaScript.</p>
  
  <p>I'm not sure but I only found a method linked to the ContainerClient permitting to list all the blobs and snapshot within the container. Imo it's not for me very efficient in term of performance. </p>
  
  <p>Is there a way to directly get the latest snapshot of a known blob or at least get all the snapshots ?</p>
  
  <pre><code>//construct of the blob storage connection
  const blobServiceClient = new BlobServiceClient(
      `https://${account}.blob.core.windows.net/`,
      sharedKeyCredential
  );
  //target application container
  let containerClient = blobServiceClient.getContainerClient(app);
  blobClient = containerClient.getBlobClient(filename); //ok
  //blobSnapshots = containerClient.getSnapshots(filename); // nok
  </code></pre>
  
  <p>The method in the last commented line for sure doesnt exist but is there an equivalent method ?  </p>