List and retrieve diffs with detailed revision information

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

{
    "id": 1051707,
    "revision": {
        "id": 477219,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83282e03aeada23bfaffed73d63643c41fa21949",
        "head_changeset": "97273b75d208fe8b7f22112955c0e4941c5f96cd",
        "phabricator_id": 252308,
        "phabricator_phid": "PHID-DREV-7fymohsff3htunicfytk",
        "title": "Bug 1969871 - Extend the privatebrowsing-inc-origin-init test variant expiration for 6 months; r=jmaher",
        "bugzilla_id": 1969871,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477219/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477219/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252308"
    },
    "phid": "PHID-DIFF-hntmryggaewl6kcgvvl4",
    "review_task_id": "ZhTywZHhSHuwXGPPc4soZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "97273b75d208fe8b7f22112955c0e4941c5f96cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051707/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T11:10:09.281418Z"
}