π»How to back up your collections
A guide on backing up your collections
import requests
response = requests.post("https://vectorai-development-api.azurewebsites.net/project/copy_collection",
json={
"username": "string",
"api_key": "string",
"collection_name": "string",
"original_collection_name": "string",
"collection_schema": { },
"rename_fields": { },
"remove_fields": [ ]
})
response.json()let request = await fetch("https://vectorai-development-api.azurewebsites.net/project/copy_collection", {
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": JSON.stringify({
"username": "string",
"api_key": "string",
"collection_name": "string",
"original_collection_name": "string",
"collection_schema": { },
"rename_fields": { },
"remove_fields": [ ]
})
})
let json = await request.json()Last updated
Was this helpful?