Changes API.

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

GET /api/changes/15323471/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "unit": "https://translate.fedoraproject.org/api/units/17278261/?format=api",
    "component": "https://translate.fedoraproject.org/api/components/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-nutanix/?format=api",
    "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagesprovisioning-nutanix/cs/?format=api",
    "user": null,
    "author": null,
    "timestamp": "2024-02-20T17:02:31.206917Z",
    "action": 71,
    "target": "",
    "old": "",
    "details": {
        "state": 0,
        "source": "curl -X POST --header \"Content-Type: application/json\" \\\n    --header \"Accept: application/json\" \\ \n    --header \"Authorization: Basic ${ENCODED_CREDS}\" \\\n    \"https://${API_HOST}:9440/api/nutanix/v3/vms\" \\\n    -d @- << EOF\n{\n   \"spec\": {\n      \"name\": \"${VM_NAME}\",\n      \"resources\": {\n         \"power_state\": \"ON\",\n         \"num_vcpus_per_socket\": 1,\n         \"num_sockets\": 1,\n         \"memory_size_mib\": 16384,\n         \"disk_list\": [\n            {\n               \"disk_size_mib\": 32768,\n               \"device_properties\": {\n                  \"device_type\": \"DISK\",\n                  \"disk_address\": {\n                     \"device_index\": 0,\n                     \"adapter_type\": \"SCSI\"\n                  }\n               },\n               \"data_source_reference\": {\n                  \"kind\": \"image\",\n                  \"uuid\": \"${IMAGE_ID}\"\n               }\n            }\n         ],\n         \"nic_list\": [\n            {\n               \"nic_type\": \"NORMAL_NIC\",\n               \"is_connected\": true,\n               \"ip_endpoint_list\": [\n                  {\n                     \"ip_type\": \"DHCP\"\n                  }\n               ],\n               \"subnet_reference\": {\n                  \"kind\": \"subnet\",\n                  \"name\": \"${SUBNET_REFERENCE_NAME}\",\n                  \"uuid\": \"${SUBNET_REFERENCE_UUID}\"\n               }\n            }\n         ],\n         \"guest_tools\": {\n            \"nutanix_guest_tools\": {\n               \"state\": \"ENABLED\",\n               \"iso_mount_state\": \"MOUNTED\"\n            }\n         },\n         \"guest_customization\": {\n            \"cloud_init\": {\n               \"user_data\": \"${ENCODED_CONFIG}\"\n            },\n            \"is_overridable\": false\n         }\n      },\n      \"cluster_reference\": {\n         \"kind\": \"cluster\",\n         \"name\": \"${CLUSTER_REFERENCE_NAME}\",\n         \"uuid\": \"${CLUSTER_REFERENCE_UUID}\"\n      }\n   },\n   \"api_version\": \"3.1.0\",\n   \"metadata\": {\n      \"kind\": \"vm\"\n   }\n}\nEOF\n",
        "old_state": -1
    },
    "id": 15323471,
    "action_name": "String added in the repository",
    "url": "https://translate.fedoraproject.org/api/changes/15323471/?format=api"
}