Units API.

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

GET /api/units/1826152/?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/documentation/booksporters-handbookporting-samplem_index/ru/?format=api",
    "source": [
        "Section to describe the port itself and the master site -- `PORTNAME` and `PORTVERSION` or the `DISTVERSION*` variables are always first, followed by `CATEGORIES`, and then `MASTER_SITES`, which can be followed by `MASTER_SITE_SUBDIR`.  `PKGNAMEPREFIX` and `PKGNAMESUFFIX`, if needed, will be after that.  Then comes `DISTNAME`, `EXTRACT_SUFX` and/or `DISTFILES`, and then `EXTRACT_ONLY`, as necessary."
    ],
    "previous_source": "[section to describe the port itself and the master site - PORTNAME\n and PORTVERSION or the DISTVERSION* variables are always first,\n followed by CATEGORIES, and then MASTER_SITES, which can be followed\n by MASTER_SITE_SUBDIR.  PKGNAMEPREFIX and PKGNAMESUFFIX, if needed,\n will be after that.  Then comes DISTNAME, EXTRACT_SUFX and/or\n DISTFILES, and then EXTRACT_ONLY, as necessary.]\nPORTNAME=\txdvi\nDISTVERSION=\t18.2\nCATEGORIES=\tprint\n[do not forget the trailing slash (\"/\")!\n if not using MASTER_SITE_* macros]\nMASTER_SITES=\t${MASTER_SITE_XCONTRIB}\nMASTER_SITE_SUBDIR=\tapplications\nPKGNAMEPREFIX=\tja-\nDISTNAME=\txdvi-pl18\n[set this if the source is not in the standard \".tar.gz\" form]\nEXTRACT_SUFX=\t.tar.Z\n",
    "target": [
        "Секция для описания самого порта и его главного сайта: первыми идут переменные PORTNAME и PORTVERSION или DISTVERSION*, на ними CATEGORIES, затем MASTER_SITES, после которой идёт MASTER_SITE_SUBDIR. Если нужно, то после нее идут PKGNAMEPREFIX и PKGNAMESUFFIX. Затем следуют DISTNAME, EXTRACT_SUFX и/или DISTFILES, и уже потом, если нужно, EXTRACT_ONLY."
    ],
    "id_hash": -2070820004670440596,
    "content_hash": -2070820004670440596,
    "location": "documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:115",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 20,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 53,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1825686/?format=api",
    "priority": 100,
    "id": 1826152,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookporting-samplem_index/ru/?checksum=6342f82d6bd87b6c",
    "url": "https://translate-dev.freebsd.org/api/units/1826152/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-08-17T20:27:18.310694Z"
}