List and retrieve diffs with detailed revision information

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

{
    "id": 1076369,
    "revision": {
        "id": 488699,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "90e2a010a152db151e20c54b9d8d4f6fdf3a6a31",
        "head_changeset": "f98172a532a7dddbc670bb86e38d255877d3f552",
        "phabricator_id": 255588,
        "phabricator_phid": "PHID-DREV-vhov7jtxdl5bjhcfif5n",
        "title": "WIP: Bug 1974892 - Update AVCC header of encoded data from WMF encoder when output stream's format changes",
        "bugzilla_id": 1974892,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488699/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488699/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255588"
    },
    "phid": "PHID-DIFF-s4auob6y6g63k4aktbuu",
    "review_task_id": "MbaCrfrsSUO3IvTKVRyDTA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "852fceeab8deda785b08dbd9e189cd15d2181f79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076369/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T00:20:29.135540Z"
}