List and retrieve diffs with detailed revision information

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

{
    "id": 1048615,
    "revision": {
        "id": 476652,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "54690808a80d51937a6cc04e8bb4291fa8ccff7c",
        "head_changeset": "8aee03e47e85143aeffbfda9a496e11f4887daef",
        "phabricator_id": 250496,
        "phabricator_phid": "PHID-DREV-ldkwownkpxl2hd2jfmot",
        "title": "Bug 1967788 - Remove Pocket component tests - r=fchasen,kpatenio",
        "bugzilla_id": 1967788,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476652/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476652/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250496"
    },
    "phid": "PHID-DIFF-4kvrszwycck54utfyhiq",
    "review_task_id": "eTMt43QERYaTGIIXYyJfSg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bdb225d1cb8e82268ddbda1034599e739151f546",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048615/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T18:58:12.069407Z"
}