Units API.

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

GET /api/units/319700/?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/nl/?format=api",
    "source": [
        "\n& [-vf] [-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\n\nReports problem to MantisBT.\n\nThe tool reads DIR. Then it tries to find an issue\nwith the same abrt_hash in custom field 'abrt_hash'.\n\nIf such issue is not found, then a new issue is created. Elements of DIR\nare stored in the issue as part of issue description or as attachments,\ndepending on their type and size.\n\nOtherwise, if such issue is found and it is marked as CLOSED DUPLICATE,\nthe tool follows the chain of duplicates until it finds a non-DUPLICATE issue.\nThe tool adds a new comment to found issue.\n\nThe URL to new or modified issue is printed to stdout and recorded in\n'reported_to' element.\n\nOption -t uploads FILEs to the already created issue on MantisBT site.\nThe issue ID is retrieved from directory specified by -d DIR.\nIf problem data in DIR was never reported to MantisBT, upload will fail.\n\nOption -tID uploads FILEs to the issue with specified ID on MantisBT site.\n-d DIR is ignored.\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 issue is to be\nfiled. The default value is 'ABRT Server'\n\nIf not specified, CONFFILE defaults to "
    ],
    "previous_source": "",
    "target": [
        "\n& [-vf] [-c CONFFILE]... [-F FMTFILE] [-A FMTFILE2] -d MAP\nof:\n& [-v] [-c CONFFILE]... [-d MAP] -t[ID] BESTAND...\nof:\n& [-v] [-c CONFFILE]... [-d MAP] -t[ID] -w\nof:\n& [-v] [-c CONFFILE]... -h DUPHASH\n\nRapporteert probleem aan MantisBT.\n\nHet gereedschap leest MAP. Probeert daarna een bug te vinden\nmet dezelfde abrt_has in aagepast veld 'abrt_hash'.\n\nAls bug niet gevonden wordt, dan wordt een nieuwe bug aangemaakt. Elementen van MAP\nworden opgeslagen in de bug als onderdeel van de bugbeschrijving of als bijlagen,\nafhankelijk van hun type en grootte.\n\nAls zo'n bug wel gevonden wordt en het is gemarkeerd met CLOSED DUPLICATE, dan\nvolgt het gereedschap de keten van duplicaten totdat het een niet-DUPLICATE bug vindt.\nHet gereedschap voegt een nieuw commantaar toe aan de gevonden bug.\n\nDe URL van de nieuwe of veranderde bug wordt naar stdout geprint en opgeslagen in\nhet 'reported_to' element.\n\nOptie -t uploadt BESTANDen naar de reeds aangemaakte bug op de MantisBT site.\nDe bug ID wordt verkregen van de map gespecificeerd met -d MAP.\nAls de probleem data in MAP nog nooit aan MantisBT gerapporteerd werd, zal de upload falen.\n\nOptie -tID uploadt BESTANDen naar de bug met gespecificeerd ID op de MantisBT site.\n-d MAP wordt genegeerd.\n\nOptie -r stelt de laatste url van reporter_to element in welke TRACKER_NAME als prefix\nvoor het URL veld. Deze optie wordt alleen toegepast als een nieuwe bug opgeslagen\nwordt. De standaard waarde is 'ABRT Server'\n\nIndien niet gespecificeerd, wordt de waarde van CONFFILE "
    ],
    "id_hash": -1580311025376080648,
    "content_hash": -1580311025376080648,
    "location": "../src/plugins/reporter-mantisbt.c:211",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 383,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 238,
    "source_unit": "https://translate.fedoraproject.org/api/units/279765/?format=api",
    "priority": 100,
    "id": 319700,
    "web_url": "https://translate.fedoraproject.org/translate/abrt/libreport/nl/?checksum=6a119b7ec9d34cf8",
    "url": "https://translate.fedoraproject.org/api/units/319700/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-11T14:02:36.291809Z"
}