List and retrieve diffs with detailed revision information

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

{
    "id": 1078935,
    "revision": {
        "id": 478766,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d81e04d73b47470570574350b3908be206f2a02e",
        "head_changeset": "2bdd33822738448a1b4326a403b501d2c76e05b1",
        "phabricator_id": 253723,
        "phabricator_phid": "PHID-DREV-mqptqowqczkl2qg33pyg",
        "title": "Bug 1972093 - Fix video startup script inaccurate timings. r?#perftest",
        "bugzilla_id": 1972093,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478766/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478766/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253723"
    },
    "phid": "PHID-DIFF-cb2qtksgqby4bgtokkvt",
    "review_task_id": "X0iw9PtJTZufl7aueL_3VQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b537784354c0bc12c4d7b8645bd35d17ef0396c8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078935/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T18:33:25.251318Z"
}