List and retrieve diffs with detailed revision information

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

{
    "id": 1036184,
    "revision": {
        "id": 475457,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "203bf96e01415cd453dd20950a07eb4416103d3b",
        "phabricator_id": 249899,
        "phabricator_phid": "PHID-DREV-yfeeskcs5olc7f7laeco",
        "title": "WIP: Bug 1961386 - Substitute timer local mGeneration with TimerThread global sequence. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475457/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475457/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249899"
    },
    "phid": "PHID-DIFF-m7jumi26jcumkgnotozj",
    "review_task_id": "EG0KTNqvSlKUmJD8G1y0Vw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "035465ff32af57ca0961d91a45711420f7620081",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036184/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T10:10:18.945359Z"
}