List and retrieve diffs with detailed revision information

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

{
    "id": 1050716,
    "revision": {
        "id": 474006,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a12e3d284f995bbe112d7e86a570e6f3ea9e6de",
        "head_changeset": "8d215ee89b3f74c2c94ff26f84fe155f77900356",
        "phabricator_id": 214519,
        "phabricator_phid": "PHID-DREV-ur3bvjciv6n4fwv23nnz",
        "title": "WIP: Bug 1892411 - [devtools] Prevent listening to all docshells events unless the window global target is the parent process one.",
        "bugzilla_id": 1892411,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474006/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474006/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214519"
    },
    "phid": "PHID-DIFF-o6y3luuw7iwrg6w42zmj",
    "review_task_id": "UwQyMxF3RCq_aLi5aOppJQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9993078848176c7199c2488c5d86e7f297a8794e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050716/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T09:12:30.334566Z"
}