Units API.

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

GET /api/units/319596/?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& [-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 GROEP-NAAM]... [-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 [-p[PRODUCT]]\n\nRapporteert probleem aan Bugzilla.\n\nHet gereedschap leest MAP. Logt daarna in op Bugzilla en probeert een bug te vinden\nmet dezelfde abrt_hash:HEXSTRING in 'Whiteboard'.\n\nAls zo'n 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 Bugzilla site.\nDe bug ID wordt verkregen van de map gespecificeerd met -d MAP.\nAls de probleem data in MAP nog nooit aan BUzilla gerapporteerd werd, zal de upload falen.\n\nOptie -tID uploadt BESTANDen naar de bug met gespecificeerd ID op de Bugzilla site.\n-d MAP wordt genegeerd.\n\nOptie -w voegt de bugzilla gebruiker toe aan de CC lijst van de bug.\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": 2528471270948901441,
    "content_hash": 2528471270948901441,
    "location": "../src/plugins/reporter-bugzilla.c:247",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 275,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 253,
    "source_unit": "https://translate.fedoraproject.org/api/units/279218/?format=api",
    "priority": 100,
    "id": 319596,
    "web_url": "https://translate.fedoraproject.org/translate/abrt/libreport/nl/?checksum=a316ef3979b09241",
    "url": "https://translate.fedoraproject.org/api/units/319596/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-11T14:02:34.939783Z"
}