List and retrieve diffs with detailed revision information

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

{
    "id": 1056839,
    "revision": {
        "id": 477611,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2b64eef7a15587184414c0f2a3a553134a57cb0",
        "head_changeset": "daed813265b0df098a749ba3a11b79b8190e5962",
        "phabricator_id": 252713,
        "phabricator_phid": "PHID-DREV-wvfrylwmpah73qjqdwcr",
        "title": "Bug 1970688 - Set the test.wait300msAfterTabSwitch pref in tests failing on macosx1500-aarch64-shippable, r=jmaher.",
        "bugzilla_id": 1970688,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477611/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477611/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252713"
    },
    "phid": "PHID-DIFF-7bzszvhuffb5gdtwolhk",
    "review_task_id": "X90g5J6VR6WYsbGhfUCXSg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4c1ef881934a862b3dd14aaecf9d75d890ea4489",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056839/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T15:41:47.784227Z"
}