Units API.

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

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

{
    "translation": "https://translate.checkmk.com/api/translations/checkmk/stable/ko/?format=api",
    "source": [
        "<p>Here you can specify a list of filename patterns to be sent by the agent in the section <tt>fileinfo</tt>. Use globbing patterns like <tt>C:\\foo\\*.log</tt> or <tt>/var/*/*.log</tt> here. Per default each found file will be monitored for size and age. By building groups you can alternatively monitor a collection of files as an entity and monitor the count, total size, the largest, smallest oldest or newest file. Note: if you specify more than one matching rule, then <b>all</b> matching rules will be used for defining pattern - not just the  first one.</p><p>On Linux the variable $DATE:format-spec$ can be used for the current time/date, where format-spec is a list of time format directives of the unix  date command. Example: $DATE:%Y%m%d$ is todays date, in the format YYYYMMDD. Using this option the agent will only send files containing the current date. Date variables can be used together with the rules File Grouping Patterns and Size, age and count of file groups to monitor if files are created in a directory on a daily basis. Note that the Option Only check during the following times of the day should be set. Otherwise a warning may be displayed if the file for the current day is not present yet.</p>"
    ],
    "previous_source": "",
    "target": [
        ""
    ],
    "id_hash": 5158656943930809430,
    "content_hash": 5158656943930809430,
    "location": "cmk/gui/cee/plugins/wato/agent_bakery/rulespecs/fileinfo.py:19",
    "context": "",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 0,
    "fuzzy": false,
    "translated": false,
    "approved": false,
    "position": 379,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 204,
    "source_unit": "https://translate.checkmk.com/api/units/2153750/?format=api",
    "priority": 100,
    "id": 2290680,
    "web_url": "https://translate.checkmk.com/translate/checkmk/stable/ko/?checksum=c7973b28a5191c56",
    "url": "https://translate.checkmk.com/api/units/2290680/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-02-27T08:36:34.019184Z"
}