List and retrieve diffs with detailed revision information

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

{
    "id": 1079272,
    "revision": {
        "id": 489984,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3cb70ba8e88ad780dd8c54a494d0a6a7c4c6041e",
        "head_changeset": "a27433005bd8204b050548bfaec3210636076f7b",
        "phabricator_id": 255941,
        "phabricator_phid": "PHID-DREV-avnjttxoaxoekijkgmkn",
        "title": "Bug 1966881 - Part 3: Add tests for the review prompt changes in HomeFragment",
        "bugzilla_id": 1966881,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489984/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489984/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255941"
    },
    "phid": "PHID-DIFF-3ggfzia2qvqayw74jp5e",
    "review_task_id": "L-cELC-UTe6ZihWnqYAWvA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d10ba01be86df6a9676b1c7aae67ac84b26988ce",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079272/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T09:26:30.482012Z"
}