List and retrieve diffs with detailed revision information

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

{
    "id": 1050407,
    "revision": {
        "id": 475453,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "4e7edf2e643e31c75dd8d7b579fe75d72a6d0784",
        "phabricator_id": 249898,
        "phabricator_phid": "PHID-DREV-t2boehnb6wotzpheekxh",
        "title": "WIP: Bug 1961386 - Add MOZ_GUARDED_BY to mTimeout in nsTimerImpl. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475453/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475453/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249898"
    },
    "phid": "PHID-DIFF-b7xiyra3mcwnab7z2jyr",
    "review_task_id": "Xzb96r8mSi-ndCkbFSaB2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9cbadb38870360fc887bafee5f67bd7a03fcb57e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050407/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T09:19:21.509294Z"
}