List and retrieve diffs with detailed revision information

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

{
    "id": 1105333,
    "revision": {
        "id": 511997,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "35f08993eef054b2f79282d1446ce7b5de67c3de",
        "head_changeset": "52a21b7b6123e00b362f9e45102a89a788d9da9c",
        "phabricator_id": 260928,
        "phabricator_phid": "PHID-DREV-owoebpgpipdeuqjgjbmy",
        "title": "Bug 1980783 - explicitly enable network.lna.blocking for browser_SitePermissions.js. r=emz,timhuang",
        "bugzilla_id": 1980783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511997/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511997/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260928"
    },
    "phid": "PHID-DIFF-zn6rgfx4dhav3jowpoox",
    "review_task_id": "JIvZOgHqTJ-h-DTYP9DpBQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b5c059c4a9baddfcef8e7e44f365a60adad8f32c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105333/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T13:47:37.443644Z"
}