Skip to content

briskapi.consent

Python · CLI

Show, accept or revoke automatic uploads to your private archive. Uploads are on by default (default: True until you decide). See the privacy policy.

Parameters

accept bool optional = False

Turn uploads on (making your identity if there is none).

revoke bool optional = False

Turn uploads off until you accept again.

Returns

dict

The choice: {policy_version, enabled, decided_at}, or the default.

API method
briskapi.consent(
    accept: bool = False,
    revoke: bool = False,
) -> dict
Example usage
1
2
3
import briskapi

print(briskapi.consent())
brisk consent
Example responseCaptured from the demo
{'policy_version': 7, 'enabled': True, 'default': True}
{
  "policy_version": 7,
  "enabled": true,
  "default": true
}