Translation components API.

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

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

{
    "name": "spins.fedoraproject.org",
    "slug": "spinsfedoraprojectorg",
    "id": 83,
    "source_language": {
        "id": 76,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 76,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "base",
            "en_en",
            "en_us",
            "eng",
            "enp",
            "source"
        ],
        "direction": "ltr",
        "population": 1728900209,
        "web_url": "https://translate.fedoraproject.org/languages/en/",
        "url": "https://translate.fedoraproject.org/api/languages/en/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "fedora-websites",
        "slug": "fedora-websites",
        "id": 28,
        "web": "https://pagure.io/fedora-websites/",
        "web_url": "https://translate.fedoraproject.org/projects/fedora-websites/",
        "url": "https://translate.fedoraproject.org/api/projects/fedora-websites/?format=api",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/components/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/repository/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/statistics/?format=api",
        "categories_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/categories/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/changes/?format=api",
        "languages_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/languages/?format=api",
        "labels_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/labels/?format=api",
        "credits_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/credits/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "\nMailing list for translators: <trans@lists.fedoraproject.org\n",
        "enable_hooks": true,
        "language_aliases": "",
        "enforced_2fa": false,
        "machinery_settings": "https://translate.fedoraproject.org/api/projects/fedora-websites/machinery_settings/?format=api"
    },
    "vcs": "git",
    "repo": "ssh://pagure.io/fedora-web/translations.git",
    "git_export": "",
    "branch": "master",
    "push_branch": "",
    "filemask": "spins.fedoraproject.org/*.po",
    "screenshot_filemask": "",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "spins.fedoraproject.org/spins.fedoraproject.org.pot",
    "file_format": "po",
    "license": "CC-BY-3.0",
    "license_url": "https://spdx.org/licenses/CC-BY-3.0.html",
    "agreement": "",
    "web_url": "https://translate.fedoraproject.org/projects/fedora-websites/spinsfedoraprojectorg/",
    "url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/?format=api",
    "repository_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/repository/?format=api",
    "translations_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/translations/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/statistics/?format=api",
    "lock_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/lock/?format=api",
    "links_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/links/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/changes/?format=api",
    "task_url": null,
    "credits_url": "https://translate.fedoraproject.org/api/components/fedora-websites/spinsfedoraprojectorg/credits/?format=api",
    "new_lang": "add",
    "language_code_style": "",
    "push": "ssh://pagure.io/fedora-web/translations.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\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
    "pull_message": "Translations update from {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n",
    "allow_translation_propagation": true,
    "manage_units": false,
    "enable_suggestions": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": true,
    "commit_pending_age": 24,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "key_filter": "",
    "variant_regex": "",
    "addons": [
        "https://translate.fedoraproject.org/api/addons/213/?format=api",
        "https://translate.fedoraproject.org/api/addons/216/?format=api",
        "https://translate.fedoraproject.org/api/addons/221/?format=api",
        "https://translate.fedoraproject.org/api/addons/218/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": "https://translate.fedoraproject.org/api/components/fedora-websites/altfedoraprojectorg/?format=api",
    "locked": true
}