Legal API

Current version: v1.1

Get Privacy policy content

GET
/legal/privacy.json
{
    "type": "privacy"
    "content": < html content of privacy policy >,
}
					

Set Privacy policy content

PUT
/legal/privacy.json
content (string) Full html content of privacy policy
{
    "ok": 1,
    "err": null,
    "errmsg": null,
}
					

Get T&C policy content

GET
/legal/terms.json
{
    "type": "privacy"
    "content": < html content of t&c policy >,
}
					

Set T&C policy content

PUT
/legal/terms.json
content (string) Full html content of t&c policy
{
    "ok": 1,
    "err": null,
    "errmsg": null,
}
					

Get Cookies policy content

GET
/legal/cookies.json
{
    "type": "privacy"
    "content": < html content of cookies policy >,
}
					

Set Cookies policy content

PUT
/legal/cookies.json
content (string) Full html content of cookies policy
{
    "ok": 1,
    "err": null,
    "errmsg": null,
}