List and retrieve diffs with detailed revision information

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

{
    "id": 1039611,
    "revision": {
        "id": 475670,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8a376fccf3844ad1f3d9c5418ace408e07e494b1",
        "head_changeset": "80f213f4373c745fa3241badd06ecf638daf4413",
        "phabricator_id": 250193,
        "phabricator_phid": "PHID-DREV-no3wrtdyeighieohhxci",
        "title": "Bug 1966657: Only run shell jobs if JS_ExecuteScript returns true; r=iain",
        "bugzilla_id": 1966657,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475670/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475670/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250193"
    },
    "phid": "PHID-DIFF-cphbp6m4aavzdq3vpnjf",
    "review_task_id": "b2pkMStZS8mt5zdnC3PdIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6326f2613881c62f1f88b9a7812e3f6db291941a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039611/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:27:28.401659Z"
}