List and retrieve diffs with detailed revision information

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

{
    "id": 1080276,
    "revision": {
        "id": 491633,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "804476522e989ae086de9e062baeccb5cb07f55f",
        "phabricator_id": 256349,
        "phabricator_phid": "PHID-DREV-xag3qvypfcf7azb6okhq",
        "title": "Bug 1976042 - newtab MARS DELETE request should also go through OHTTP",
        "bugzilla_id": 1976042,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491633/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491633/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256349"
    },
    "phid": "PHID-DIFF-qbwsokwfmmb3267fwbnw",
    "review_task_id": "NxWek-YYQzOg41xZSAF1lA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2f9c237afa35404195d1e2fb654f38e36ab65eab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080276/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T17:00:30.776880Z"
}