List and retrieve diffs with detailed revision information

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

{
    "id": 1080564,
    "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-pp5sj5pwize5cmxl3wmh",
    "review_task_id": "aa5Odyu3REyciIeQbi8xOg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7109abff11bf014e05a659c03cdd62e684361b3d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080564/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T23:12:19.624512Z"
}