List and retrieve diffs with detailed revision information

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

{
    "id": 1081668,
    "revision": {
        "id": 494117,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "dbb99e01940683503f991db703b3b1c966eef447",
        "head_changeset": "15b13f1c49b1a9ff1d83368c25c9ccb86457cfb8",
        "phabricator_id": 257019,
        "phabricator_phid": "PHID-DREV-2zonidu6lqfk5k2qssra",
        "title": "Bug 1976894: After deleting 2 or more logins in a row, they should all disappear from the logins list",
        "bugzilla_id": 1976894,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494117/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494117/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257019"
    },
    "phid": "PHID-DIFF-5jxqqa4bmmdddto3bac6",
    "review_task_id": "Uusu6x0DQ4CiwGWYRZgLzw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "15b13f1c49b1a9ff1d83368c25c9ccb86457cfb8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081668/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:56:26.606145Z"
}