Units API.

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

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

{
    "translation": "https://hosted.weblate.org/api/translations/module-federation-documentation-oss/module-federation-documentation-main-docs/zh_Hans/?format=api",
    "source": [
        "module.exports = {\n  entry: { \"bundle.test\": testFiles },\n  output: {\n    path: path.resolve(__dirname, \".\"),\n    filename: \"[name].js\",\n  },\n  target: \"node\",\n  resolve: {\n    fallback: {\n      path: false,\n    },\n  },\n  externals: [\n    nodeExternals({\n      allowlist: [/^webpack\\/container\\/reference\\//, /react/],\n    }),\n  ],\n  mode: \"none\",\n  module: {\n    rules: [\n      {\n        test: /\\.js$/,\n        exclude: /node_modules/,\n        loader: \"babel-loader\",\n      },\n    ],\n  },\n  plugins: [\n    new ModuleFederationPlugin({\n      name: \"test_bundle\",\n      library: { type: \"commonjs-module\", name: \"test_bundle\" },\n      filename: \"remoteEntry.js\",\n      exposes: {\n        \"./render\": \"./test/suspenseRender.js\",\n      },\n      remotes: {\n        form_app: reunited(\n          path.resolve(__dirname, \"../form_app/dist/test/remoteEntry.js\"),\n          \"form_app\"\n        ),\n        dsl: reunited(\n          path.resolve(__dirname, \"../dsl/dist/remoteEntry.js\"),\n          \"dsl\"\n        ),\n      },\n    }),\n    new ReactLazySsrPlugin(),\n  ],\n};\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -7105939689031422086,
    "content_hash": -7105939689031422086,
    "location": "src/en/modules/ROOT/pages/unit-testing.adoc:49",
    "context": "",
    "note": "type: delimited block -",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 1218,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 90,
    "source_unit": "https://hosted.weblate.org/api/units/102786415/?format=api",
    "priority": 100,
    "id": 102787866,
    "web_url": "https://hosted.weblate.org/translate/module-federation-documentation-oss/module-federation-documentation-main-docs/zh_Hans/?checksum=1d62a1806feeaf7a",
    "url": "https://hosted.weblate.org/api/units/102787866/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-08-01T16:42:21.615802+02:00"
}