Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/dnf/dnf-plugins-core-l10n-master/en/?format=api",
    "language_code": "en",
    "source": [
        "\n  enable name/project [chroot]\n  disable name/project\n  remove name/project\n  list --installed/enabled/disabled\n  list --available-by-user=NAME\n  search project\n\n  Examples:\n  copr enable rhscl/perl516 epel-6-x86_64\n  copr enable ignatenkobrain/ocltoys\n  copr disable rhscl/perl516\n  copr remove rhscl/perl516\n  copr list --enabled\n  copr list --available-by-user=ignatenkobrain\n  copr search tests\n    "
    ],
    "previous_source": "",
    "target": [
        "\n  enable name/project [chroot]\n  disable name/project\n  remove name/project\n  list --installed/enabled/disabled\n  list --available-by-user=NAME\n  search project\n\n  Examples:\n  copr enable rhscl/perl516 epel-6-x86_64\n  copr enable ignatenkobrain/ocltoys\n  copr disable rhscl/perl516\n  copr remove rhscl/perl516\n  copr list --enabled\n  copr list --available-by-user=ignatenkobrain\n  copr search tests\n    "
    ],
    "id_hash": -7829343461251472577,
    "content_hash": -7829343461251472577,
    "location": "plugins/copr.py:95",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 47,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 36,
    "source_unit": "https://translate.fedoraproject.org/api/units/1224150/?format=api",
    "priority": 100,
    "id": 1224150,
    "web_url": "https://translate.fedoraproject.org/translate/dnf/dnf-plugins-core-l10n-master/en/?checksum=1358959a8794233f",
    "url": "https://translate.fedoraproject.org/api/units/1224150/?format=api",
    "explanation": "",
    "extra_flags": "placeholders:copr:enable:disable:remove:list:search:r\"\\--\\w+[-\\w+]*=?\"",
    "pending": false,
    "timestamp": "2020-03-19T20:51:09.682322Z",
    "last_updated": "2025-02-05T21:48:04.147053Z"
}