List and retrieve diffs with detailed revision information

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

{
    "id": 1111128,
    "revision": {
        "id": 520149,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "7faf5ac616a10706527e97035bf17d1b8bfae278",
        "phabricator_id": 262177,
        "phabricator_phid": "PHID-DREV-zbenf6nzhdalzigurpre",
        "title": "Bug 1983551 - Update icon to add checkmark within the shield icon for the UTP trackers section when ETP is enabled. r=gl",
        "bugzilla_id": 1983551,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520149/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520149/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262177"
    },
    "phid": "PHID-DIFF-iwhzphu4cwzo2nqjzwtn",
    "review_task_id": "aSRiEZuJQ_G2BRXuOeZv8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7faf5ac616a10706527e97035bf17d1b8bfae278",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111128/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T16:04:59.643596Z"
}