List and retrieve diffs with detailed revision information

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

{
    "id": 1088075,
    "revision": {
        "id": 497083,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c532163bc3da0e38ceb6074587335c4b91f7077b",
        "head_changeset": "d290808db99b8fb2586085ae0d3f356e8529260c",
        "phabricator_id": 257696,
        "phabricator_phid": "PHID-DREV-vfxzhn3zkid7qp72z4zy",
        "title": "Bug 1973629 - Setup the mochitest_options mock properly in mozperftest unit tests. r?#perftest",
        "bugzilla_id": 1973629,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497083/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497083/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257696"
    },
    "phid": "PHID-DIFF-tjqyqly22fizwm57kddk",
    "review_task_id": "fZIb8hugS4qjqQ81QSRccA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d290808db99b8fb2586085ae0d3f356e8529260c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088075/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T13:57:15.352153Z"
}