List and retrieve diffs with detailed revision information

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

{
    "id": 1052031,
    "revision": {
        "id": 477266,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "964b74547e49f173c01dd9b770c0acdc5bb2cc3d",
        "head_changeset": "9e6a66d4158e715f469555486186095bec6bcdaa",
        "phabricator_id": 252358,
        "phabricator_phid": "PHID-DREV-yrq236rfwvcp3mqnnd6s",
        "title": "Bug 1970161 - Part 4: Implement Intl.Locale.prototype.variants accessor. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1970161,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477266/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477266/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252358"
    },
    "phid": "PHID-DIFF-2mvwe6phuwkq6mvu7n55",
    "review_task_id": "XJqVk8TTRD2ca0389nbWrw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9e6a66d4158e715f469555486186095bec6bcdaa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052031/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T17:08:46.141982Z"
}