List and retrieve diffs with detailed revision information

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

{
    "id": 1081142,
    "revision": {
        "id": 492930,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d16a8e1b422fee675cac8b9e15f8b05a7de6766c",
        "head_changeset": "831525fe45084bbd3f38cb8ff5fbef0c99d8aff8",
        "phabricator_id": 256731,
        "phabricator_phid": "PHID-DREV-roxlspfemcl3cwp2b4iq",
        "title": "WIP: Bug 1957486 - Improve the UI and UX of folder reordering.",
        "bugzilla_id": 1957486,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492930/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492930/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256731"
    },
    "phid": "PHID-DIFF-w4qvj2evqe4v4ghgk3xz",
    "review_task_id": "XJ_-2MRyQpm_Nix07ebVFA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5944d9b0f7371807145c3614be32eb54dadf6f1f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081142/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T23:17:45.476908Z"
}