List and retrieve diffs with detailed revision information

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

{
    "id": 1036109,
    "revision": {
        "id": 474846,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "766ab507fb7435f4601719d3ac4c7da7d7a42b10",
        "head_changeset": "20471cfd87b17221ccca92e772c97b744ed89c09",
        "phabricator_id": 249020,
        "phabricator_phid": "PHID-DREV-yaa6yhhhdcrmgpdvkphu",
        "title": "Bug 1965948 - Add feature flag for card layout refinements. r=#home-newtab-reviewers",
        "bugzilla_id": 1965948,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474846/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474846/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249020"
    },
    "phid": "PHID-DIFF-3rqrga5zvoen5ycdnmmp",
    "review_task_id": "eQxDQN9rQhq8OgR4ueXa5Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58792d75b7f3c83fc724c56d66154fa037f49a19",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036109/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T04:53:45.867576Z"
}