Units API.

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

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

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-iplb/master/fr/?format=api",
    "source": [
        "</p><p><b><big>request</big> = \"</b><i>uri to requested object</i><b>\"</b>\n</p><p>This object will be requested each checkinterval seconds on each real server. The string must be inside quotes. Note that this string may be overridden by\nan optional per real-server based request-string.\n</p><p>For a <small>DNS</small> check this should the name of an A record, or the address of a <small>PTR</small> record to look up.\n</p><p>For a MySQL, Oracle or PostgeSQL check, this should be an <small>SQL</small> query. The data returned is not checked, only that the answer is one or more\nrows. This is a required setting.\n</p><p>For a simpletcp check, this string is sent verbatim except any occurances of \n are replaced with a new line character.\n\n\n"
    ],
    "previous_source": "",
    "target": [
        "</p><p><b><big>request</big> = \"</b><i>URI_objet demandé</i><b>\"</b>\n</p><p>Cet objet sera demandé à chaque intervalle de vérification sur chaque serveur réel. La chaîne doit être placée entre guillemets. Notez que cette chaîne peut être remplacée par\nune chaîne request facultative basée sur le serveur réel.\n</p><p>Pour une vérification <small>DNS</small>, il doit s'agit du nom d'un enregistrement A, ou de l'adresse d'un enregistrement <small>PTR</small> à rechercher.\n</p><p>Pour une vérification MySQL, Oracle ou PostgeSQL, il doit s'agir d'une requête <small>SQL</small>. Les données renvoyées ne sont pas vérifiées ; seul le nombre de lignes de la réponse est vérifié (réponse sur une ou plusieurs \nlignes). Ce paramètre est obligatoire.\n</p><p>Pour une vérification simpletcp, cette chaîne est envoyée telle quelle, mais les occurrences de \nsont remplacées par un caractère représentant une nouvelle ligne.\n\n\n"
    ],
    "id_hash": 7901927495884948288,
    "content_hash": 7901927495884948288,
    "location": "src/include/iplb/helps.rb:202",
    "context": "",
    "note": "",
    "flags": "",
    "state": 30,
    "fuzzy": false,
    "translated": true,
    "approved": true,
    "position": 52,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 113,
    "source_unit": "https://l10n.opensuse.org/api/units/12576920/?format=api",
    "priority": 100,
    "id": 7664074,
    "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/fr/?checksum=eda94930f91d4340",
    "url": "https://l10n.opensuse.org/api/units/7664074/?format=api",
    "explanation": "",
    "extra_flags": ""
}