List and retrieve diffs with detailed revision information

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

{
    "id": 1078968,
    "revision": {
        "id": 490418,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bf0dc1d01968d439cb59b13a654a5e5059a84252",
        "head_changeset": "78bc7dedb49bdd99ad529345134af1caf08029f4",
        "phabricator_id": 256038,
        "phabricator_phid": "PHID-DREV-gzhasvh3bca4672h2a2n",
        "title": "Bug 1973516 - Consolidate Macrobenchmark test names for BaselineProfilesStartupBenchmark",
        "bugzilla_id": 1973516,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490418/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490418/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256038"
    },
    "phid": "PHID-DIFF-fq2rvtp7ntvhcbqvchw3",
    "review_task_id": "RWXxu0CuTDGb4se42vsDdw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "95e7ae86c2e2b2cd624acf0dc58a241fed0de3c8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078968/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T20:05:56.029996Z"
}