List and retrieve diffs with detailed revision information

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

{
    "id": 1064676,
    "revision": {
        "id": 476252,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "f5319569440f1561a47eb2ed02abc2cc7e14615a",
        "head_changeset": "6bfee4792405389958b2619badcf6f7b9511a9d1",
        "phabricator_id": 251086,
        "phabricator_phid": "PHID-DREV-trdp44znum25i6ehr37s",
        "title": "WIP: Bug 1679333 - Move FolderLookupService to C++.",
        "bugzilla_id": 1679333,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476252/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476252/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251086"
    },
    "phid": "PHID-DIFF-dyhazhfahtxrcjfzgqqy",
    "review_task_id": "J01hriYZQW2ftZ_theXECw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8117e8e1cb404e63ef47326b45f8d9d11b2d5f24",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064676/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T00:31:12.099773Z"
}