List and retrieve diffs with detailed revision information

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

{
    "id": 1110252,
    "revision": {
        "id": 492167,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "670c94edd18178e817bbcdbac33d80d23aed8415",
        "head_changeset": "1d28c39ea296ab734d99266df872cb15bff23529",
        "phabricator_id": 254048,
        "phabricator_phid": "PHID-DREV-vnlmq2pnks4l74cqqsan",
        "title": "Bug 1972623 - Remove code related to list feed and contexual content r=#home-newtab-reviewers",
        "bugzilla_id": 1972623,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492167/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492167/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254048"
    },
    "phid": "PHID-DIFF-6maljkh2pipsgmitubid",
    "review_task_id": "BUj63PRIQWGDou4LFooIyw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9690014bd7fbce3f51af87d4f9e82d203e6109c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110252/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T15:03:45.849569Z"
}