Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/409978/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/plugins/usage-statistics-plugin/en/?format=api",
    "source": [
        "\n\t\t<h3>General Privacy Information</h3>\n\t\t<p>Please refer to our general <a href=\"{$privacyStatementUrl}\">privacy statement</a>.</p>\n\t\t<h3>Usage Statistics</h3>\n\t\t<p>In order to be able to analyse usage and impact of our publications, we collect and log access to the homepage, categories, series, books and files. In the process all data is anonymised. No personal information is logged. IP addresses are anonymised by being hashed (using <em>SHA 256</em>) in combination with a <em>secure 64 characters long salt</em> that is automatically <em>randomly generated and overridden on a daily basis</em>. Therefore IP addresses cannot be reconstructed.</p>\n\t\t<p>The following information is collected next to the anonymised IP addresses:</p>\n\t\t<ul>\n\t\t<li>Access type (i.e. administrative)</li>\n\t\t<li>Request time</li>\n\t\t<li>Requested URL</li>\n\t\t<li>HTTP status code</li>\n\t\t<li>Browser</li>\n\t\t</ul>\n\t\t<p>The collected data is only used for evaluation purposes. No IP addresses are mapped to user IDs. It is technically impossible to trace a specific set of data to a specific IP address.</p>"
    ],
    "previous_source": "",
    "target": [
        "\n\t\t<h3>General Privacy Information</h3>\n\t\t<p>Please refer to our general <a href=\"{$privacyStatementUrl}\">privacy statement</a>.</p>\n\t\t<h3>Usage Statistics</h3>\n\t\t<p>In order to be able to analyse usage and impact of our publications, we collect and log access to the homepage, categories, series, books and files. In the process all data is anonymised. No personal information is logged. IP addresses are anonymised by being hashed (using <em>SHA 256</em>) in combination with a <em>secure 64 characters long salt</em> that is automatically <em>randomly generated and overridden on a daily basis</em>. Therefore IP addresses cannot be reconstructed.</p>\n\t\t<p>The following information is collected next to the anonymised IP addresses:</p>\n\t\t<ul>\n\t\t<li>Access type (i.e. administrative)</li>\n\t\t<li>Request time</li>\n\t\t<li>Requested URL</li>\n\t\t<li>HTTP status code</li>\n\t\t<li>Browser</li>\n\t\t</ul>\n\t\t<p>The collected data is only used for evaluation purposes. No IP addresses are mapped to user IDs. It is technically impossible to trace a specific set of data to a specific IP address.</p>"
    ],
    "id_hash": -3461478560677254886,
    "content_hash": -587446708755481499,
    "location": "",
    "context": "plugins.generic.usageStats.optout.description.long.omp",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 57,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 145,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/409978/?format=api",
    "priority": 100,
    "id": 409978,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/usage-statistics-plugin/en/?checksum=4ff65b96b933a91a",
    "url": "http://translate.pkp.sfu.ca/api/units/409978/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-02-13T22:06:33.355767Z"
}