List and retrieve diffs with detailed revision information

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

{
    "id": 1088474,
    "revision": {
        "id": 497507,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92945a926acfec22172a5aaf83f0d4577eb3fbe6",
        "head_changeset": "b1abe00336ea3ba9ebc1d3256f22c845ad435054",
        "phabricator_id": 257787,
        "phabricator_phid": "PHID-DREV-cc7habdkfs4tz6yyekvs",
        "title": "Bug 1977878: Add the ability to create markers with a simple, typed payload. r=mstange",
        "bugzilla_id": 1977878,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497507/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497507/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257787"
    },
    "phid": "PHID-DIFF-7nh4e2lplumeda4o7inr",
    "review_task_id": "Yu29GSKdTBaAa-lqVziPrA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b1abe00336ea3ba9ebc1d3256f22c845ad435054",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088474/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T23:25:35.224516Z"
}