Units API.

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

GET /api/units/225806/?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_fdp-primer/es/?format=api",
    "source": [
        "# httpd.conf for testing the FreeBSD website\nDefine TestRoot \"/tmp/www/data\"\n\n# directory for configuration files\nServerRoot \"/usr/local\"\n\nListen 80\n\n# minimum required modules\nLoadModule authz_core_module libexec/apache24/mod_authz_core.so\nLoadModule mime_module libexec/apache24/mod_mime.so\nLoadModule unixd_module libexec/apache24/mod_unixd.so\nLoadModule cgi_module libexec/apache24/mod_cgi.so\nLoadModule dir_module libexec/apache24/mod_dir.so\n\n# run the webserver as user and group\nUser www\nGroup www\n\nServerAdmin you@example.com\nServerName fbsdtest\n\n# deny access to all files\n<Directory />\n    AllowOverride none\n    Require all denied\n</Directory>\n\n# allow access to the website directory\nDocumentRoot \"${TestRoot}\"\n<Directory \"${TestRoot}\">\n    Options Indexes FollowSymLinks\n    AllowOverride None\n    Require all granted\n</Directory>\n\n# prevent access to .htaccess and .htpasswd files\n<Files \".ht*\">\n    Require all denied\n</Files>\n\nErrorLog \"/var/log/httpd-error.log\"\nLogLevel warn\n\n# set up the CGI script directory\n<Directory \"${TestRoot}/cgi\">\n    AllowOverride None\n    Options None\n    Require all granted\n    Options +ExecCGI\n    AddHandler cgi-script .cgi\n</Directory>\n\nInclude etc/apache24/Includes/*.conf"
    ],
    "previous_source": "",
    "target": [
        "# httpd.conf for testing the FreeBSD website\nDefine TestRoot \"/tmp/www/data\"\n\n# directory for configuration files\nServerRoot \"/usr/local\"\n\nListen 80\n\n# minimum required modules\nLoadModule authz_core_module libexec/apache24/mod_authz_core.so\nLoadModule mime_module libexec/apache24/mod_mime.so\nLoadModule unixd_module libexec/apache24/mod_unixd.so\nLoadModule cgi_module libexec/apache24/mod_cgi.so\nLoadModule dir_module libexec/apache24/mod_dir.so\n\n# run the webserver as user and group\nUser www\nGroup www\n\nServerAdmin you@example.com\nServerName fbsdtest\n\n# deny access to all files\n<Directory />\n    AllowOverride none\n    Require all denied\n</Directory>\n\n# allow access to the website directory\nDocumentRoot \"${TestRoot}\"\n<Directory \"${TestRoot}\">\n    Options Indexes FollowSymLinks\n    AllowOverride None\n    Require all granted\n</Directory>\n\n# prevent access to .htaccess and .htpasswd files\n<Files \".ht*\">\n    Require all denied\n</Files>\n\nErrorLog \"/var/log/httpd-error.log\"\nLogLevel warn\n\n# set up the CGI script directory\n<Directory \"${TestRoot}/cgi\">\n    AllowOverride None\n    Options None\n    Require all granted\n    Options +ExecCGI\n    AddHandler cgi-script .cgi\n</Directory>\n\nInclude etc/apache24/Includes/*.conf"
    ],
    "id_hash": -6063732298782588333,
    "content_hash": -6063732298782588333,
    "location": "book.translate.xml:1931",
    "context": "",
    "note": "(itstool) path: example/programlisting",
    "flags": "no-wrap",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 331,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 130,
    "source_unit": "https://translate-dev.freebsd.org/api/units/109124/?format=api",
    "priority": 100,
    "id": 225806,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_fdp-primer/es/?checksum=2bd94b99ee004253",
    "url": "https://translate-dev.freebsd.org/api/units/225806/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-12-12T06:40:40.924236Z"
}