Units API.

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

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

{
    "translation": "http://translate.pkp.sfu.ca/api/translations/plugins/subscription-sso-plugin/de/?format=api",
    "source": [
        "This plugin delegates subscription checking to an external system for SSO (Single Sign On)-like behavior. When a request comes to OJS with the incoming parameter name specified -- this should be a parameter that OJS does not use internally -- the plugin will contact the verification URL with the value of the parameter appended. If the remote service's result matches the specified regular expression, the user will be considered valid. If not, the user will be redirected to the specified URL."
    ],
    "previous_source": "",
    "target": [
        "Dieses Plugin delegiert die Überprüfung von Abonnements an ein externes System für SSO-ähnliches Verhalten (Single Sign On). Wenn eine Anfrage mit einem eingehenden Parameternamen an OJS gesendet wird – dies sollte ein Parameter sein, den OJS intern nicht verwendet –, kontaktiert das Plugin die Verifizierungs-URL mit dem angehängten Wert des Parameters. Wenn das Ergebnis des Remote-Dienstes mit dem angegebenen regulären Ausdruck übereinstimmt, wird der/die Benutzer/in als gültig angesehen. Ist dies nicht der Fall, wird der/die Benutzer/in zur angegebenen URL weitergeleitet."
    ],
    "id_hash": 6767221583054726582,
    "content_hash": 5362453942133849156,
    "location": "",
    "context": "plugins.generic.subscriptionSSO.description",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 2,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 81,
    "source_unit": "http://translate.pkp.sfu.ca/api/units/410103/?format=api",
    "priority": 100,
    "id": 989173,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/subscription-sso-plugin/de/?checksum=ddea002cee5565b6",
    "url": "http://translate.pkp.sfu.ca/api/units/989173/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-10-27T12:37:57.145689Z"
}