List and retrieve diffs with detailed revision information

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

{
    "id": 1077139,
    "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-hztamaf7ro24zyowkihw",
    "review_task_id": "Bv3eaQPZQHeYYnIRRUw1gw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ce0a4751b3d1010fb0f3a57145c4bbdaf17565e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077139/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T01:31:50.328660Z"
}