List and retrieve diffs with detailed revision information

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

{
    "id": 1076183,
    "revision": {
        "id": 489126,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92ff9ba926f0f5dd7d3ac01f7f8cf27b39c6ed7d",
        "head_changeset": "32902acdfb262edbe6cf624b572bcb330bcefbd0",
        "phabricator_id": 255682,
        "phabricator_phid": "PHID-DREV-frq33cbks4lqhggkpc4j",
        "title": "Bug 1571470 - update RTCRtpParameters-scalability-av1 expectations to PASS;r?dbaker",
        "bugzilla_id": 1571470,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489126/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489126/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255682"
    },
    "phid": "PHID-DIFF-z3hxdmxy4rff5jhj6tz6",
    "review_task_id": "Qd_N4VlvSY2rFU9u6f297A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "32902acdfb262edbe6cf624b572bcb330bcefbd0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076183/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T18:09:59.754602Z"
}