Translation components API.

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

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

{
    "name": "Backend",
    "slug": "backend",
    "id": 4,
    "source_language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 76,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.framasoft.org/languages/en/",
        "url": "https://weblate.framasoft.org/api/languages/en/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "Mobilizon",
        "slug": "mobilizon",
        "id": 2,
        "web": "https://joinmobilizon.org/",
        "web_url": "https://weblate.framasoft.org/projects/mobilizon/",
        "url": "https://weblate.framasoft.org/api/projects/mobilizon/?format=api",
        "components_list_url": "https://weblate.framasoft.org/api/projects/mobilizon/components/?format=api",
        "repository_url": "https://weblate.framasoft.org/api/projects/mobilizon/repository/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/projects/mobilizon/statistics/?format=api",
        "changes_list_url": "https://weblate.framasoft.org/api/projects/mobilizon/changes/?format=api",
        "languages_url": "https://weblate.framasoft.org/api/projects/mobilizon/languages/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "mail": "",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "gitlab",
    "repo": "git@framagit.org:framasoft/mobilizon.git",
    "git_export": "",
    "branch": "",
    "push_branch": "",
    "filemask": "priv/gettext/*/LC_MESSAGES/default.po",
    "template": "",
    "edit_template": false,
    "intermediate": "",
    "new_base": "priv/gettext/default.pot",
    "file_format": "po",
    "license": "AGPL-3.0-only",
    "license_url": "https://www.gnu.org/licenses/agpl.txt",
    "agreement": "",
    "web_url": "https://weblate.framasoft.org/projects/mobilizon/backend/",
    "url": "https://weblate.framasoft.org/api/components/mobilizon/backend/?format=api",
    "repository_url": "https://weblate.framasoft.org/api/components/mobilizon/backend/repository/?format=api",
    "translations_url": "https://weblate.framasoft.org/api/components/mobilizon/backend/translations/?format=api",
    "statistics_url": "https://weblate.framasoft.org/api/components/mobilizon/backend/statistics/?format=api",
    "lock_url": "https://weblate.framasoft.org/api/components/mobilizon/backend/lock/?format=api",
    "changes_list_url": "https://weblate.framasoft.org/api/components/mobilizon/backend/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@framagit.org:framasoft/mobilizon.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": "",
    "restricted": false,
    "repoweb": "",
    "report_source_bugs": "",
    "merge_style": "rebase",
    "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
    "add_message": "Added translation using Weblate ({{ language_name }})",
    "delete_message": "Deleted translation using Weblate ({{ language_name }})",
    "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.",
    "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ addon_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
    "allow_translation_propagation": true,
    "enable_suggestions": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": true,
    "commit_pending_age": 24,
    "auto_lock_error": true,
    "language_regex": "^(?!(en)$).+$",
    "variant_regex": "",
    "addons": []
}