Units API.

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

GET /api/units/829221/?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/lucene/ca/?format=api",
    "source": [
        "\n\t\tUsage statistics must be copied regularly to the Solr server. You can not currently update usage statistics from the web interface.<br/>\n\t\t<br/>\n\t\tPossible reasons are:\n\t\t<ul>\n\t\t\t<li>If you are using pull indexing, the index update cron job on the remote server (\"pull.sh\") will automatically update statistics data whenever executed (see 'plugins/generic/lucene/README' for details).</li>\n\t\t\t<li>Your web server may not have write permissions to the 'files/lucene/data' directory. Make sure that both, the web server and the solr server, have access to this directory and refresh this page.</li>\n\t\t</ul>\n\t"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 7406714521217307567,
    "content_hash": -7751360120695081865,
    "location": "",
    "context": "plugins.generic.lucene.settings.updateBoostFileDisabled",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 84,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 86,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/806084/?format=api",
    "priority": 100,
    "id": 829221,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/lucene/ca/?checksum=e6c9ef9d55e293af",
    "url": "http://translate.pkp.sfu.ca/api/units/829221/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-04-19T13:46:47.908302Z"
}