List and retrieve diffs with detailed revision information

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

{
    "id": 1037680,
    "revision": {
        "id": 475597,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a9e5cb44e92ed60e665dbf340f1bcc797ca8671c",
        "head_changeset": "c8302e4e6812ebe6285f5840ade8785a757cbf67",
        "phabricator_id": 249998,
        "phabricator_phid": "PHID-DREV-ft7uqekkzh476wzyuk7e",
        "title": "Bug 1961489 - fix Empty string passed to getElementById() warnings due to missing row ids. r=freaktechnik",
        "bugzilla_id": 1961489,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475597/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475597/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249998"
    },
    "phid": "PHID-DIFF-s455jlcddrhnxattykv2",
    "review_task_id": "T1K9a3pbSGGy3XGqNdqb6A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c8302e4e6812ebe6285f5840ade8785a757cbf67",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037680/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T17:19:37.285531Z"
}