List and retrieve diffs with detailed revision information

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

{
    "id": 1073980,
    "revision": {
        "id": 486178,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8fdd4e7a1acc9b578b64660ab63d1c6199bdf89",
        "head_changeset": "eab852cff141f8bc3adeb4cf6ccf588581d78d64",
        "phabricator_id": 255241,
        "phabricator_phid": "PHID-DREV-ghsp5mdalkbt53yuf6ze",
        "title": "Bug 1974357 - Add telemetry to determine if %AppData% and %LocalAppData% fallbacks are still necessary. r=#win-reviewers",
        "bugzilla_id": 1974357,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486178/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486178/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255241"
    },
    "phid": "PHID-DIFF-kktarkfx45zwtjgigm4w",
    "review_task_id": "ECZISYxMSMOHvKdvivIzHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eab852cff141f8bc3adeb4cf6ccf588581d78d64",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073980/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T02:11:54.883883Z"
}