List and retrieve diffs with detailed revision information

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

{
    "id": 1048887,
    "revision": {
        "id": 476713,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e9b55370c991759e97ada8cfe8684091b9927b6f",
        "head_changeset": "5870397c84428f29ce2e2ff215afd7d0f02ddf5f",
        "phabricator_id": 251667,
        "phabricator_phid": "PHID-DREV-4o7w5fxjrlec6tkiqn7j",
        "title": "Bug 1965746 - Migrate threading information to the new database. r=BenC,#thunderbird-back-end-reviewers",
        "bugzilla_id": 1965746,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476713/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476713/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251667"
    },
    "phid": "PHID-DIFF-b5towlq5iakwflw6cueb",
    "review_task_id": "a2QEMPk9QuehXh3H3CnXtg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0c2ed8c3d77a10e7c302f9de2bd9afb031447135",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048887/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T02:51:26.684965Z"
}