List and retrieve diffs with detailed revision information

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

{
    "id": 1077450,
    "revision": {
        "id": 476278,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c09d115633841b5ef3fee1acaac3d43728aab2ce",
        "head_changeset": "1664b77c19e5156b9d13843b11b073335d229a21",
        "phabricator_id": 251113,
        "phabricator_phid": "PHID-DREV-5wxpwvth527j5izaopyc",
        "title": "Bug 1968408 - Enable MARS API Integration by default",
        "bugzilla_id": 1968408,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476278/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476278/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251113"
    },
    "phid": "PHID-DIFF-sw34vvqk7rvgbnrp3jzm",
    "review_task_id": "We50UD05S0CBbqqvIspnTA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "87b8c5a61161895fe03dabf60421f9ea5639114a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077450/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T15:20:29.275256Z"
}