Units API.

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

GET /api/units/177393/?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/en/?format=api",
    "source": [
        ""
    ],
    "previous_source": "",
    "target": [
        "The file should look like:<blockquote><pre><b>URL</b>;category;<b>title</b>;description;<b>http://www.aaa.org/...</b>;Important links;<b>Name 1</b>;Description 1;<b>http://www.bbb.net/...</b>;;<b>Name 2</b>;\"Description 2\";</pre></blockquote>If URL and category are equal to those of an existing link, its title and description are updated. In all other cases a new link is created.<br><br>Bold = mandatory. Fields can be in any order, names in upper- or lowercase. Additional fields are added to description. Separator: comma or semicolon. Values may be quoted, but not the field names. Some [b]HTML tags[/b] can be imported in the description field."
    ],
    "id_hash": -8012540684684694994,
    "content_hash": -8012540684684694994,
    "location": "",
    "context": "The file should look like:<blockquote><pre><b>URL</b>;category;<b>title</b>;description;<b>http://www.aaa.org/...</b>;Important links;<b>Name 1</b>;Description 1;<b>http://www.bbb.net/...</b>;;<b>Name 2</b>;\"Description 2\";</pre></blockquote>If URL and category are equal to those of an existing link, its title and description are updated. In all other cases a new link is created.<br><br>Bold = mandatory. Fields can be in any order, names in upper- or lowercase. Additional fields are added to description. Separator: comma or semicolon. Values may be quoted, but not the field names. Some [b]HTML tags[/b] can be imported in the description field.",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 1056,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 0,
    "source_unit": "https://translation.chamilo.org/api/units/177393/?format=api",
    "priority": 100,
    "id": 177393,
    "web_url": "https://translation.chamilo.org/translate/chamilo/messages/en/?checksum=10cdbcb31500ea2e",
    "url": "https://translation.chamilo.org/api/units/177393/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-03-20T16:27:55.204117Z"
}