Units API.

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

GET /api/units/802839/?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/pkp-lib/emails/en/?format=api",
    "source": [
        "<p>Dear {$recipientName},</p><p>{$reviewerName} completed the following review:</p><p><a href=\"{$submissionUrl}\">#{$submissionId} {$authorsShort} — {$submissionTitle}</a><br /><b>Recommendation:</b> {$reviewRecommendation}<br /><b>Type:</b> {$reviewMethod}</p><p>Login to <a href=\"{$submissionUrl}\">view all files and comments</a> provided by this reviewer.</p>"
    ],
    "previous_source": "",
    "target": [
        "<p>Dear {$recipientName},</p><p>{$reviewerName} completed the following review:</p><p><a href=\"{$submissionUrl}\">#{$submissionId} {$authorsShort} — {$submissionTitle}</a><br /><b>Recommendation:</b> {$reviewRecommendation}<br /><b>Type:</b> {$reviewMethod}</p><p>Login to <a href=\"{$submissionUrl}\">view all files and comments</a> provided by this reviewer.</p>"
    ],
    "id_hash": 764282602058893465,
    "content_hash": 8484022617971403517,
    "location": "",
    "context": "emails.reviewComplete.body",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 25,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/802839/?format=api",
    "priority": 100,
    "id": 802839,
    "web_url": "http://translate.pkp.sfu.ca/translate/pkp-lib/emails/en/?checksum=8a9b46fa2bbb4899",
    "url": "http://translate.pkp.sfu.ca/api/units/802839/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-12-21T17:55:31.414617Z"
}