List and retrieve diffs with detailed revision information

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

{
    "id": 1047045,
    "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-g5ffge5mreiqg4ablaet",
    "review_task_id": "CVGw0DW2Qg6mW5AlwWB2dw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c6033db7840d816f4813c64c503383869a86d13",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047045/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T08:55:01.983745Z"
}