List and retrieve diffs with detailed revision information

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

{
    "id": 1078316,
    "revision": {
        "id": 490978,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "91bae0c50768526e5fb630fbc75b1b4f9aa1f1a5",
        "head_changeset": "b72e6078b5c3d0a16d8389e7f85d683a818bc87d",
        "phabricator_id": 256147,
        "phabricator_phid": "PHID-DREV-yo3gbkqwi3w54heamvr3",
        "title": "Bug 1973093 - Use the C ABI for GetInstallationDirLayoutType. r=cdupuis,bytesized,mpohle",
        "bugzilla_id": 1973093,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490978/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490978/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256147"
    },
    "phid": "PHID-DIFF-f53qsrx5jdedjfdwlabi",
    "review_task_id": "NTBaRmf2QN6gYLDYubV7nw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b72e6078b5c3d0a16d8389e7f85d683a818bc87d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078316/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T22:10:40.310537Z"
}