Units API.

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

GET /api/units/10811187/?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-aws/it/?format=api",
    "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`\nUSERDATA='/path/to/config.ign' # path to your Ignition config\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    --user-data \"file://${USERDATA}\"      \\\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": -1214492062448273929,
    "content_hash": -1214492062448273929,
    "location": "pages/provisioning-aws.adoc:49",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 14,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 92,
    "source_unit": "https://translate.fedoraproject.org/api/units/10810971/?format=api",
    "priority": 100,
    "id": 10811187,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-aws/it/?checksum=6f2541e7633d35f7",
    "url": "https://translate.fedoraproject.org/api/units/10811187/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2022-08-03T22:06:18.825661Z",
    "last_updated": "2023-06-16T11:46:33.795393Z"
}