Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/uyuni/docs-client-configuration-master/ko/?format=api",
    "source": [
        "#!/bin/bash\nmkdir -p /usr/local/centos\ncd /usr/local/centos\nrm *.xml\nwget -c http://cefs.steve-meier.de/errata.latest.xml\nwget -c https://www.redhat.com/security/data/oval/v2/RHEL7/rhel-7.oval.xml.bz2\nbzip2 -d rhel-7.oval.xml.bz2\nwget -c http://cefs.steve-meier.de/errata-import.tar\ntar xvf errata-import.tar\nchmod +x /usr/local/centos/errata-import.pl\nexport SPACEWALK_USER='<adminname>';export SPACEWALK_PASS='<password>'\n/usr/local/centos/errata-import.pl --server '<servername>' \\\n--errata /usr/local/centos/errata.latest.xml  \\\n--include-channels=centos7-x86_64-updates,centos7-x86_64,centos7-x86_64-extras \\\n--publish --rhsa-oval /usr/local/centos/rhel-7.oval.xml\n"
    ],
    "previous_source": "",
    "target": [
        "#!/bin/bash\nmkdir -p /usr/local/centos\ncd /usr/local/centos\nrm *.xml\nwget -c http://cefs.steve-meier.de/errata.latest.xml\n#wget -c https://www.redhat.com/security/data/oval/com.redhat.rhsa-all.xml\nwget -c https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2\nbzip2 -d com.redhat.rhsa-RHEL7.xml.bz2\nwget -c http://cefs.steve-meier.de/errata-import.tar\ntar xvf errata-import.tar\nchmod +x /usr/local/centos/errata-import.pl\nexport SPACEWALK_USER='<adminname>';export SPACEWALK_PASS='<password>'\n/usr/local/centos/errata-import.pl --server '<servername>' \\\n--errata /usr/local/centos/errata.latest.xml  \\\n--include-channels=centos7-updates-x86_64,centos7-x86_64,centos7-extras-x86_64 \\\n--publish --rhsa-oval /usr/local/centos/com.redhat.rhsa-RHEL7.xml\n"
    ],
    "id_hash": -7978433249683120465,
    "content_hash": -7978433249683120465,
    "location": "modules/client-configuration/pages/clients-centos.adoc:51",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 30,
    "fuzzy": false,
    "translated": true,
    "approved": true,
    "position": 950,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 41,
    "source_unit": "https://l10n.opensuse.org/api/units/15910745/?format=api",
    "priority": 100,
    "id": 15910753,
    "web_url": "https://l10n.opensuse.org/translate/uyuni/docs-client-configuration-master/ko/?checksum=1146e93b2078deaf",
    "url": "https://l10n.opensuse.org/api/units/15910753/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-12-11T08:30:06.391649Z"
}