List and retrieve diffs with detailed revision information

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

{
    "id": 1112304,
    "revision": {
        "id": 503385,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac3187ad32b340a16b9b958134f73f81fa5bba8b",
        "head_changeset": "9cd64a1f03ba45fa5810ac89cf736f125d73f40e",
        "phabricator_id": 259110,
        "phabricator_phid": "PHID-DREV-q3y4xeyiydybjes3y6cr",
        "title": "Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r?hsohaney",
        "bugzilla_id": 1898356,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/503385/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/503385/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259110"
    },
    "phid": "PHID-DIFF-467uqcbqosjomup3ettn",
    "review_task_id": "ZLtda5T_SYqDm0NmEUrCCw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c890ffd195b36c06289fadf0b3d6eb79346374a9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112304/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:22:03.666377Z"
}