List and retrieve diffs with detailed revision information

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

{
    "id": 1049202,
    "revision": {
        "id": 476757,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eba6ccc9d77d32176e8ac6d15d73028992c87d1b",
        "head_changeset": "a8bb7a167feaa0385254228d4fd80abd9f18f1f5",
        "phabricator_id": 251709,
        "phabricator_phid": "PHID-DREV-vg4age7yp7adqv773yr2",
        "title": "Bug 1968825 - package all browser component manifests so PlacesComponents.manifest is packaged and bookmarks import button and favicon size are correctly determined, r?#build",
        "bugzilla_id": 1968825,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476757/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476757/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251709"
    },
    "phid": "PHID-DIFF-z6csmpb6i4ygbjjwwmi7",
    "review_task_id": "eiPmwT-UTFa5tDTwa__W2A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a8bb7a167feaa0385254228d4fd80abd9f18f1f5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049202/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T13:33:56.364171Z"
}