Units API.

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

GET /api/units/132075/?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_porters-handbook/en/?format=api",
    "source": [
        "<application>CMake</application> supports these build profiles: <literal>Debug</literal>, <literal>Release</literal>, <literal>RelWithDebInfo</literal> and <literal>MinSizeRel</literal>. <literal>Debug</literal> and <literal>Release</literal> profiles respect system <literal>*FLAGS</literal>, <literal>RelWithDebInfo</literal> and <literal>MinSizeRel</literal> will set <varname>CFLAGS</varname> to <literal>-O2 -g</literal> and <literal>-Os -DNDEBUG</literal> correspondingly. The lower-cased value of <varname>CMAKE_BUILD_TYPE</varname> is exported to <varname>PLIST_SUB</varname> and must be used if the port installs <filename><replaceable>*</replaceable>.cmake</filename> depending on the build type (see <package role=\"port\">devel/kf5-kcrash</package> for an example). Please note that some projects may define their own build profiles and/or force particular build type by setting <literal>CMAKE_BUILD_TYPE</literal> in <filename>CMakeLists.txt</filename>. To make a port for such a project respect <varname>CFLAGS</varname> and <varname>WITH_DEBUG</varname>, the <literal>CMAKE_BUILD_TYPE</literal> definitions must be removed from those files."
    ],
    "previous_source": "",
    "target": [
        "<application>CMake</application> supports these build profiles: <literal>Debug</literal>, <literal>Release</literal>, <literal>RelWithDebInfo</literal> and <literal>MinSizeRel</literal>. <literal>Debug</literal> and <literal>Release</literal> profiles respect system <literal>*FLAGS</literal>, <literal>RelWithDebInfo</literal> and <literal>MinSizeRel</literal> will set <varname>CFLAGS</varname> to <literal>-O2 -g</literal> and <literal>-Os -DNDEBUG</literal> correspondingly. The lower-cased value of <varname>CMAKE_BUILD_TYPE</varname> is exported to <varname>PLIST_SUB</varname> and must be used if the port installs <filename><replaceable>*</replaceable>.cmake</filename> depending on the build type (see <package role=\"port\">devel/kf5-kcrash</package> for an example). Please note that some projects may define their own build profiles and/or force particular build type by setting <literal>CMAKE_BUILD_TYPE</literal> in <filename>CMakeLists.txt</filename>. To make a port for such a project respect <varname>CFLAGS</varname> and <varname>WITH_DEBUG</varname>, the <literal>CMAKE_BUILD_TYPE</literal> definitions must be removed from those files."
    ],
    "id_hash": -2448691735117659888,
    "content_hash": -2448691735117659888,
    "location": "book.translate.xml:10057",
    "context": "",
    "note": "(itstool) path: sect2/para",
    "flags": "",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1906,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 101,
    "source_unit": "https://translate-dev.freebsd.org/api/units/132075/?format=api",
    "priority": 100,
    "id": 132075,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_porters-handbook/en/?checksum=5e047fd733e08110",
    "url": "https://translate-dev.freebsd.org/api/units/132075/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-02-15T19:01:07.862345Z"
}