Units API.

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

GET /api/units/735609/?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/fi/?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": [
        "Tämä lisäosa siirtää tilausten tarkistuksen ulkoiseen järjestelmään SSO:n (Single Sign On) kaltaisella ratkaisulla. Kun OJS:lle tulee pyyntö, jossa on määritetty saapuvan parametrin nimi - tämän pitäisi olla parametri, jota OJS ei käytä sisäisesti - lisäosa ottaa yhteyttä tarkistusta varten määritettyyn URL-osoitteeseen, johon on liitetty parametrin arvo. Jos etäpalvelun tulos vastaa määritettyä säännöllistä lauseketta, käyttäjä katsotaan kelvolliseksi. Jos ei, käyttäjä ohjataan määritettyyn URL-osoitteeseen."
    ],
    "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": 735609,
    "web_url": "http://translate.pkp.sfu.ca/translate/plugins/subscription-sso-plugin/fi/?checksum=ddea002cee5565b6",
    "url": "http://translate.pkp.sfu.ca/api/units/735609/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2023-02-17T23:09:01.828890Z"
}