List and retrieve diffs with detailed revision information

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

{
    "id": 1057410,
    "revision": {
        "id": 475984,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d9620022f8349eeb73a4c2636a8ea317ce9e3dbf",
        "head_changeset": "6f1c5e00bf5ccd0f8c0cd7af6f9bf75327514ecc",
        "phabricator_id": 250588,
        "phabricator_phid": "PHID-DREV-s3tmd4vnkr2hnnhaxg67",
        "title": "Bug 1967893 - emit outbound-rtp stats when in stable;r?bwc",
        "bugzilla_id": 1967893,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475984/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475984/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250588"
    },
    "phid": "PHID-DIFF-ty3i4iumxa7ajnkgtn6t",
    "review_task_id": "bmamxwuPShKFoLfBBat9yg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3127fd94b1203c74f08923dab7028a0c2c6546ae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057410/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T09:09:15.831621Z"
}