List and retrieve diffs with detailed revision information

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

{
    "id": 1056352,
    "revision": {
        "id": 478062,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "c43fc3ccbae13eaed7cec66688f856c97c258d7c",
        "phabricator_id": 253243,
        "phabricator_phid": "PHID-DREV-n53wshqmp3enpmpseace",
        "title": "Bug 1966952: Only enable JS execution timers during top level document loading. r=mgaudet!,smaug!",
        "bugzilla_id": 1966952,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478062/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478062/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253243"
    },
    "phid": "PHID-DIFF-li4zqpzfvnjk5qkvuc6e",
    "review_task_id": "J7pmMvy4Se6WTM41Ork9pw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e332fb18d244d7d41da9861cdefff8689d514dfc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056352/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T00:34:31.862844Z"
}