Units API.

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

GET /api/units/33790/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/pt_BR/?format=api",
    "source": [
        "static const struct pccard_product wi_pccard_products[] = {\n\tPCMCIA_CARD(3COM, 3CRWE737A, 0),\n\tPCMCIA_CARD(BUFFALO, WLI_PCM_S11, 0),\n\tPCMCIA_CARD(BUFFALO, WLI_CF_S11G, 0),\n\tPCMCIA_CARD(TDK, LAK_CD011WL, 0),\n\t{ NULL }\n};\n\nstatic int\nwi_pccard_probe(dev)\n\tdevice_t\tdev;\n{\n\tconst struct pccard_product *pp;\n\n\tif ((pp = pccard_product_lookup(dev, wi_pccard_products,\n\t    sizeof(wi_pccard_products[0]), NULL)) != NULL) {\n\t\tif (pp->pp_name != NULL)\n\t\t\tdevice_set_desc(dev, pp->pp_name);\n\t\treturn (0);\n\t}\n\treturn (ENXIO);\n}"
    ],
    "previous_source": "",
    "target": [
        "static const struct pccard_product wi_pccard_products[] = {\n\tPCMCIA_CARD(3COM, 3CRWE737A, 0),\n\tPCMCIA_CARD(BUFFALO, WLI_PCM_S11, 0),\n\tPCMCIA_CARD(BUFFALO, WLI_CF_S11G, 0),\n\tPCMCIA_CARD(TDK, LAK_CD011WL, 0),\n\t{ NULL }\n};\n\nstatic int\nwi_pccard_probe(dev)\n\tdevice_t\tdev;\n{\n\tconst struct pccard_product *pp;\n\n\tif ((pp = pccard_product_lookup(dev, wi_pccard_products,\n\t    sizeof(wi_pccard_products[0]), NULL)) != NULL) {\n\t\tif (pp->pp_name != NULL)\n\t\t\tdevice_set_desc(dev, pp->pp_name);\n\t\treturn (0);\n\t}\n\treturn (ENXIO);\n}"
    ],
    "id_hash": -2672263712847233882,
    "content_hash": -2672263712847233882,
    "location": "book.translate.xml:23720",
    "context": "",
    "note": "(itstool) path: sect2/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2693,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 55,
    "source_unit": "https://translate-dev.freebsd.org/api/units/104822/?format=api",
    "priority": 100,
    "id": 33790,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=5aea364fb992fca6",
    "url": "https://translate-dev.freebsd.org/api/units/33790/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:22:17.728274Z"
}