List and retrieve diffs with detailed revision information

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

{
    "id": 1077337,
    "revision": {
        "id": 489992,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c55aa1b93eb2cdea9c4ea65f56a8840a7d6a4c5e",
        "head_changeset": "78866277aa50b57060e5af953b81583c7be3e89c",
        "phabricator_id": 255950,
        "phabricator_phid": "PHID-DREV-zufnf7tlzffnxcpxmr2f",
        "title": "Bug 1975424 - Upgrade hyper crate to 0.14.32 r=#supply-chain-reviewers",
        "bugzilla_id": 1975424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489992/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489992/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255950"
    },
    "phid": "PHID-DIFF-omvctply5jzxm6jhocnu",
    "review_task_id": "We9vyGgpSI2DeNvxKR5PMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "78866277aa50b57060e5af953b81583c7be3e89c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077337/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T12:14:14.444005Z"
}