Units API.

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

GET /api/units/313391/?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/it/?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\nRiporta il problema su Bugzilla.\n\nLo strumento legge la DIR. Successivamente accede a Bugzilla e va alla\nricerca di un bug con lo stesso abrt_hash:HEXSTRING nella 'Whiteboard'.\n\nSe tale bug non viene trovato, verrà creato uno nuovo bug. Gli elementi\ndi DIR vengono archiviati nel bug come parte della descrizione o come\nallegati in base alla loro dimensione e tipologia.\n\nAltrimenti, se tale bug viene trovato ed è contrassegnato come CLOSED DUPLICATE,\nlo strumento segue una catena di duplicati fino a quando non trova un bug\nnon-DUPLICATE. Lo strumento aggiunge un nuovo commento al bug trovato.\n\nL'URL per il nuovo bug o per quello appena modificato viene stampato\nsu stdout e registrato in 'reported_to'.\n\nL'opzione -t carica i FILE sul sito di Bugzilla nel bug già creato. L'ID del bug è\nricavato dalla directory specificata da -d DIR. Se i dati del problema in DIR\nnon sono stati ancora segnalati a Bugzilla, il carico dei dati fallirà.\n\nL'opzione -tID carica i FILE nel bug con ID specificato in Bugzilla.\n-d DIR è ignorato.\n\nL'opzione -w aggiunge l'utente in bugzilla all'elenco CC del bug.\n\nL'opzione -r imposta l'ultimo url dall'elemento reporter_to con il prefisso\nTRACKER_NAME per il campo URL. Questa opzione viene applicata solo quando\nsi crea un nuovo bug. Il valore predefinito è 'ABRT Server'\n\nSe non specificato, il valore di default di 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": 313391,
    "web_url": "https://translate.fedoraproject.org/translate/abrt/libreport/it/?checksum=a316ef3979b09241",
    "url": "https://translate.fedoraproject.org/api/units/313391/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-11T14:01:10.618090Z"
}