List and retrieve diffs with detailed revision information

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

{
    "id": 1072272,
    "revision": {
        "id": 485210,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "199c8abcb7a4bf24e87c7cc4d894a293f212c5db",
        "head_changeset": "4d25479ee671511e065042e5a8a1866140a1d21a",
        "phabricator_id": 253138,
        "phabricator_phid": "PHID-DREV-ytdm546gtuxfse4ofe7q",
        "title": "Bug 1971073 - Integrate the search selector in the home display toolbar r=#android-reviewers",
        "bugzilla_id": 1971073,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485210/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485210/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253138"
    },
    "phid": "PHID-DIFF-6abyhnbq5ej5tkwh3md7",
    "review_task_id": "GbUQhXxCQf2K9k1QyAf8Fw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4d25479ee671511e065042e5a8a1866140a1d21a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072272/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T14:39:44.970979Z"
}