List and retrieve diffs with detailed revision information

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

{
    "id": 1111404,
    "revision": {
        "id": 498110,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "851ad0761b619ebf4b4982a18ab0bb627d7dd240",
        "head_changeset": "9113eb43d838484c1e5a4d1d2b832e83b2fe8d79",
        "phabricator_id": 257882,
        "phabricator_phid": "PHID-DREV-jxoiqhzqu3nvy2r44o4t",
        "title": "WIP: Bug 1969102 - Skip some libpref tests when socketprocess is in use r?gstoll!",
        "bugzilla_id": 1969102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498110/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498110/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257882"
    },
    "phid": "PHID-DIFF-ym442yxtrilmc36gt5r6",
    "review_task_id": "QhrIDe3ATK2AkyizZCqv4Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f349bf03288c5f741aa2a14b8cdd187b2efa844e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111404/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T21:22:20.312591Z"
}