List and retrieve diffs with detailed revision information

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

{
    "id": 1053306,
    "revision": {
        "id": 477532,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7cd053439a28afaf08c66b1864a91de8686b242b",
        "head_changeset": "9848030687f73194567ed48f4c27ca9dadc7f051",
        "phabricator_id": 252622,
        "phabricator_phid": "PHID-DREV-au42lfzu3wacnfsfcoiv",
        "title": "Bug 1970483 - Make `sPointerCapturingElementAtLastPointerUpEvent` a pointer to `nsWeakPtr` r=smaug!",
        "bugzilla_id": 1970483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477532/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477532/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252622"
    },
    "phid": "PHID-DIFF-ge4l5m4fw5yu54bmoezv",
    "review_task_id": "DdDlITvURySIM3DIHO77ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9848030687f73194567ed48f4c27ca9dadc7f051",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053306/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T04:45:33.504199Z"
}