Units API.

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

GET /api/units/1065154/?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/booksarch-handbookkobj_index/en/?format=api",
    "source": [
        "A class is built by creating a method table associating one or more functions with method descriptions.  Before use the class is compiled.  The compilation allocates a cache and associates it with the class.  A unique id is assigned to each method description within the method table of the class if not already done so by another referencing class compilation.  For every method to be used a function is generated by script to qualify arguments and automatically reference the method description for a lookup.  The generated function looks up the method by using the unique id associated with the method description as a hash into the cache associated with the object's class.  If the method is not cached the generated function proceeds to use the class' table to find the method.  If the method is found then the associated function within the class is used; otherwise, the default function associated with the method description is used."
    ],
    "previous_source": "",
    "target": [
        "A class is built by creating a method table associating one or more functions with method descriptions.  Before use the class is compiled.  The compilation allocates a cache and associates it with the class.  A unique id is assigned to each method description within the method table of the class if not already done so by another referencing class compilation.  For every method to be used a function is generated by script to qualify arguments and automatically reference the method description for a lookup.  The generated function looks up the method by using the unique id associated with the method description as a hash into the cache associated with the object's class.  If the method is not cached the generated function proceeds to use the class' table to find the method.  If the method is found then the associated function within the class is used; otherwise, the default function associated with the method description is used."
    ],
    "id_hash": -5296307729145317583,
    "content_hash": -5296307729145317583,
    "location": "documentation/content/en/books/arch-handbook/kobj/_index.adoc:84",
    "context": "",
    "note": "type: Plain text",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 15,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 156,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1065154/?format=api",
    "priority": 100,
    "id": 1065154,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookkobj_index/en/?checksum=367fbc2e6f233731",
    "url": "https://translate-dev.freebsd.org/api/units/1065154/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-05-23T12:47:11.380180Z"
}