Units API.

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

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

{
    "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-system-administrat/f29pagesbasic-system-configurationmanaging_users_and_groups/hi/?format=api",
    "source": [
        "|Option|Description\n|[option]`-c`pass:attributes[{blank}] 'pass:attributes[{blank}]_comment_pass:attributes[{blank}]'|_comment_ can be replaced with any string. This option is generally used to specify the full name of a user.\n|[option]`-d`pass:attributes[{blank}] pass:attributes[{blank}]_home_directory_|Home directory to be used instead of default `/home/pass:attributes[{blank}]_username_pass:attributes[{blank}]/`.\n|[option]`-e`pass:attributes[{blank}] pass:attributes[{blank}]_date_|Date for the account to be disabled in the format YYYY-MM-DD.\n|[option]`-f`pass:attributes[{blank}] pass:attributes[{blank}]_days_|Number of days after the password expires until the account is disabled. If `0` is specified, the account is disabled immediately after the password expires. If `-1` is specified, the account is not disabled after the password expires.\n|[option]`-g`pass:attributes[{blank}] pass:attributes[{blank}]_group_name_|Group name or group number for the user's default (primary) group. The group must exist prior to being specified here.\n|[option]`-G`pass:attributes[{blank}] pass:attributes[{blank}]_group_list_|List of additional (supplementary, other than default) group names or group numbers, separated by commas, of which the user is a member. The groups must exist prior to being specified here.\n|[option]`-m`|Create the home directory if it does not exist.\n|[option]`-M`|Do not create the home directory.\n|[option]`-N`|Do not create a user private group for the user.\n|[option]`-p`pass:attributes[{blank}] pass:attributes[{blank}]_password_|The password encrypted with [command]#crypt#.\n|[option]`-r`|Create a system account with a UID less than 1000 and without a home directory.\n|[option]`-s`|User's login shell, which defaults to [command]#/bin/bash#.\n|[option]`-u`pass:attributes[{blank}] pass:attributes[{blank}]_uid_|User ID for the user, which must be unique and greater than 999.\n"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": -5460927372980566459,
    "content_hash": -5460927372980566459,
    "location": "./pages/basic-system-configuration/Managing_Users_and_Groups.adoc:132",
    "context": "",
    "note": "type: Table",
    "flags": "no-wrap",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 43,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 203,
    "source_unit": "https://translate.fedoraproject.org/api/units/885172/?format=api",
    "priority": 100,
    "id": 17886681,
    "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-system-administrat/f29pagesbasic-system-configurationmanaging_users_and_groups/hi/?checksum=3436e37ccd494645",
    "url": "https://translate.fedoraproject.org/api/units/17886681/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2024-05-09T23:38:23.111317Z"
}