SDK reference · Python SDK
prov.account.set_capture_routing
prov.account.set_capture_routing in Python SDK. Order, store_listing (Growth and up) and require_tier (any plan).
Signature
prov.account.set_capture_routing(**fields: Any = …) -> AnyParameters
**fieldsAny
Request fields
orderarray of enums- Growth and up: the destinations that are on, first choice first, no repeats.
store_listingobject- Growth and up: whose listing each platform opens.
Show child attributes
iosenum- The App Store listing. One of
provenance,company. androidenum- The Google Play listing. One of
provenance,company.
require_tierenum- Any plan:
hardwareremoves the browser (Require hardware proof). One ofany,hardware.
Returns
Any The routing setting.
HTTP operation
PUT /v1/attest/settings/capture_routing: Set where capture links open
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/settings/capture_routing`, {
method: "PUT",
headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x", "Content-Type": "application/json" },
body: JSON.stringify({ "require_tier": "any" }),
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.put(f"{api}/v1/attest/settings/capture_routing", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}, json={
"require_tier": "any"
}).json()