Units API.

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

GET /api/units/1242874/?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-handbookplist_index/en/?format=api",
    "source": [
        "Another way of modifying a port's packing list is based on setting the variables `PLIST_FILES` and `PLIST_DIRS`.  The value of each variable is regarded as a list of pathnames to write to [.filename]#TMPPLIST# along with [.filename]#PLIST# contents.  While names listed in `PLIST_FILES` and `PLIST_DIRS` are subject to `%%_VAR_%%` substitution as described above, it is better to use the `${_VAR_}` directly.  Except for that, names from `PLIST_FILES` will appear in the final packing list unchanged, while `@dir` will be prepended to names from `PLIST_DIRS`.  To take effect, `PLIST_FILES` and `PLIST_DIRS` must be set before [.filename]#TMPPLIST# is written, that is, in `pre-install` or earlier."
    ],
    "previous_source": "",
    "target": [
        "Another way of modifying a port's packing list is based on setting the variables `PLIST_FILES` and `PLIST_DIRS`.  The value of each variable is regarded as a list of pathnames to write to [.filename]#TMPPLIST# along with [.filename]#PLIST# contents.  While names listed in `PLIST_FILES` and `PLIST_DIRS` are subject to `%%_VAR_%%` substitution as described above, it is better to use the `${_VAR_}` directly.  Except for that, names from `PLIST_FILES` will appear in the final packing list unchanged, while `@dir` will be prepended to names from `PLIST_DIRS`.  To take effect, `PLIST_FILES` and `PLIST_DIRS` must be set before [.filename]#TMPPLIST# is written, that is, in `pre-install` or earlier."
    ],
    "id_hash": -2960820238536485375,
    "content_hash": -2960820238536485375,
    "location": "documentation/content/en/books/porters-handbook/plist/_index.adoc:100",
    "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": 102,
    "source_unit": "https://translate-dev.freebsd.org/api/units/1242874/?format=api",
    "priority": 100,
    "id": 1242874,
    "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksporters-handbookplist_index/en/?checksum=56e90dae1e3ed601",
    "url": "https://translate-dev.freebsd.org/api/units/1242874/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-06-12T20:11:09.050121Z"
}