Units API.

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

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

{
    "translation": "https://hosted.weblate.org/api/translations/debian-handbook/92_short-remedial-course/nb_NO/?format=api",
    "source": [
        "Then the shell clones itself; this leads to a new <command>bash</command> process, with <emphasis>pid</emphasis> #4521 (<emphasis>pids</emphasis> are abstract numbers, and generally have no particular meaning). Process #4521 inherits the pipe, which means it is able to write in its “input” side; <command>bash</command> redirects its standard output stream to this pipe's input. Then it executes (and replaces itself with) the <command>ls</command> program, which lists the contents of the current directory. Since <command>ls</command> writes on its standard output, and this output has previously been redirected, the results are effectively sent into the pipe."
    ],
    "previous_source": "",
    "target": [
        "Deretter kloner skallet seg selv. Dette fører til en ny <command>bash</command>-prosess, med <emphasis>pid</emphasis> nummer 4521 (<emphasis>pid-er</emphasis> er abstrakte tall, og har generelt ikke noen bestemt mening). Prosess nummer 4521 arver røret, noe som betyr at den er i stand til å skrive på sin «inngående»-side; <command>bash</command> omdirigeringer sin standard utgående strøm til dette rørets inngang. Så utfører den (og erstatter seg med) <command>ls</command>-programmet, som viser innholdet i den gjeldende katalogen. Ettersom <command>ls</command> skriver til sin standard utdata, og det som kommer derfra tidligere ble omdirigert, blir effekten at resultatet sendes inn i røret."
    ],
    "id_hash": 945850921250970556,
    "content_hash": 945850921250970556,
    "location": "",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 233,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 91,
    "source_unit": "https://hosted.weblate.org/api/units/14748756/?format=api",
    "priority": 100,
    "id": 8795354,
    "web_url": "https://hosted.weblate.org/translate/debian-handbook/92_short-remedial-course/nb_NO/?checksum=8d205666cba3dbbc",
    "url": "https://hosted.weblate.org/api/units/8795354/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2014-10-08T15:25:11+02:00",
    "last_updated": "2023-05-23T12:28:47.723593+02:00"
}