Units API.

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

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

{
    "translation": "https://l10n.xwiki.org/api/translations/xwiki-platform/xwiki-ratingstranslations/de/?format=api",
    "source": [
        "Reset all the ratings on this wiki. This will make all documents start over with no vote. Be aware that this operation is irreversible, besides on a document-per-document rollback basis. Resetting all ratings can take a while if the wiki has a large amount of documents already rated."
    ],
    "previous_source": "",
    "target": [
        "Setzen Sie alle Bewertungen in diesem Wiki zurück. Dabei werden Bewertungen in allen Dokumente entfernt. Beachten Sie, dass dieser Vorgang irreversibel ist, außer auf einer Dokument-pro-Dokument-Rollback-Basis. Das Zurücksetzen aller Bewertungen kann eine Weile dauern, wenn das Wiki bereits viele bewertete Dokumente enthält."
    ],
    "id_hash": 4200499072568971398,
    "content_hash": -9071674853514516876,
    "location": "",
    "context": "admin.ratings.resetratings",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 13,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 48,
    "source_unit": "https://l10n.xwiki.org/api/units/465049/?format=api",
    "priority": 100,
    "id": 505027,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-ratingstranslations/de/?checksum=ba4b2ba6bbd4d086",
    "url": "https://l10n.xwiki.org/api/units/505027/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-01-01T03:30:56.986768Z"
}