List and retrieve diffs with detailed revision information

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

{
    "id": 1072311,
    "revision": {
        "id": 473468,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4db38b990538769ac3123386adbb68d70239ea76",
        "head_changeset": "eb2f75fb0f3e6c81774c212d6ea3df295de28991",
        "phabricator_id": 246707,
        "phabricator_phid": "PHID-DREV-nw2t3jeobxyrnjsdu4fx",
        "title": "Bug 1946130: Switched the order in TimerThread::Run() to put the common case first r=smaug,#xpcom-reviewers",
        "bugzilla_id": 1946130,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473468/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473468/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246707"
    },
    "phid": "PHID-DIFF-5xggo6xokbm4ctmvewq5",
    "review_task_id": "BfZbIcHvSXu2eB7xn0YSeA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e1750a08f8a322522bb6fc1ec9707df046b34709",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072311/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:32:12.380689Z"
}