List and retrieve diffs with detailed revision information

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

{
    "id": 1110531,
    "revision": {
        "id": 518680,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3109cc48fd95920c7d40587efd0e082ef203f304",
        "head_changeset": "891849d827b4c86d6268ae12bcbe4c36c4a63e5e",
        "phabricator_id": 262205,
        "phabricator_phid": "PHID-DREV-irbofd5wzexmjhpt3mwg",
        "title": "Bug 1984747: Enable Link Previews by default - r=Mardak",
        "bugzilla_id": 1984747,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518680/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518680/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262205"
    },
    "phid": "PHID-DIFF-tssuztvfvqq5yvmqbqoa",
    "review_task_id": "JVWw4ybfR12iZBgAFFnDiA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "891849d827b4c86d6268ae12bcbe4c36c4a63e5e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110531/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T21:51:42.172776Z"
}