List and retrieve diffs with detailed revision information

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

{
    "id": 1087312,
    "revision": {
        "id": 491645,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "600a62077d55a1a5b0bd90bb64aa8eccb3147c69",
        "phabricator_id": 256356,
        "phabricator_phid": "PHID-DREV-azshzu7zp5ueeljyime7",
        "title": "WIP: Bug 1965058 - Part 2: Disable moz-button if it's parentDisabled r?#recom-reviewers",
        "bugzilla_id": 1965058,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491645/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491645/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256356"
    },
    "phid": "PHID-DIFF-73cnhi7jkxlsxjzyyg47",
    "review_task_id": "bEo9Y9ZTRlCn_FnM3XB-qg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5d1e0155a326784eca0ea99296123e715be4db4b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087312/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T16:31:26.591291Z"
}