List and retrieve diffs with detailed revision information

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

{
    "id": 1112317,
    "revision": {
        "id": 521418,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b8a13cb337cf8278f0343e3df2be1e3c8bad748",
        "head_changeset": "40976213be8f6b00040545fb249b94879a5a2c07",
        "phabricator_id": 262680,
        "phabricator_phid": "PHID-DREV-5b2j5v25wt3lf572yrpn",
        "title": "Bug 1982970 - Fix bad assertion in the prefs test on release branch - the launcher needs to be shown before examining its contents.",
        "bugzilla_id": 1982970,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521418/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521418/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262680"
    },
    "phid": "PHID-DIFF-vrnetwc2oy3ik5qfsrwv",
    "review_task_id": "MnebcHJoQrqVhKVnHOyO4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "40976213be8f6b00040545fb249b94879a5a2c07",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112317/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:59:23.997000Z"
}