List and retrieve diffs with detailed revision information

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

{
    "id": 1072310,
    "revision": {
        "id": 473466,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4db38b990538769ac3123386adbb68d70239ea76",
        "head_changeset": "f96d3b29f6650326b6d968def176740ac08004d2",
        "phabricator_id": 246706,
        "phabricator_phid": "PHID-DREV-mnxfdd7macbakjf6efru",
        "title": "Bug 1946130: Moved TimerThread::Run() waiting into its own function r=smaug,#xpcom-reviewers",
        "bugzilla_id": 1946130,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473466/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473466/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246706"
    },
    "phid": "PHID-DIFF-g4ep2dwbnhol5dvzn7oi",
    "review_task_id": "TBFP3N7kRLCzjmU4Nib8dA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "805a0aaa6bf9afe8bd6b2b93a12815241dbc45ed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072310/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:33:42.447510Z"
}