List and retrieve diffs with detailed revision information

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

{
    "id": 1075299,
    "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-3tkbv24qubluiv6jcjno",
    "review_task_id": "Z1ixgPEuQWywtSvReHevdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "60c70b144dbeba8946f2f07b69b0926b55e1a88a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075299/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T16:39:06.132055Z"
}