List and retrieve diffs with detailed revision information

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

{
    "id": 1056381,
    "revision": {
        "id": 478080,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ebd8c421108cdbec416cc0059ac5b959636650b4",
        "head_changeset": "d5755a9794e8fb7d125c9a9dbfd29a5637dc44dd",
        "phabricator_id": 253271,
        "phabricator_phid": "PHID-DREV-uqq4ychcmc4luebdkzlz",
        "title": "Bug 1968124 - Remove pktUI.js and panels directory",
        "bugzilla_id": 1968124,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478080/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478080/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253271"
    },
    "phid": "PHID-DIFF-ipan3sxsjbao5rqpsf5u",
    "review_task_id": "YViPMk35Rs6AXUui1jeFFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d5755a9794e8fb7d125c9a9dbfd29a5637dc44dd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056381/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:10:46.451785Z"
}