List and retrieve diffs with detailed revision information

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

{
    "id": 1074585,
    "revision": {
        "id": 487191,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "628695e0ba6a9bd28f924d9e5166484506e44202",
        "head_changeset": "4e716ffb6b6b1408272f1f5e068b8f3ea8ba255d",
        "phabricator_id": 255374,
        "phabricator_phid": "PHID-DREV-lx6th44ymp4bud5732fn",
        "title": "WIP: Bug 1974184 - Switch default SDR mechanism to AES r?simonf",
        "bugzilla_id": 1974184,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487191/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487191/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255374"
    },
    "phid": "PHID-DIFF-mp34gwyx723jqzofheho",
    "review_task_id": "dlHy6PvKSEC0RZH6hKDtEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4e716ffb6b6b1408272f1f5e068b8f3ea8ba255d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074585/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T19:30:42.536960Z"
}