List and retrieve diffs with detailed revision information

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

{
    "id": 1056116,
    "revision": {
        "id": 477771,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16b796694366904e440e7cd12171e4818cf308fa",
        "head_changeset": "c37a07a658728ea1116feedba02af929f47b7d7e",
        "phabricator_id": 252918,
        "phabricator_phid": "PHID-DREV-gsune6b2ovz42akntakk",
        "title": "Bug 1965515 - Part 3: Update downloads UI to support in progress downloads",
        "bugzilla_id": 1965515,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477771/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477771/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252918"
    },
    "phid": "PHID-DIFF-i6gsu427qb4cfwdufcqm",
    "review_task_id": "Zzw1B1xBSKutBzaGwWvmLg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c9c6e921096aa0b84b59d9993d5868ea40c06d4d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056116/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:39:31.011878Z"
}