List and retrieve diffs with detailed revision information

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

{
    "id": 1094537,
    "revision": {
        "id": 497306,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2945b847a815c838524ee98db55980903b7d6d46",
        "head_changeset": "f86d4fb42b3540887090ab577827ff17d2f4fcb9",
        "phabricator_id": 257754,
        "phabricator_phid": "PHID-DREV-erkciimzioiv4ltyp6tf",
        "title": "WIP: Bug 1964564 - Add new custom actions that let user override geckoprofiler presets in CI. r?#perftest",
        "bugzilla_id": 1964564,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497306/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497306/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257754"
    },
    "phid": "PHID-DIFF-kc5y7e624pmycdzro7we",
    "review_task_id": "AOBQ59sQS_a4hNLWlwK0ew",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "73b07067c4fe9f1f3ff207963805def88c12b36b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094537/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T17:46:33.421805Z"
}