List and retrieve diffs with detailed revision information

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

{
    "id": 1049122,
    "revision": {
        "id": 476741,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3acb82b363d286d3ca3fe8b1f0191221eee345d2",
        "head_changeset": "3d048adb9900b7337f1eff76157dbbae8f281819",
        "phabricator_id": 251688,
        "phabricator_phid": "PHID-DREV-vcqpafl7jsae7ttmwps5",
        "title": "Bug 1968869 - QM: Optimize DirectoryLockImpl::LocksMustWaitForInternal; r=#dom-storage",
        "bugzilla_id": 1968869,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476741/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476741/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251688"
    },
    "phid": "PHID-DIFF-2a5vyushl3rh46vaz7yp",
    "review_task_id": "MuH-L7-5RQe16OqPc_lhkg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3d048adb9900b7337f1eff76157dbbae8f281819",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049122/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T10:27:50.957977Z"
}