List and retrieve diffs with detailed revision information

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

{
    "id": 1056867,
    "revision": {
        "id": 477703,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c561bc9149d6ae18070559012f3df43843b8ef14",
        "head_changeset": "db1c1bb6ee3fb767e4a281d2ce2d8bd1e2bd74ab",
        "phabricator_id": 252846,
        "phabricator_phid": "PHID-DREV-bxhmkicxocm6npzquctf",
        "title": "Bug 1970688 - Set the test.wait300msAfterTabSwitch pref in more tests failing on macosx1500-aarch64-shippable, r=jmaher.",
        "bugzilla_id": 1970688,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477703/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477703/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252846"
    },
    "phid": "PHID-DIFF-ibzoapcfvsvg64qocaqi",
    "review_task_id": "cqKS7bT8QoOSJ2wHgqUQIQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa619fdf8ffac2f8c241e08dd1a1fa4e2e1b4d03",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056867/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T15:57:20.890361Z"
}