List and retrieve diffs with detailed revision information

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

{
    "id": 1078181,
    "revision": {
        "id": 476210,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b40023655af038a8c54e9746e8c23b3f02d847f6",
        "head_changeset": "acb97b3ea3d329c06f844dc83c8d1084a159e661",
        "phabricator_id": 251032,
        "phabricator_phid": "PHID-DREV-6l7ucvqrsqzkkhabuaao",
        "title": "WIP: Bug 198090 - Part 3: Add migration to reencrypt all logins with AES r?simonf",
        "bugzilla_id": 198090,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476210/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476210/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251032"
    },
    "phid": "PHID-DIFF-isbb2hen4tpczxe35cno",
    "review_task_id": "VeEFOyzrSa-KwQrbpp9g0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b288498e7fb71d3b5a84eaa2bb2777e125fe4b66",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078181/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T16:42:00.485100Z"
}