List and retrieve diffs with detailed revision information

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

{
    "id": 1049756,
    "revision": {
        "id": 476729,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "95621fb083ddc8ba5cbbb1ba1ab8cd21c18fb3c8",
        "head_changeset": "585e95a0f744a6a8f7d2e65a1a5e0b51e6c47fbd",
        "phabricator_id": 251221,
        "phabricator_phid": "PHID-DREV-k3qxgi345zdgc5nqhot2",
        "title": "Bug 1968592 - Fix `test_site_activation.py` test in CI after `uv` enable r?#build",
        "bugzilla_id": 1968592,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476729/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476729/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251221"
    },
    "phid": "PHID-DIFF-t4esbyh6ekqtdgjgfm5l",
    "review_task_id": "JszfsQoNQcqx1bMU1wG5Vg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0492ea24b4073654db2668bac5e7fdf0da320153",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049756/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:49:40.670531Z"
}