List and retrieve diffs with detailed revision information

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

{
    "id": 1051582,
    "revision": {
        "id": 477190,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "800ae3ebf1223944b917d9bb67e13e082082f750",
        "head_changeset": "8aa4b86fd9d41e4363ddb745aec949d6d4066fdc",
        "phabricator_id": 252219,
        "phabricator_phid": "PHID-DREV-57pmunfkio4rl6l35dgj",
        "title": "Bug 1969150 - Design fix-ups for cards UI update. r=#home-newtab-reviewers",
        "bugzilla_id": 1969150,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477190/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477190/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252219"
    },
    "phid": "PHID-DIFF-5slaolg535qa2mrnp3yl",
    "review_task_id": "SuqOGs3kTbqT-K_2SdNLbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8aa4b86fd9d41e4363ddb745aec949d6d4066fdc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051582/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T04:06:03.082437Z"
}