Units API.

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

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

{
    "translation": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_contract_invoicing_timesheets/uk/?format=api",
    "source": [
        "- can be used to find all task's timsheet lines for period specified by (date_start and date_end), optionally grouped by project and task.\n                    If group_by_project_task is False, then method will return recordset of timesheet lines that match specified period,\n                    if group_by_project_task is True, then method will return dict like\n                        {project.project(3,):\n                            {\n                                project.task(23,): account.analytic.line(6,),\n                                project.task(27,): account.analytic.line(8,),\n                                project.task(23,): account.analytic.line(7,),\n                                project.task(): account.analytic.line(5, 3, 2, 1, 4)\n                            }\n                        }.\n                    If for_task points to specific task, then return all timesheet lines that match period related to specified task."
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -3190749123077232167,
    "content_hash": -3190749123077232167,
    "location": "model_terms:ir.ui.view,arch_db:generic_contract_invoicing_timesheets.view_generic_contract_form, model_terms:ir.ui.view,arch_db:generic_contract_invoicing_timesheets.view_generic_contract_template_form",
    "context": "",
    "note": "module: generic_contract_invoicing_timesheets",
    "flags": "",
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 10,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 83,
    "source_unit": "http://weblate.crnd.pro/api/units/477591/?format=api",
    "priority": 100,
    "id": 477738,
    "web_url": "http://weblate.crnd.pro/translate/bureaucrat-generics-16-0/generic_contract_invoicing_timesheets/uk/?checksum=53b82e93ef97a9d9",
    "url": "http://weblate.crnd.pro/api/units/477738/?format=api",
    "explanation": "",
    "extra_flags": ""
}