Translation components API.

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

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

{
    "name": "Mapotempo App",
    "slug": "mapotempo-web",
    "id": 2,
    "source_language": {
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 94,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "web_url": "http://translate.mapotempo.com/languages/fr/",
        "url": "http://translate.mapotempo.com/api/languages/fr/?format=api",
        "statistics_url": "http://translate.mapotempo.com/api/languages/fr/statistics/?format=api"
    },
    "project": {
        "name": "Mapotempo App",
        "slug": "mapotempo-web",
        "id": 1,
        "web": "https://app.mapotempo.com",
        "web_url": "http://translate.mapotempo.com/projects/mapotempo-web/",
        "url": "http://translate.mapotempo.com/api/projects/mapotempo-web/?format=api",
        "components_list_url": "http://translate.mapotempo.com/api/projects/mapotempo-web/components/?format=api",
        "repository_url": "http://translate.mapotempo.com/api/projects/mapotempo-web/repository/?format=api",
        "statistics_url": "http://translate.mapotempo.com/api/projects/mapotempo-web/statistics/?format=api",
        "changes_list_url": "http://translate.mapotempo.com/api/projects/mapotempo-web/changes/?format=api",
        "languages_url": "http://translate.mapotempo.com/api/projects/mapotempo-web/languages/?format=api"
    },
    "vcs": "git",
    "repo": "git@gitlab.com:Mapotempo/mapotempo-web.git",
    "git_export": "http://translate.mapotempo.com/git/mapotempo-web/mapotempo-web/",
    "branch": "dev",
    "push_branch": "dev",
    "filemask": "config/locales/*.yml",
    "template": "config/locales/fr.yml",
    "edit_template": true,
    "intermediate": "",
    "new_base": "config/locales/en.yml",
    "file_format": "ruby-yaml",
    "license": "",
    "license_url": null,
    "agreement": "",
    "web_url": "http://translate.mapotempo.com/projects/mapotempo-web/mapotempo-web/",
    "url": "http://translate.mapotempo.com/api/components/mapotempo-web/mapotempo-web/?format=api",
    "repository_url": "http://translate.mapotempo.com/api/components/mapotempo-web/mapotempo-web/repository/?format=api",
    "translations_url": "http://translate.mapotempo.com/api/components/mapotempo-web/mapotempo-web/translations/?format=api",
    "statistics_url": "http://translate.mapotempo.com/api/components/mapotempo-web/mapotempo-web/statistics/?format=api",
    "lock_url": "http://translate.mapotempo.com/api/components/mapotempo-web/mapotempo-web/lock/?format=api",
    "changes_list_url": "http://translate.mapotempo.com/api/components/mapotempo-web/mapotempo-web/changes/?format=api",
    "new_lang": "add",
    "language_code_style": "",
    "push": "git@gitlab.com:Mapotempo/mapotempo-web.git",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": "",
    "restricted": false,
    "repoweb": "https://gitlab.com/mapotempo/mapotempo-web/-/blob/{{branch}}/{{filename}}#L{{line}}",
    "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 \"{{ hook_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": "^[^.]+$",
    "variant_regex": ""
}