List and retrieve diffs with detailed revision information

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

{
    "id": 1073982,
    "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-h7ebvp6kzfmbesdqyvkw",
    "review_task_id": "M74Q5-Y5S0-hB2dGtiC6Bg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "49ca3dd18ecb5ca5b1ae11a205fdec60d6915d4e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073982/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T02:25:26.766880Z"
}