List and retrieve diffs with detailed revision information

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

{
    "id": 1054121,
    "revision": {
        "id": 477561,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5d81b94eed5370610d796912b0de4740cee8934d",
        "head_changeset": "e3cabd11408333773bdb95b8f48283c837b6bcd4",
        "phabricator_id": 252657,
        "phabricator_phid": "PHID-DREV-fjzwardearxki3hryk4e",
        "title": "Bug 1969339 - Remove scroll to jump back in section",
        "bugzilla_id": 1969339,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477561/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477561/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252657"
    },
    "phid": "PHID-DIFF-oeab5uc66sqqnoezwnva",
    "review_task_id": "brTcpSYhQRWeMDkA2VHdhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1b527c57a6030e93637a33c2b265adecad69bca3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054121/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T08:20:47.820517Z"
}