List and retrieve diffs with detailed revision information

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

{
    "id": 1057471,
    "revision": {
        "id": 477659,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f1aa8c54040bec072d65fdf95379df132204410c",
        "head_changeset": "a2d3670d8307fecf1edddedd84209917c6a5841f",
        "phabricator_id": 252780,
        "phabricator_phid": "PHID-DREV-jbnenq3c7vzbneopiuqj",
        "title": "Bug 1967878 - part 2: Make `PresShell` synthesize `ePointerMove` separately from `eMouseMove` r=edgar!,smaug!,#dom-core",
        "bugzilla_id": 1967878,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477659/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477659/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252780"
    },
    "phid": "PHID-DIFF-nxdpxwyqorqvt2c5wp3f",
    "review_task_id": "IL91PPH9SLO2DW8IQTGOmw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a8de14e8fa7efc4bf9e9c88a3ac3d236942754c4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057471/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T11:04:30.422875Z"
}