List and retrieve diffs with detailed revision information

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

{
    "id": 1058982,
    "revision": {
        "id": 478402,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2867c8b1414626a26527d1ff494bc6fb2b264199",
        "head_changeset": "4bc1415281cb595f6af567979629b45ddb205637",
        "phabricator_id": 253626,
        "phabricator_phid": "PHID-DREV-qfwmfvdecc2ypjs3atcz",
        "title": "Bug 1971943 - Remove unused PrefsButton component from New Tab r=#home-newtab-reviewers",
        "bugzilla_id": 1971943,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478402/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478402/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253626"
    },
    "phid": "PHID-DIFF-asfdgx7vld57ntvmnlye",
    "review_task_id": "aRJ8v31ySCG9GTEz_0ob3Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0d2aa53d2cfe52a3adff78f28272a24afb27690d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058982/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T03:52:53.974171Z"
}