Units API.

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

GET /api/units/279218/?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/abrt/libreport/en/?format=api",
    "source": [
        "\n& [-vbf] [-g GROUP-NAME]... [-c CONFFILE]... [-F FMTFILE] [-A FMTFILE2] -d DIR\nor:\n& [-v] [-c CONFFILE]... [-d DIR] -t[ID] FILE...\nor:\n& [-v] [-c CONFFILE]... [-d DIR] -t[ID] -w\nor:\n& [-v] [-c CONFFILE]... -h DUPHASH [-p[PRODUCT]]\n\nReports problem to Bugzilla.\n\nThe tool reads DIR. Then it logs in to Bugzilla and tries to find a bug\nwith the same abrt_hash:HEXSTRING in 'Whiteboard'.\n\nIf such bug is not found, then a new bug is created. Elements of DIR\nare stored in the bug as part of bug description or as attachments,\ndepending on their type and size.\n\nOtherwise, if such bug is found and it is marked as CLOSED DUPLICATE,\nthe tool follows the chain of duplicates until it finds a non-DUPLICATE bug.\nThe tool adds a new comment to found bug.\n\nThe URL to new or modified bug is printed to stdout and recorded in\n'reported_to' element.\n\nOption -t uploads FILEs to the already created bug on Bugzilla site.\nThe bug ID is retrieved from directory specified by -d DIR.\nIf problem data in DIR was never reported to Bugzilla, upload will fail.\n\nOption -tID uploads FILEs to the bug with specified ID on Bugzilla site.\n-d DIR is ignored.\n\nOption -w adds bugzilla user to bug's CC list.\n\nOption -r sets the last url from reporter_to element which is prefixed with\nTRACKER_NAME to URL field. This option is applied only when a new bug is to be\nfiled. The default value is 'ABRT Server'\n\nIf not specified, CONFFILE defaults to "
    ],
    "previous_source": "",
    "target": [
        "\n& [-vbf] [-g GROUP-NAME]... [-c CONFFILE]... [-F FMTFILE] [-A FMTFILE2] -d DIR\nor:\n& [-v] [-c CONFFILE]... [-d DIR] -t[ID] FILE...\nor:\n& [-v] [-c CONFFILE]... [-d DIR] -t[ID] -w\nor:\n& [-v] [-c CONFFILE]... -h DUPHASH [-p[PRODUCT]]\n\nReports problem to Bugzilla.\n\nThe tool reads DIR. Then it logs in to Bugzilla and tries to find a bug\nwith the same abrt_hash:HEXSTRING in 'Whiteboard'.\n\nIf such bug is not found, then a new bug is created. Elements of DIR\nare stored in the bug as part of bug description or as attachments,\ndepending on their type and size.\n\nOtherwise, if such bug is found and it is marked as CLOSED DUPLICATE,\nthe tool follows the chain of duplicates until it finds a non-DUPLICATE bug.\nThe tool adds a new comment to found bug.\n\nThe URL to new or modified bug is printed to stdout and recorded in\n'reported_to' element.\n\nOption -t uploads FILEs to the already created bug on Bugzilla site.\nThe bug ID is retrieved from directory specified by -d DIR.\nIf problem data in DIR was never reported to Bugzilla, upload will fail.\n\nOption -tID uploads FILEs to the bug with specified ID on Bugzilla site.\n-d DIR is ignored.\n\nOption -w adds bugzilla user to bug's CC list.\n\nOption -r sets the last url from reporter_to element which is prefixed with\nTRACKER_NAME to URL field. This option is applied only when a new bug is to be\nfiled. The default value is 'ABRT Server'\n\nIf not specified, CONFFILE defaults to "
    ],
    "id_hash": 2528471270948901441,
    "content_hash": 2528471270948901441,
    "location": "../src/plugins/reporter-bugzilla.c:247",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 275,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 253,
    "source_unit": "https://translate.fedoraproject.org/api/units/279218/?format=api",
    "priority": 100,
    "id": 279218,
    "web_url": "https://translate.fedoraproject.org/translate/abrt/libreport/en/?checksum=a316ef3979b09241",
    "url": "https://translate.fedoraproject.org/api/units/279218/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-11T13:58:08.915896Z"
}