List and retrieve diffs with detailed revision information

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

{
    "id": 1064706,
    "revision": {
        "id": 456111,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "bd064d9c7943721703a76ebd8d580d6031d84aa4",
        "phabricator_id": 238854,
        "phabricator_phid": "PHID-DREV-buhz3taq4segke57w7h5",
        "title": "WIP: Bug 1927886: mMaxMessageSize and mLocalPort are mainthread-only.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456111/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456111/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238854"
    },
    "phid": "PHID-DIFF-ozylicbmped272bu53rg",
    "review_task_id": "ShkFyWkZQLGpJI8PEMwdsA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "698d2518ebe08ee9e007a0644d4f6c3d942a9a03",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064706/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T02:35:03.064226Z"
}