Skip to main content
POST
/
links
/
contexts
Update a link's context
import requests

url = "https://{FUSION HOST}/api/links/contexts"

payload = {
    "resources": ["<string>"],
    "contexts": ["<string>"],
    "bypassCache": True
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{}

Body

application/json
resources
(string | object)[]

Resource reference as a string, such as 'datasource:ratings-db'

contexts
(string | object)[]

Resource reference as a string, such as 'datasource:ratings-db'

bypassCache
boolean

Response

200 - application/json

successful operation

{key}
(string | object)[]

Resource reference as a string, such as 'datasource:ratings-db'