List and retrieve diffs with detailed revision information

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

{
    "id": 1079867,
    "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-3cfringx76r6p5uwkghl",
    "review_task_id": "XcuMolnVTLu8DrUbhvuVbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5a106ee2115c42b48f45a67477ad1e635793cdc3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079867/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T01:30:05.105294Z"
}