Translation components API.

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

GET /api/components/xwiki-rendering/macro-transformation/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "Macro transformation",
    "slug": "macro-transformation",
    "id": 207,
    "source_language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 71,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/en/",
        "url": "https://l10n.xwiki.org/api/languages/en/",
        "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/"
    },
    "project": {
        "name": "XWiki Rendering",
        "slug": "xwiki-rendering",
        "id": 4,
        "web": "http://www.xwiki.org",
        "web_url": "https://l10n.xwiki.org/projects/xwiki-rendering/",
        "url": "https://l10n.xwiki.org/api/projects/xwiki-rendering/",
        "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-rendering/components/",
        "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-rendering/repository/",
        "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-rendering/statistics/",
        "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-rendering/changes/",
        "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-rendering/languages/",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "github",
    "repo": "https://github.com/xwiki/xwiki-rendering",
    "git_export": "",
    "branch": "master",
    "push_branch": "",
    "filemask": "xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/resources/ApplicationResources_*.properties",
    "template": "xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/resources/ApplicationResources.properties",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "xwiki-java-properties",
    "license": "LGPL-2.1-only",
    "license_url": "https://spdx.org/licenses/LGPL-2.1-only.html",
    "agreement": "",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-rendering/macro-transformation/",
    "url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/",
    "repository_url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/repository/",
    "translations_url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/translations/",
    "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/statistics/",
    "lock_url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/lock/",
    "links_url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/links/",
    "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-rendering/macro-transformation/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "https://github.com/xwiki/xwiki-rendering",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "",
    "report_source_bugs": "",
    "merge_style": "rebase",
    "commit_message": "Translated using Weblate ({{ language_name }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
    "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
    "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
    "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
    "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
    "pull_message": "Translations update from Weblate\n\nTranslations update from [Weblate]({{url}}) for {{ project_name }}/{{ component_name }}.\n\n{% if component.linked_childs %}\nIt also includes following components:\n{% for linked in component.linked_child %}\n{{ component.project.name }}/{{ component.name }}\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n\nIf a new locale is introduced by this pull request make sure to follow https://dev.xwiki.org/xwiki/bin/view/Community/L10N/SupportedLocales/#HNewlocalechecklist before applying it.\n",
    "allow_translation_propagation": true,
    "manage_units": true,
    "enable_suggestions": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": true,
    "commit_pending_age": 1,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [],
    "is_glossary": false,
    "glossary_color": "silver"
}