List and retrieve diffs with detailed revision information

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

{
    "id": 1081746,
    "revision": {
        "id": 494022,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83027a3af402dc048b85867c7ba6a41a941cd582",
        "head_changeset": "13bd43d6b5485671fbbd5a6bd53b89180b8c2d19",
        "phabricator_id": 256996,
        "phabricator_phid": "PHID-DREV-3aeljcrzyuaqtgjpskpx",
        "title": "Bug 1975002: Ensure we fully decode images before trying to use them in the Dock or Taskbar. r=#profiles-reviewers!",
        "bugzilla_id": 1975002,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494022/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494022/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256996"
    },
    "phid": "PHID-DIFF-azmtcdecuprrdmruyhr2",
    "review_task_id": "IuJIScyaQcST18tMA5doUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "66b0aa0d8a90628b05e32dee999e2540ec895bda",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081746/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T17:38:49.194960Z"
}