List and retrieve diffs with detailed revision information

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

{
    "id": 1112062,
    "revision": {
        "id": 521208,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a37191a700a57bfd3106810d13cccd2ca02c7982",
        "head_changeset": "dc82ae20d4c34cb4b20de51b41e84e8b2b1042e4",
        "phabricator_id": 262598,
        "phabricator_phid": "PHID-DREV-dtpikxxjhalhyjuf7p5e",
        "title": "Bug 1983857 - Follow-up: make sure newtab train-hop jobs have access to all mochitest-browser test manifests. r?jmaher!",
        "bugzilla_id": 1983857,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521208/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521208/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262598"
    },
    "phid": "PHID-DIFF-kjobchlveqfaryq7ys5b",
    "review_task_id": "bafoOLTKTzWoyXAPa7-Rtg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dc82ae20d4c34cb4b20de51b41e84e8b2b1042e4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112062/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T16:40:39.704924Z"
}