List and retrieve diffs with detailed revision information

GET /v1/diff/1039140/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1039140,
    "revision": {
        "id": 475529,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4a523505fb86d262d33a40e92ce80198f1301f71",
        "head_changeset": "642d7e2afbcfabbb55405ca03c1bca836150e772",
        "phabricator_id": 249976,
        "phabricator_phid": "PHID-DREV-2iei67xd2zapxkku6rcd",
        "title": "Bug 1820252 - Allow some HTML elements to translate as text r=#translations-reviewers!",
        "bugzilla_id": 1820252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475529/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475529/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249976"
    },
    "phid": "PHID-DIFF-jjadwnlwphsvf4zb2ilx",
    "review_task_id": "dXYGjteLTLmJwbV2I03gmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e78bdb2acfdadb95fba113651bbe4a25c14bcfe8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039140/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T22:30:57.618764Z"
}