List and retrieve diffs with detailed revision information

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

{
    "id": 1112357,
    "revision": {
        "id": 521434,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "c44d855ad008d8bf9f00ff011e57b21dff8a6bb3",
        "phabricator_id": 262693,
        "phabricator_phid": "PHID-DREV-wrev3jlc62t364vbdmtz",
        "title": "Bug 1985398 - Add a ensureSidebarLauncherIsVisible test helper and use it to show the launcher when testing tools customization.",
        "bugzilla_id": 1985398,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521434/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521434/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262693"
    },
    "phid": "PHID-DIFF-yl5mfhaky6ji2upcnxdf",
    "review_task_id": "cBRJLxPiTweqMrBzdJuxkw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c44d855ad008d8bf9f00ff011e57b21dff8a6bb3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112357/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:09:48.596549Z"
}