List and retrieve diffs with detailed revision information

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

{
    "id": 1079170,
    "revision": {
        "id": 491869,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ec37e9e63dec44e002d199dde9fccc50fd1a3f9f",
        "head_changeset": "fc480690d7fccdc7cbb3af27b909fbf4b047c005",
        "phabricator_id": 256387,
        "phabricator_phid": "PHID-DREV-r7gtpkhzlsz42ezhjxc6",
        "title": "Bug 1976086 - test(webgpu): remove expected `SKIP` in  `render_pass_descriptor` tests for full promotion r=#webgpu-reviewers!",
        "bugzilla_id": 1976086,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491869/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491869/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256387"
    },
    "phid": "PHID-DIFF-4lwlha7jtbjycvkm5tag",
    "review_task_id": "bscPmySTT1iRneVDUNztow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fc480690d7fccdc7cbb3af27b909fbf4b047c005",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079170/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T03:54:49.525370Z"
}