List and retrieve diffs with detailed revision information

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

{
    "id": 1074277,
    "revision": {
        "id": 486678,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f6d960e567bd265b1d2478c7ad6868b6872cd22",
        "head_changeset": "1786f97101c6a4c17df8048561844b64497bd265",
        "phabricator_id": 255287,
        "phabricator_phid": "PHID-DREV-cl3plnsmdksef3t3iokc",
        "title": "Bug 1974423 - Update test expectations for nested-root-capture-with-clip.html r=sasha,aryx",
        "bugzilla_id": 1974423,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486678/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486678/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255287"
    },
    "phid": "PHID-DIFF-vefokafdtjz3avzud4lm",
    "review_task_id": "A_rvAFLOTwe96ox9N5gibQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1786f97101c6a4c17df8048561844b64497bd265",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074277/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T12:50:06.638917Z"
}