List and retrieve diffs with detailed revision information

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

{
    "id": 1099876,
    "revision": {
        "id": 505538,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed28bde759c16860d3ee821ad3e4740150099212",
        "head_changeset": "39cfabf781e30a5d965a0c0f07004889667b53e8",
        "phabricator_id": 259654,
        "phabricator_phid": "PHID-DREV-uvvd3op2ot5tniafwn4k",
        "title": "Bug 1980681 - Use a default by-reference capture for lambda to make static analysis happy with newer STLs. r=asuth",
        "bugzilla_id": 1980681,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505538/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505538/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259654"
    },
    "phid": "PHID-DIFF-2cvg764htqlq7ovrhvl5",
    "review_task_id": "Le_TvVEVRyqMYvrYUSuZ_A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "39cfabf781e30a5d965a0c0f07004889667b53e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099876/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T22:29:54.754803Z"
}