List and retrieve diffs with detailed revision information

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

{
    "id": 1052773,
    "revision": {
        "id": 477436,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "89ce6f44d949467a7bc081be82c077dec50d3a2b",
        "head_changeset": "28ddc39ef9357b2461b7a435e73401237ce18e40",
        "phabricator_id": 252522,
        "phabricator_phid": "PHID-DREV-vqteaa7yuzjhit5n6jpb",
        "title": "Bug 1970269 - set the test.wait300msAfterTabSwitch pref in browser_contextmenu_cross_boundary_selection.js that fails frequently on test-macosx1500-aarch64-shippable, r=jmaher.",
        "bugzilla_id": 1970269,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477436/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477436/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252522"
    },
    "phid": "PHID-DIFF-7x4e3gbhu44sdjdq5462",
    "review_task_id": "e0yp-wZIQWGdrKvd15sllQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "28ddc39ef9357b2461b7a435e73401237ce18e40",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052773/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:12:43.719858Z"
}