List and retrieve diffs with detailed revision information

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

{
    "id": 1082288,
    "revision": {
        "id": 494951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0320c24dfe3214d5e2c61af6003ddb0929954ef4",
        "head_changeset": "8f9bbc3ea7502f343416d4aca639d70ef6896fe7",
        "phabricator_id": 257136,
        "phabricator_phid": "PHID-DREV-wlk57fjd6sqxx2pwf3pu",
        "title": "Bug 1977075 - Update test expectations for webdriver/tests/bidi/browser/create_user_context/unhandled_prompt_behavior.py on Android.",
        "bugzilla_id": 1977075,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257136"
    },
    "phid": "PHID-DIFF-o244lmtsjd76if3x4hm4",
    "review_task_id": "MJYRZM_bSGaQoEs79IA_mw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8f9bbc3ea7502f343416d4aca639d70ef6896fe7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082288/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T09:57:36.587884Z"
}