Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_ldap-auth/es/?format=api",
    "source": [
        "#!/bin/sh\n\nstty -echo\nread -p \"Old Password: \" oldp; echo\nread -p \"New Password: \" np1; echo\nread -p \"Retype New Password: \" np2; echo\nstty echo\n\nif [ \"$np1\" != \"$np2\" ]; then\n  echo \"Passwords do not match.\"\n  exit 1\nfi\n\nldappasswd -D uid=\"$USER\",ou=people,dc=example,dc=org \\\n  -w \"$oldp\" \\\n  -a \"$oldp\" \\\n  -s \"$np1\""
    ],
    "previous_source": "",
    "target": [
        "#!/bin/sh\n\nstty -echo\nread -p \"Old Password: \" oldp; echo\nread -p \"New Password: \" np1; echo\nread -p \"Retype New Password: \" np2; echo\nstty echo\n\nif [ \"$np1\" != \"$np2\" ]; then\n  echo \"Passwords do not match.\"\n  exit 1\nfi\n\nldappasswd -D uid=\"$USER\",ou=people,dc=example,dc=org \\\n  -w \"$oldp\" \\\n  -a \"$oldp\" \\\n  -s \"$np1\""
    ],
    "id_hash": -5575092417148104021,
    "content_hash": -5575092417148104021,
    "location": "article.translate.xml:628",
    "context": "",
    "note": "(itstool) path: example/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 115,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 54,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99323/?format=api",
    "priority": 100,
    "id": 25969,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_ldap-auth/es/?checksum=32a14afc15e9d2ab",
    "url": "https://translate-dev.freebsd.org/api/units/25969/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:09:44.786574Z"
}