List and retrieve diffs with detailed revision information

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

{
    "id": 1054287,
    "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-wymystyfkmnttc2m5wtu",
    "review_task_id": "GnyOnAzBT5OSSDP4XhGVzA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db1c1bb6ee3fb767e4a281d2ce2d8bd1e2bd74ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054287/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T13:07:11.243348Z"
}