Units API.

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

GET /api/units/719157/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translation.chamilo.org/api/translations/chamilo/messages/pt/?format=api",
    "source": [
        "X-Frame-Options tells the browser whether you want to allow your site to be framed or not. By preventing a browser from framing your site you can defend against attacks like clickjacking. If defining a URL here, it should define the URL(s) from which your content should be visible, not the URLs from which your site accepts content. For example, if your main URL (root_web above) is https://11.chamilo.org/, then this setting should be: 'ALLOW-FROM https://11.chamilo.org'. These headers only apply to pages where Chamilo is responsible of the HTTP headers generation (i.e. '.php' files). It does not apply to static files. If playing with this feature, make sure you also update your web server configuration to add the right headers for static files. See CDN configuration documentation above (search for 'add_header') for more information. Recommended (strict) value for this setting, if enabled: 'SAMEORIGIN'."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -8185148099947848627,
    "content_hash": -3653523257198652487,
    "location": "",
    "context": "X-Frame-Options tells the browser whether you want to allow your site to be framed or not. By preventing a browser from framing your site you can defend against attacks like clickjacking. If defining a URL here, it should define the URL(s) from which your content should be visible, not the URLs from which your site accepts content. For example, if your main URL (root_web above) is https://11.chamilo.org/, then this setting should be: 'ALLOW-FROM https://11.chamilo.org'. These headers only apply to pages where Chamilo is responsible of the HTTP headers generation (i.e. '.php' files). It does not apply to static files. If playing with this feature, make sure you also update your web server configuration to add the right headers for static files. See CDN configuration documentation above (search for 'add_header') for more information. Recommended (strict) value for this setting, if enabled: 'SAMEORIGIN'.",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 9006,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 141,
    "source_unit": "https://translation.chamilo.org/api/units/690006/?format=api",
    "priority": 100,
    "id": 719157,
    "web_url": "https://translation.chamilo.org/translate/chamilo/messages/pt/?checksum=0e68832b7ca51c4d",
    "url": "https://translation.chamilo.org/api/units/719157/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-04-15T22:33:30.864278Z"
}