List and retrieve diffs with detailed revision information

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

{
    "id": 1080404,
    "revision": {
        "id": 492100,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f37e0cb10655f67057a313d18c34f5dcccaec4fc",
        "head_changeset": "c1b73558c1dccec5f0d00bcb84bed226c5dea4b8",
        "phabricator_id": 256447,
        "phabricator_phid": "PHID-DREV-kv2nlngifguze7mbjq6u",
        "title": "Bug 1975866 - Fix passing paths to 'mach mochitest' to run just the tests at the path, not all tests. r?jmaher!",
        "bugzilla_id": 1975866,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492100/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492100/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256447"
    },
    "phid": "PHID-DIFF-ljaxwaodvnc6wkztao5p",
    "review_task_id": "LsReWdjvSImrexZ5bpGRXw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "04ca587129d93905c341033c4d7b4ea1dff03832",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080404/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T19:18:53.830345Z"
}