Units API.

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

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

{
    "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/django-fmd/en/?format=api",
    "source": [
        "Usage: ./dev-cli.py [OPTIONS] COMMAND [ARGS]...\n\n╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮\n│ --help      Show this message and exit.                                                          │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮\n│ check-code-style            Check code style by calling darker + flake8                          │\n│ coverage                    Run tests and show coverage report.                                  │\n│ diffsettings                Run \"diffsettings\" manage command against a \"local_test\" YunoHost    │\n│                             installation.                                                        │\n│ fix-code-style              Fix code style of all your_cool_package source code files via darker │\n│ install                     Run pip-sync and install 'django_fmd_ynh' via pip as editable.       │\n│ local-test                  Build a \"local_test\" YunoHost installation and start the Django dev. │\n│                             server against it.                                                   │\n│ mypy                        Run Mypy (configured in pyproject.toml)                              │\n│ pip-audit                   Run pip-audit check against current requirements files               │\n│ publish                     Build and upload this project to PyPi                                │\n│ test                        Compile YunoHost files and run Django unittests                      │\n│ tox                         Run tox                                                              │\n│ update                      Update \"requirements*.txt\" dependencies files                        │\n│ update-test-snapshot-files  Update all test snapshot files (by remove and recreate all snapshot  │\n│                             files)                                                               │\n│ version                     Print version and exit                                               │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n"
    ],
    "previous_source": "",
    "target": [
        "Usage: ./dev-cli.py [OPTIONS] COMMAND [ARGS]...\n\n╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮\n│ --help      Show this message and exit.                                                          │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────╮\n│ check-code-style            Check code style by calling darker + flake8                          │\n│ coverage                    Run tests and show coverage report.                                  │\n│ diffsettings                Run \"diffsettings\" manage command against a \"local_test\" YunoHost    │\n│                             installation.                                                        │\n│ fix-code-style              Fix code style of all your_cool_package source code files via darker │\n│ install                     Run pip-sync and install 'django_fmd_ynh' via pip as editable.       │\n│ local-test                  Build a \"local_test\" YunoHost installation and start the Django dev. │\n│                             server against it.                                                   │\n│ mypy                        Run Mypy (configured in pyproject.toml)                              │\n│ pip-audit                   Run pip-audit check against current requirements files               │\n│ publish                     Build and upload this project to PyPi                                │\n│ test                        Compile YunoHost files and run Django unittests                      │\n│ tox                         Run tox                                                              │\n│ update                      Update \"requirements*.txt\" dependencies files                        │\n│ update-test-snapshot-files  Update all test snapshot files (by remove and recreate all snapshot  │\n│                             files)                                                               │\n│ version                     Print version and exit                                               │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n"
    ],
    "id_hash": 5825800370703529115,
    "content_hash": 5825800370703529115,
    "location": "src/django-fmd/ADMIN.md:40",
    "context": "",
    "note": "type: Fenced code block",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 14,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 173,
    "source_unit": "https://translate.yunohost.org/api/units/149248/?format=api",
    "priority": 100,
    "id": 149248,
    "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/django-fmd/en/?checksum=d0d966921c1f749b",
    "url": "https://translate.yunohost.org/api/units/149248/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-04-03T22:15:45.254039Z"
}