List and retrieve diffs with detailed revision information

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

{
    "id": 1049254,
    "revision": {
        "id": 476392,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b2bdca23e53e7010180c2190292eca609780f176",
        "head_changeset": "0c6033db7840d816f4813c64c503383869a86d13",
        "phabricator_id": 251319,
        "phabricator_phid": "PHID-DREV-svlgx5ls4ax2qlmb2nfn",
        "title": "Bug 1610315: Close sync iterator when async wrapper yields rejection. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1610315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476392/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476392/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251319"
    },
    "phid": "PHID-DIFF-2hva7642lm2ymb2cnaux",
    "review_task_id": "b1I5i__HTISSM3DARrgfLw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e90b809e64e81eca86d1f32a291c738365693a46",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049254/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T15:10:20.744578Z"
}