List and retrieve diffs with detailed revision information

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

{
    "id": 1051081,
    "revision": {
        "id": 477080,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0cccbfe261f5e25e6c795aed49789b1101eed5ec",
        "head_changeset": "ec4ecd916976f176f2470631e15de4b712ba1c71",
        "phabricator_id": 252141,
        "phabricator_phid": "PHID-DREV-jezrnpj3ow33a7d6rwdl",
        "title": "Bug 1968194 - Revert test expectations r=farre",
        "bugzilla_id": 1968194,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477080/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477080/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252141"
    },
    "phid": "PHID-DIFF-nwubfhtgdyrserjypseh",
    "review_task_id": "e_OdwtFhRzWLwT-5U289mw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "110ea11778f90f5fd00b575d911642c64827e7b0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051081/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T15:09:45.043816Z"
}