List and retrieve diffs with detailed revision information

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

{
    "id": 1081322,
    "revision": {
        "id": 491372,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cddd67bf463482e2460e448f904218923e31f047",
        "head_changeset": "6adde9d19798e6c740865ed4edbde172b7ea49bf",
        "phabricator_id": 256234,
        "phabricator_phid": "PHID-DREV-3ozrupgdg4ew2fzakgw3",
        "title": "WIP: Bug 1975873 - update neqo to v0.14.0",
        "bugzilla_id": 1975873,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491372/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491372/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256234"
    },
    "phid": "PHID-DIFF-jey3ck4obfmthus2dnxt",
    "review_task_id": "WyCX8vwlTXe8KHVvP1D2yQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8577c741481ba2003df9cc06e31634e5eb790021",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081322/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T07:45:00.565475Z"
}