List and retrieve diffs with detailed revision information

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

{
    "id": 1050338,
    "revision": {
        "id": 476994,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3a156007182a11892aee7b01a75409cf35d59be6",
        "head_changeset": "975a1c98c272bc7d388c4eafcfc207901350a4a1",
        "phabricator_id": 251976,
        "phabricator_phid": "PHID-DREV-6nljxgl5elmt5vwye6mr",
        "title": "Bug 1969603: Fix recursive deadlock in RTCTrpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz",
        "bugzilla_id": 1969603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476994/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476994/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251976"
    },
    "phid": "PHID-DIFF-tbcyhk5wslhgv7hpq5qx",
    "review_task_id": "C6IbRmaSRACCwNwA9CgzDQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "975a1c98c272bc7d388c4eafcfc207901350a4a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050338/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T01:01:52.018042Z"
}