List and retrieve diffs with detailed revision information

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

{
    "id": 1052524,
    "revision": {
        "id": 477385,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "970a9c1d815c5dcf4b9e84bb23952d1caa83e2fe",
        "head_changeset": "49f8a043e96461c41fd03a9e743f66225559907a",
        "phabricator_id": 252462,
        "phabricator_phid": "PHID-DREV-56tbmckbtcl3fyvpepun",
        "title": "Bug 1970274 - set the test.wait300msAfterTabSwitch pref in toolkit/modules/tests/browser/browser_LayoutUtils.js to silence frequent failures, r=jmaher.",
        "bugzilla_id": 1970274,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477385/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477385/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252462"
    },
    "phid": "PHID-DIFF-5xepdgapobl56vrbxynl",
    "review_task_id": "XnbyGrXGQ8W9Rx-3E2ZWLg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "49f8a043e96461c41fd03a9e743f66225559907a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052524/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T10:25:51.835928Z"
}