List and retrieve diffs with detailed revision information

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

{
    "id": 1087006,
    "revision": {
        "id": 496200,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c383139ed9e43647556618602f728021f7245026",
        "head_changeset": "b9cd9b7ba0cae2eb42cdfd05528e636985955d2a",
        "phabricator_id": 257474,
        "phabricator_phid": "PHID-DREV-4klkcebvhk6t6mdcmllf",
        "title": "Bug 1977160 [HDR/Wayland] Create new transactions over detached or deleted WaylandBuffer r?emilio",
        "bugzilla_id": 1977160,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496200/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496200/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257474"
    },
    "phid": "PHID-DIFF-i67kofqc7eisusfwg6kf",
    "review_task_id": "XhQ4M-9gRn2Ryr29_DWE9g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b9cd9b7ba0cae2eb42cdfd05528e636985955d2a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087006/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T08:49:44.610030Z"
}