import requests
url = "http://api/apollo/catalog/{project}/assets/{asset}"
payload = {
"projectId": "<string>",
"name": "<string>",
"assetType": "project",
"description": "<string>",
"sourceUri": "<string>",
"owner": "<string>",
"ownerEmail": "<string>",
"tags": ["<string>"],
"format": "<string>",
"options": ["<string>"],
"filters": ["<string>"],
"sql": "<string>",
"cacheOnLoad": False,
"cacheStrategy": {
"timeToLive": 123,
"refreshFrequency": 123,
"autoRefresh": False
},
"dependsOn": ["<string>"],
"createdOn": "2023-11-07T05:31:56Z",
"additionalSettings": {},
"id": "<string>",
"updatedOn": "<string>",
"version": 123
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)