List and retrieve diffs with detailed revision information

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

{
    "id": 1076773,
    "revision": {
        "id": 486720,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "03d087e84d286749ac345baee8715739b8a74738",
        "phabricator_id": 255306,
        "phabricator_phid": "PHID-DREV-cb4izgvk34dbwxjjhigl",
        "title": "Bug 1973033 - Part 10: Don't sweep small buffer regions that don't contain tenured allocations in nursery collections r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486720/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486720/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255306"
    },
    "phid": "PHID-DIFF-q4heifb2svksi4l3x5jq",
    "review_task_id": "RmkFUPO3QhikBf2sRq1JAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8a00daf4568d6632d1b55d53bcac4204c73fc109",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076773/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T15:25:09.382703Z"
}