List and retrieve diffs with detailed revision information

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

{
    "id": 1110501,
    "revision": {
        "id": 518677,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3109cc48fd95920c7d40587efd0e082ef203f304",
        "head_changeset": "c8727cb69fbd5b9f2fcb037120ecd8496ed3637c",
        "phabricator_id": 262201,
        "phabricator_phid": "PHID-DREV-j3mbxr4mnepnyquaf2cn",
        "title": "Bug 1983040 - Adding aria-pressed attribute support to moz-button. r=#reusable-components-reviewers-rotation",
        "bugzilla_id": 1983040,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518677/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518677/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262201"
    },
    "phid": "PHID-DIFF-n6kretis2pvd4ag3aq5z",
    "review_task_id": "EzT3y1vQS_WtfX0YVp4a7A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "603fc64018fbb9b8e70f493374cc08a13bfa0fc2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110501/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T21:31:00.689390Z"
}