List and retrieve diffs with detailed revision information

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

{
    "id": 1076468,
    "revision": {
        "id": 475460,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "c5cf55d2b97d9ee9176731a147153365496b0c66",
        "phabricator_id": 249902,
        "phabricator_phid": "PHID-DREV-5gdhnaaxvc4n7jj64cxi",
        "title": "WIP: Bug 1961386 - Use InsertElementSorted in AddTimerInternal. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475460/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475460/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249902"
    },
    "phid": "PHID-DIFF-ladsmkxats4mi5h7oiwb",
    "review_task_id": "ErULZaWNRqSfx3wC5yhDEA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "893177e623fb7c28a473b0c27296c7766c87229b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076468/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T08:42:43.725289Z"
}