Units API.

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

GET /api/units/200496/?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_developers-handbook/en/?format=api",
    "source": [
        "<prompt>%</prompt> <userinput>lldb -- temp</userinput>\n(lldb) target create \"temp\"\nCurrent executable set to 'temp' (x86_64).\n(lldb) <userinput>breakpoint set -n main</userinput>\t\t\t\t<lineannotation>Skip the set-up code</lineannotation>\nBreakpoint 1: where = temp`main + 15 at temp.c:8:2, address = 0x00000000002012ef\t<lineannotation>lldb puts breakpoint at main()</lineannotation>\n(lldb) <userinput>process launch</userinput>\t\t\t\t\t<lineannotation>Run as far as main()</lineannotation>\nProcess 9992 launching\nProcess 9992 launched: '/home/pauamma/tmp/temp' (x86_64)\t<lineannotation>Program starts running</lineannotation>\n\nProcess 9992 stopped\n* thread #1, name = 'temp', stop reason = breakpoint 1.1\t<lineannotation>lldb stops at main()</lineannotation>\n    frame #0: 0x00000000002012ef temp`main at temp.c:8:2\n   5\tmain() {\n   6\t\tint i;\n   7\n-&gt; 8\t\tprintf(\"This is my program\\n\");\t\t\t<lineannotation>Indicates the line where it stopped</lineannotation>\n   9\t\tbazz(i);\n   10\t\treturn 0;\n   11\t}\n(lldb) <userinput>thread step-over</userinput>\t\t\t<lineannotation>Go to next line</lineannotation>\nThis is my program\t\t\t\t\t\t<lineannotation>Program prints out</lineannotation>\nProcess 9992 stopped\n* thread #1, name = 'temp', stop reason = step over\n    frame #0: 0x0000000000201300 temp`main at temp.c:9:7\n   6\t\tint i;\n   7\n   8\t\tprintf(\"This is my program\\n\");\n-&gt; 9\t\tbazz(i);\n   10\t\treturn 0;\n   11\t}\n   12\n(lldb) <userinput>thread step-in</userinput>\t\t\t<lineannotation>step into bazz()</lineannotation>\nProcess 9992 stopped\n* thread #1, name = 'temp', stop reason = step in\n    frame #0: 0x000000000020132b temp`bazz(anint=-5360) at temp.c:14:29\t<lineannotation>lldb displays stack frame</lineannotation>\n   11\t}\n   12\n   13\tint bazz(int anint) {\n-&gt; 14\t\tprintf(\"You gave me %d\\n\", anint);\n   15\t\treturn anint;\n   16\t}\n(lldb)"
    ],
    "previous_source": "",
    "target": [
        "<prompt>%</prompt> <userinput>lldb -- temp</userinput>\n(lldb) target create \"temp\"\nCurrent executable set to 'temp' (x86_64).\n(lldb) <userinput>breakpoint set -n main</userinput>\t\t\t\t<lineannotation>Skip the set-up code</lineannotation>\nBreakpoint 1: where = temp`main + 15 at temp.c:8:2, address = 0x00000000002012ef\t<lineannotation>lldb puts breakpoint at main()</lineannotation>\n(lldb) <userinput>process launch</userinput>\t\t\t\t\t<lineannotation>Run as far as main()</lineannotation>\nProcess 9992 launching\nProcess 9992 launched: '/home/pauamma/tmp/temp' (x86_64)\t<lineannotation>Program starts running</lineannotation>\n\nProcess 9992 stopped\n* thread #1, name = 'temp', stop reason = breakpoint 1.1\t<lineannotation>lldb stops at main()</lineannotation>\n    frame #0: 0x00000000002012ef temp`main at temp.c:8:2\n   5\tmain() {\n   6\t\tint i;\n   7\n-&gt; 8\t\tprintf(\"This is my program\\n\");\t\t\t<lineannotation>Indicates the line where it stopped</lineannotation>\n   9\t\tbazz(i);\n   10\t\treturn 0;\n   11\t}\n(lldb) <userinput>thread step-over</userinput>\t\t\t<lineannotation>Go to next line</lineannotation>\nThis is my program\t\t\t\t\t\t<lineannotation>Program prints out</lineannotation>\nProcess 9992 stopped\n* thread #1, name = 'temp', stop reason = step over\n    frame #0: 0x0000000000201300 temp`main at temp.c:9:7\n   6\t\tint i;\n   7\n   8\t\tprintf(\"This is my program\\n\");\n-&gt; 9\t\tbazz(i);\n   10\t\treturn 0;\n   11\t}\n   12\n(lldb) <userinput>thread step-in</userinput>\t\t\t<lineannotation>step into bazz()</lineannotation>\nProcess 9992 stopped\n* thread #1, name = 'temp', stop reason = step in\n    frame #0: 0x000000000020132b temp`bazz(anint=-5360) at temp.c:14:29\t<lineannotation>lldb displays stack frame</lineannotation>\n   11\t}\n   12\n   13\tint bazz(int anint) {\n-&gt; 14\t\tprintf(\"You gave me %d\\n\", anint);\n   15\t\treturn anint;\n   16\t}\n(lldb)"
    ],
    "id_hash": -7777762697640846745,
    "content_hash": -7777762697640846745,
    "location": "book.translate.xml:1854",
    "context": "",
    "note": "(itstool) path: sect3/screen",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 342,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 212,
    "source_unit": "https://translate-dev.freebsd.org/api/units/200496/?format=api",
    "priority": 100,
    "id": 200496,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_developers-handbook/en/?checksum=140fd608ebd55a67",
    "url": "https://translate-dev.freebsd.org/api/units/200496/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-07-26T12:32:42.178023Z"
}