List and retrieve diffs with detailed revision information

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

{
    "id": 1049943,
    "revision": {
        "id": 476883,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "70e1a3290bf935b6a412d24e96cf7f1659335b27",
        "head_changeset": "d18aa6b6a14a11559b29683a1f5b2ae09e1c6d36",
        "phabricator_id": 251873,
        "phabricator_phid": "PHID-DREV-rcipfeh5nzr3ihn5ansp",
        "title": "Bug 1969446 - Reverse the order in which the crash helper processes incoming events r=afranchuk",
        "bugzilla_id": 1969446,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476883/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476883/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251873"
    },
    "phid": "PHID-DIFF-2xuj42gp7dvf27pecpwb",
    "review_task_id": "fAm-IIizRbig6O378WQlsQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d18aa6b6a14a11559b29683a1f5b2ae09e1c6d36",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049943/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T13:38:55.257406Z"
}