Return a policy of a given type for the current language and platform. Could also return an error if not found.

GET /api/policies/@type


URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
type String Type of policy you want to retrieve

Example request 1

GET /api/policies/tac HTTP/1.1
X-VERSION: 1.9.0
Accept-Language: en-US,en;q=0.5


A dictionary with fields

Field Type Description
html String A String value
type String String enumarion of 'tac', 'privacy', 'cookie', 'shop'
title String A String value
description String A String value
button String A String value
version Int An integer value
revision_id Int The id of this revision of the policy. Each change in a policy has it's own revision id.
date String Human formatted date

Example response 1

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 168

    "html": "...",
    "type": "tac",
    "title": "...",
    "description": "...",
    "button": "...",
    "version": 10,
    "revision_id": 13,
    "date": "..."
1.9.0 stable