List and retrieve diffs with detailed revision information

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

{
    "id": 1096284,
    "revision": {
        "id": 474926,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1bc29dd1883acb15fce249f08500725e387da102",
        "head_changeset": "609fa6ed833641c850f66387fe4e0b1d74bbb7cb",
        "phabricator_id": 249111,
        "phabricator_phid": "PHID-DREV-4ddwfeemerm2jr5g7set",
        "title": "WIP: Bug 1965517: Move some nsTArrays to AutoTArrays r=#necko-reviewers!",
        "bugzilla_id": 1965517,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474926/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474926/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249111"
    },
    "phid": "PHID-DIFF-ddan3nkemgkchkqdnz64",
    "review_task_id": "KMRBQ0QtS5i15P7e-8nFRw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fdc3cdf55ba58629bfddb5155d26a07e9d4e416a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096284/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-26T03:52:27.375998Z"
}