List and retrieve diffs with detailed revision information

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

{
    "id": 1034262,
    "revision": {
        "id": 472813,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fd1beda699328f924cb5570bea485388759ecffa",
        "head_changeset": "239171a9e827f113ed573e4f05870c4b382d04a7",
        "phabricator_id": 245922,
        "phabricator_phid": "PHID-DREV-lc5b3cqkbwx6sfeurxry",
        "title": "Bug 949595 - [devtools] Implement bulk requests in protocol.js.",
        "bugzilla_id": 949595,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472813/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472813/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245922"
    },
    "phid": "PHID-DIFF-sbimr43f5cfbtuphoobh",
    "review_task_id": "R_hreghcTY2d18LAfoaCkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0db7bf113ced45eca645186e28915516135019a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1034262/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-15T09:19:48.168824Z"
}