Units API.

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

GET /api/units/8905368/?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/masterpagesgetting-started-aws/fr/?format=api",
    "language_code": "fr",
    "source": [
        "NAME='instance1'\nSSHKEY='my-key'     # the name of your SSH key: `aws ec2 describe-key-pairs`\nIMAGE='ami-xxx'     # the AMI ID found on the download page\nDISK='20'           # the size of the hard disk\nREGION='us-east-1'  # the target region\nTYPE='m5.large'     # the instance type\nSUBNET='subnet-xxx' # the subnet: `aws ec2 describe-subnets`\nSECURITY_GROUPS='sg-xx' # the security group `aws ec2 describe-security-groups`\naws ec2 run-instances                     \\\n    --region $REGION                      \\\n    --image-id $IMAGE                     \\\n    --instance-type $TYPE                 \\\n    --key-name $SSHKEY                    \\\n    --subnet-id $SUBNET                   \\\n    --security-group-ids $SECURITY_GROUPS \\\n    --tag-specifications \"ResourceType=instance,Tags=[{Key=Name,Value=${NAME}}]\" \\\n    --block-device-mappings \"VirtualName=/dev/xvda,DeviceName=/dev/xvda,Ebs={VolumeSize=${DISK}}\"\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -2268781791199962167,
    "content_hash": -2268781791199962167,
    "location": "pages/getting-started-aws.adoc:29",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 5,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 82,
    "source_unit": "https://translate.fedoraproject.org/api/units/8905342/?format=api",
    "priority": 100,
    "id": 8905368,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesgetting-started-aws/fr/?checksum=6083aafb3ea6dbc9",
    "url": "https://translate.fedoraproject.org/api/units/8905368/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2021-10-19T22:08:25.387762Z",
    "last_updated": "2023-06-16T11:46:33.795393Z"
}