Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-ibmcloud/pt_BR/?format=api",
    "language_code": "pt_BR",
    "source": [
        "IMAGE=${FILE:0:-6}     # pull off .qcow2\nIMAGE=${IMAGE//[._]/-} # replace . and _ with -\n[ $ARCH == 'x86_64' ] && OSNAME='fedora-coreos-stable-amd64'\n[ $ARCH == 's390x' ] && OSNAME='red-8-s390x-byol'\nibmcloud is image-create \"${IMAGE}\" --file \"cos://${REGION}/${BUCKET}/${FILE}\" --os-name $OSNAME\n"
    ],
    "previous_source": "IMAGE=${FILE:0:-6}     # pull off .qcow2\nIMAGE=${IMAGE//[._]/-} # replace . and _ with -\nibmcloud is image-create $IMAGE --file \"cos://${REGION}/${BUCKET}/${FILE}\" --os-name centos-7-amd64\n",
    "target": [
        "IMAGE=${FILE:0:-6}     # obtém o .qcow2\nIMAGE=${IMAGE//[._]/-} # substitui . e _ com -\nibmcloud is image-create $IMAGE --file \"cos://${REGION}/${BUCKET}/${FILE}\" --os-name centos-7-amd64\n"
    ],
    "id_hash": -3903229003546810682,
    "content_hash": -3903229003546810682,
    "location": "pages/provisioning-ibmcloud.adoc:80",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 10,
    "fuzzy": true,
    "translated": false,
    "approved": false,
    "position": 27,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 35,
    "source_unit": "https://translate.fedoraproject.org/api/units/18693425/?format=api",
    "priority": 100,
    "id": 18693453,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-ibmcloud/pt_BR/?checksum=49d4f1e6c69726c6",
    "url": "https://translate.fedoraproject.org/api/units/18693453/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-01-13T22:27:49.729890Z",
    "last_updated": "2025-01-13T22:27:49.729905Z"
}