List and retrieve diffs with detailed revision information

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

{
    "id": 1035099,
    "revision": {
        "id": 470820,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "931a44705ab388cc72fd492e051ceda0a2827743",
        "head_changeset": "7a0137bb0f92a072dc8acd83fc67929f8d58d728",
        "phabricator_id": 243404,
        "phabricator_phid": "PHID-DREV-76idx6ambnxttrc653fx",
        "title": "Bug 1550462 - part 2: Make `PresShell::HandleEvent` dispatch preceding `pointerrawupdate` event r=smaug!",
        "bugzilla_id": 1550462,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/470820/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/470820/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243404"
    },
    "phid": "PHID-DIFF-gc4gbvfnyc3kdh267xbz",
    "review_task_id": "DzD1GKQTQ_6y41w0uklDfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8de125de95bcfb5bc00b78de8935787679041cfb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035099/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T08:22:45.381495Z"
}