Units API.

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

GET /api/units/313591/?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& [-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 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\nSegnala il problema a MantisBT.\n\nLo strumento legge DIR. Quindi tenta di trovare un problema\ncon lo stesso abrt_hash nel campo personalizzato 'abrt_hash'.\n\nSe il problema non viene trovato, verrà creato un nuovo problema. Elementi di DIR\nvengono archiviati nel problema come parte della descrizione del problema o come allegati,\na seconda del loro tipo e dimensione.\n\nAltrimenti, se tale problema viene rilevato ed è contrassegnato come CLOSED DUPLICATE,\nlo strumento segue la catena di duplicati finché non rileva un problema non-DUPLICATE.\nLo strumento aggiunge un nuovo commento al problema riscontrato.\n\nL'URL del problema nuovo o modificato viene stampato su stdout e registrato\nnell'elemento 'reported_to'.\n\nL'opzione -t carica i FILE nel problema già creato sul sito MantisBT.\nL'ID del problema viene recuperato dalla directory specificata da -d DIR.\nSe i dati del problema in DIR non sono mai stati segnalati a MantisBT, il caricamento fallirà.\n\nL'opzione -tID carica i FILE sul problema con l'ID specificato sul sito MantisBT.\n-d DIR viene ignorato.\n\nL'opzione -r imposta l'ultimo URL dall'elemento reporter_to che ha il prefisso\nTRACKER_NAME nel campo URL. Questa opzione si applica solo quando deve\nessere inserito un nuovo problema. Il valore di default è 'ABRT Server'\n\nSe non specificato, il valore predefinito è 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": 313591,
    "web_url": "https://translate.fedoraproject.org/translate/abrt/libreport/it/?checksum=6a119b7ec9d34cf8",
    "url": "https://translate.fedoraproject.org/api/units/313591/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-01-11T14:01:12.087496Z"
}