code: def create_snapshot(peer_api_uri):
      r = requests.post(
          f"{peer_api_uri}/collections/{COLLECTION_NAME}/snapshots"
      )
      assert_http_ok(r)
      return r.json()["result"]["name"]
  
file_path: qdrant/tests/consensus_tests/test_snapshot_recovery.py
imports: import pathlib
  from .fixtures import create_collection, upsert_random_points, random_dense_vector, search, random_sparse_vector
  from .utils import *
label_desc: Use image node_id 1 for calling a global function with example usage: create_snapshot(peer_api_uri) and returns: r