List and retrieve diffs with detailed revision information

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

{
    "id": 1111540,
    "revision": {
        "id": 520691,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "182ca4b850bc8193d155230b5eb00240595d512a",
        "head_changeset": "cde9229680d7ec9191b79970969d97e49ed3b3cc",
        "phabricator_id": 262524,
        "phabricator_phid": "PHID-DREV-krpnf6jtnfe5kidwsweq",
        "title": "Bug 1985177 - Update ipProtection enabled Nimbus variable to set the user branch pref. r=#ip-protection-reviewers",
        "bugzilla_id": 1985177,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520691/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520691/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262524"
    },
    "phid": "PHID-DIFF-oqwfonlhnyyvkyagxucy",
    "review_task_id": "ett5Nn5tTRS4OQWWnMPiMw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cde9229680d7ec9191b79970969d97e49ed3b3cc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111540/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T01:32:14.238496Z"
}