List and retrieve diffs with detailed revision information

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

{
    "id": 1040405,
    "revision": {
        "id": 474545,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "09afffe3238b75cc457d89df7cbbaf9e170dc842",
        "head_changeset": "b7b4fc2dc0c9688d9b85ef6a218f711f2297a8bc",
        "phabricator_id": 248541,
        "phabricator_phid": "PHID-DREV-4kv277r4vh4rwk7dohzl",
        "title": "WIP: Bug 1960751 - Create Address Book View and Template and Step Subviews.",
        "bugzilla_id": 1960751,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474545/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474545/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248541"
    },
    "phid": "PHID-DIFF-mc5ilezw7gczojykn75r",
    "review_task_id": "SdguRXSpTGuwU99fxzbXZg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "86c475f191e9accafa0e11e243ece8fbcbccf7be",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040405/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T23:01:26.045380Z"
}