List and retrieve diffs with detailed revision information

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

{
    "id": 1076525,
    "revision": {
        "id": 489388,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a872d0d65a446bcca5f28e281523717e82f4fe63",
        "head_changeset": "f80ceb9ba68bab29549dbcb5173224faac15954d",
        "phabricator_id": 253060,
        "phabricator_phid": "PHID-DREV-bxkj37gb2337ya5zynxy",
        "title": "WIP: Bug 1973619 - [devtools] Open local page through http server using httpd.js.",
        "bugzilla_id": 1973619,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489388/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489388/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253060"
    },
    "phid": "PHID-DIFF-onp2nuhqd7nshth2dkxd",
    "review_task_id": "Xzq2ZowqSIec6FzLZPq5ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f80ceb9ba68bab29549dbcb5173224faac15954d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076525/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T09:51:14.734386Z"
}