Units API.

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

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

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_committers-guide/en/?format=api",
    "source": [
        "<prompt>%</prompt> <userinput>gpg --full-gen-key</userinput>\ngpg (GnuPG) 2.1.8; Copyright (C) 2015 Free Software Foundation, Inc.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWarning: using insecure memory!\nPlease select what kind of key you want:\n   (1) RSA and RSA (default)\n   (2) DSA and Elgamal\n   (3) DSA (sign only)\n   (4) RSA (sign only)\nYour selection? <userinput>1</userinput>\nRSA keys may be between 1024 and 4096 bits long.\nWhat keysize do you want? (2048) <userinput>2048</userinput>  <co xml:id=\"co-pgp-bits\"/>\nRequested keysize is 2048 bits\nPlease specify how long the key should be valid.\n\t 0 = key does not expire\n      &lt;n&gt;  = key expires in n days\n      &lt;n&gt;w = key expires in n weeks\n      &lt;n&gt;m = key expires in n months\n      &lt;n&gt;y = key expires in n years\nKey is valid for? (0) <userinput>3y</userinput>  <co xml:id=\"co-pgp-expire\"/>\nKey expires at Wed Nov  4 17:20:20 2015 MST\nIs this correct? (y/N) <userinput>y</userinput>\n\nGnuPG needs to construct a user ID to identify your key.\n\nReal name: <userinput><replaceable>Chucky Daemon</replaceable></userinput> <co xml:id=\"co-pgp-realname\"/>\nEmail address: <userinput><replaceable>notreal@example.com</replaceable></userinput>\nComment:\nYou selected this USER-ID:\n    \"<replaceable>Chucky Daemon &lt;notreal@example.com&gt;</replaceable>\"\n\nChange (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? <userinput>o</userinput>\nYou need a Passphrase to protect your secret key."
    ],
    "previous_source": "",
    "target": [
        "<prompt>%</prompt> <userinput>gpg --full-gen-key</userinput>\ngpg (GnuPG) 2.1.8; Copyright (C) 2015 Free Software Foundation, Inc.\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\nWarning: using insecure memory!\nPlease select what kind of key you want:\n   (1) RSA and RSA (default)\n   (2) DSA and Elgamal\n   (3) DSA (sign only)\n   (4) RSA (sign only)\nYour selection? <userinput>1</userinput>\nRSA keys may be between 1024 and 4096 bits long.\nWhat keysize do you want? (2048) <userinput>2048</userinput>  <co xml:id=\"co-pgp-bits\"/>\nRequested keysize is 2048 bits\nPlease specify how long the key should be valid.\n\t 0 = key does not expire\n      &lt;n&gt;  = key expires in n days\n      &lt;n&gt;w = key expires in n weeks\n      &lt;n&gt;m = key expires in n months\n      &lt;n&gt;y = key expires in n years\nKey is valid for? (0) <userinput>3y</userinput>  <co xml:id=\"co-pgp-expire\"/>\nKey expires at Wed Nov  4 17:20:20 2015 MST\nIs this correct? (y/N) <userinput>y</userinput>\n\nGnuPG needs to construct a user ID to identify your key.\n\nReal name: <userinput><replaceable>Chucky Daemon</replaceable></userinput> <co xml:id=\"co-pgp-realname\"/>\nEmail address: <userinput><replaceable>notreal@example.com</replaceable></userinput>\nComment:\nYou selected this USER-ID:\n    \"<replaceable>Chucky Daemon &lt;notreal@example.com&gt;</replaceable>\"\n\nChange (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? <userinput>o</userinput>\nYou need a Passphrase to protect your secret key."
    ],
    "id_hash": -3374674027556333506,
    "content_hash": -3374674027556333506,
    "location": "article.translate.xml:254",
    "context": "",
    "note": "(itstool) path: step/screen",
    "flags": "no-wrap",
    "labels": [],
    "state": 100,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 49,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 200,
    "source_unit": "https://translate-dev.freebsd.org/api/units/157144/?format=api",
    "priority": 100,
    "id": 157144,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_committers-guide/en/?checksum=512abfda0ac4983e",
    "url": "https://translate-dev.freebsd.org/api/units/157144/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2020-04-18T18:14:23.286845Z"
}