Change Instance
Changes API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/changes/14666938/?format=api
{ "unit": "https://translate.fedoraproject.org/api/units/10811200/?format=api", "component": "https://translate.fedoraproject.org/api/components/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-aws/?format=api", "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-aws/pt_BR/?format=api", "user": "https://translate.fedoraproject.org/api/users/rffontenelle/?format=api", "author": "https://translate.fedoraproject.org/api/users/rffontenelle/?format=api", "timestamp": "2024-01-30T03:29:52.698155Z", "action": 5, "target": "NAME='instância1'\nSSHKEY='minha-chave' # o nome de sua chave SSH: `aws ec2 describe-key-pairs`\nIMAGE='ami-xxx' # O ID da AMI encontrado na página de downloads\nDISK='20' # o tamanho do disco rígido\nREGION='us-east-1' # a região alvo\nTYPE='m5.large' # o tipo da instância\nSUBNET='subnet-xxx' # a sub-rede: `aws ec2 describe-subnets`\nSECURITY_GROUPS='sg-xx' # o grupo de segurança `aws ec2 describe-security-groups`\nUSERDATA='/path/to/config.ign' # caminho para sua configuração do Ignition\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", "old": "", "details": { "state": 20, "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", "old_state": 0 }, "id": 14666938, "action_name": "Translation added", "url": "https://translate.fedoraproject.org/api/changes/14666938/?format=api" }