Units API.

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

GET /api/units/542717/?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-security-authentication-default/fr/?format=api",
    "source": [
        "Dear user, \n\ndue to a bug your password was stored in plain text in our wiki. We cannot exclude that your plain text password was exposed in a data leak. Therefore, you might receive a second email to choose a new password. \nPlease contact the administrator in case of problem or for further questions."
    ],
    "previous_source": "",
    "target": [
        "Cher utilisateur,\n\nEn raison d'une anomalie, votre mot de passe était enregistré en clair dans notre plateforme wiki. Nous ne pouvons pas exclure que votre mot de passe ait fait l'objet d'une attaque, c'est pourquoi vous allez recevoir un email pour re-définir votre mot de passe .\nMerci de contacter votre administrateur pour toute question complémentaire."
    ],
    "id_hash": 5831844533257277715,
    "content_hash": -2922035063417223007,
    "location": "",
    "context": "security.authentication.migration1400600000XWIKI19869.email.content",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 9,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 54,
    "source_unit": "https://l10n.xwiki.org/api/units/542708/?format=api",
    "priority": 100,
    "id": 542717,
    "web_url": "https://l10n.xwiki.org/translate/xwiki-platform/xwiki-security-authentication-default/fr/?checksum=d0eedfb45e1a9113",
    "url": "https://l10n.xwiki.org/api/units/542717/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-07-08T11:14:37.121739Z"
}